[uClibc]Locale and Nano
Erik Andersen
andersen at codepoet.org
Wed May 21 05:16:33 UTC 2003
On Wed May 21, 2003 at 12:14:32AM -0400, Dan Cardamore wrote:
> /home/dan/buildroot/build_i386/staging_dir/bin/i386-uclibc-gcc -g -O2
> -o nano cut.o files.o global.o move.o nano.o search.o utils.o winio.o
> -lncurses
> files.o: In function `open_file':
> /usr/include/sys/stat.h:353: undefined reference to `__xstat'
> files.o: In function `write_file':
You are using glibc header files, as the part above with
"/usr/include/sys/stat.h" is telling us, and the `__xstat'
glibc'ism confirms.
The culprit is that the nano Makefile seems to be adding
"-I/usr/include", which is completely hosing everything.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list