bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compile error


From: Fabrice Gautier
Subject: Compile error
Date: Tue, 30 Jan 2001 03:58:08 +0100

Hi,

While compiling glibc, make fail when trying to build iconv:

Apparently there's a lot missing symbols in libc.so:

[...]/iconv/iconv_prog.o: In function `main':
[...]/iconv/iconv_prog.c:272: undefined reference to `close'
[...]/iconv/iconv_prog.c:221: undefined reference to `open'
[...]/iconv/iconv_prog.c:235: undefined reference to `__fxstat'
[...]/iconv/iconv_prog.c:241: undefined reference to `close'
[...]/iconv/iconv_prog.c:281: undefined reference to `close'
[...]/iconv/iconv_prog.o: In function `process_fd':
[...]/iconv/iconv_prog.c:465: undefined reference to `read'
[...]/iconv/iconv_prog.c:496: undefined reference to `read'
[...]/libc.so.6: undefined reference to `__dup'
[...]/libc.so.6: undefined reference to `utime'
[...]/libc.so.6: undefined reference to `__libc_fcntl'

and a lot more for libc.so.6...  (__read, __close, etc...)

(i have a full make.log somewhere if you want)


I did configure with
--build=i686-cygwin --host=i386-linux --prefix=/usr/local/cross-tools
--enable-add-ons --with-headers=/usr/local/src/linux/include
--disable-profile
(i tried too without --disable-profile, the same)

Well yes, I'm trying to cross-compile glibc-2.2.1  from cygwin to
i386-linux , is there possibly something wrong with that? (except that
nobody will ever use this.)

I'm using a cross gcc-2.95.2 by the way. I had some problems building
this one so may be there is a connection. I did configure gcc with
--with-newlib.

Kernel header are 2.2.18

Thanks,

-- 
Fabrice Gautier <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]