>>>>> On Thu, 14 Sep 2006 11:22:12 +0200, José Miguel Gallardo Garrido said:
> 
> Hi,
> My config.log says:
> <snip>
> configure:1849: checking for C compiler version
> configure:1852: gcc --version </dev/null >&5
> gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
> Copyright (C) 2006 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:1855: $? =3D 0
> configure:1857: gcc -v </dev/null >&5
> Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
> Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man
> --infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-java-awt=3Dgtk
> --host=3Di386-redhat-linux
> Thread model: posix
> gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
> configure:1860: $? =3D 0
> configure:1862: gcc -V </dev/null >&5
> gcc: `-V' option must have argument
> configure:1865: $? =3D 1
> configure:1888: checking for C compiler default output file name
> configure:1891: gcc -g -O2 -Wall   conftest.c  >&5
> /lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
> collect2: ld returned 1 exit status
> configure:1894: $? =3D 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:1933: error: C compiler cannot create executables
> See `config.log' for more details.

Looks like a problem with the libraries on your system.  Was this a fresh
install of RH EL4 or an upgraded system?

It would be interesting to see the output from gcc with the -v option.
E.g. If you put the line

int main () { return 0; }

in a file foo.c and then do

gcc -v -g -O2 -Wall foo.c

Assuming that fails in the same way, it may give more info.

__Martin

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to