This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newlib build error on ix86-linux


Jose Miguel Goncalves wrote:
J. Johnston wrote:


Jose, I have posted a number of patches to sourceware. Newlib for x86-linux
builds both on my newer and older version of glibc. Update your sources
from the latest repository and try it out.


-- Jeff J.


Jeff,


It still does not build on my system. Nevertheless, it goes further on the compilation. It now stops on:

gcc -I/home/jmpg/newlib-cvs/build/i686-pc-linux-gnu/newlib/targ-include -I/home/jmpg/newlib-cvs/src/newlib/./libc/include -DPACKAGE=\"newlib\" -DVERSION=\"1.11.0\" -I. -I/home/jmpg/newlib-cvs/src/newlib/libc/sys/linux/iconv -DGCONV_DIR=\"/usr/local/newlib/lib/newlib\" -DGCONV_PATH=\"/usr/local/newlib/lib/newlib\" -I/home/jmpg/newlib-cvs/src/newlib/libc/sys/linux/iconv -I/home/jmpg/newlib-cvs/src/newlib/libc/sys/linux/iconv/.. -O2 -DMB_CAPABLE -Wall -D_I386MACH_ALLOW_HW_INTERRUPTS -D_LOOSE_KERNEL_NAMES -DHAVE_FCNTL -DWANT_IO_POS_ARGS -DWANT_IO_LONG_DBL -fPIC -D_I386MACH_NEED_SOTYPE_FUNCTION -DMISSING_SYSCALL_NAMES -fno-builtin -O2 -g -O2 -O2 -g -O2 -c /home/jmpg/newlib-cvs/src/newlib/libc/sys/linux/iconv/gconv_dl.c -fPIC -DPIC -o .libs/gconv_dl.o
In file included from /home/jmpg/newlib-cvs/src/newlib/libc/include/search.h:14,
from /home/jmpg/newlib-cvs/src/newlib/libc/sys/linux/iconv/gconv_dl.c:23:
/home/jmpg/newlib-cvs/build/i686-pc-linux-gnu/newlib/targ-include/sys/types.h:142: warning: redefinition of `off_t'
/usr/include/linux/types.h:14: warning: `off_t' previously declared here
/home/jmpg/newlib-cvs/src/newlib/libc/sys/linux/iconv/gconv_dl.c:28:18: ltdl.h: No such file or directory
make[6]: *** [gconv_dl.lo] Error 1


Jose


Jeff,


Forget my last e-mail.
I've solved the problem. I didn't have the libtool development package installed.
Thanks for your great support.


Jose Goncalves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]