Newsgroup: it.comp.os.linux.iniziare
Titolo: C compiler cannot create executables

Suse 9.1 personal edition
Ston cercando di installare il modem speedtouch 330 USB (quello rosso)
Sto seguendo le istruzioni reoeribili al seguente link
http://www.xs4all.nl/~pschram/english.html
Ma, al punto 4, quando inserisco il comando
 ./configure
mi da il seguente messaggio di errore
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler
cannot create executables
See `config.log' for more details.
che posso fare? questo modem mi sta facendo disperare

> > See `config.log' for more details.
Scusa, ma il problema è che non sono molto pratico, e il config.log nn mi ha
chiarito le idee.
Proverò a ritrovarlo e a postare la parte che interessa

ecco il file config.log...io nn ci capisco molto
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by speedtouch configure 1.2-beta2, which was
generated by GNU Autoconf 2.57.  Invocation command line was
  $ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = linux
uname -m = i686
uname -r = 2.6.4-52-smp
uname -s = Linux
uname -v = #1 SMP Wed Apr 7 02:11:20 UTC 2004
/usr/bin/uname -p = unknown
/bin/uname -X     = unknown
/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/X11R6/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1318: checking build system type
configure:1336: result: i686-pc-linux-gnulibc1
configure:1344: checking host system type
configure:1358: result: i686-pc-linux-gnulibc1
configure:1413: checking for gcc
configure:1429: found /usr/bin/gcc
configure:1439: result: gcc
configure:1683: checking for C compiler version
configure:1686: gcc --version </dev/null >&5
gcc (GCC) 3.3.3 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:1689: $? = 0
configure:1691: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
Configured with:
../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/l
ocal --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,
c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj -
-with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zli
b --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.3 (SuSE Linux)
configure:1694: $? = 0
configure:1696: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1699: $? = 1
configure:1723: checking for C compiler default output
configure:1726: gcc    conftest.c  >&5
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:1729: $? = 1
configure: failed program was:
| #line 1702 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "speedtouch"
| #define PACKAGE_TARNAME "speedtouch"
| #define PACKAGE_VERSION "1.2-beta2"
| #define PACKAGE_STRING "speedtouch 1.2-beta2"
| #define PACKAGE_BUGREPORT "
speed...@ml.free.fr
"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:1768: error: C compiler cannot create executables


 crt1.o: No such file: No such file or directory
Da qui si vede che il problema è che manca il file "crt1.o" : a questo 
punto ti basta cercare con google (non so se suse ha dei comandi 
appositi, debian ha "apt-file search") in che pacchetto sta quel file.
Su debian si chiama libc6-dev, su suse dovrebbe chiamarsi glibc-devel, 
installalo e il problema sparirà.
Ciao, Paolo