undefined reference to `_IO_getc'

lylai lylai at csie.nctu.edu.tw
Thu Sep 27 14:31:53 CEST 2007


Can you help me a bit with this error?

/bin/sh ../../libtool --mode=link ucfront-gcc arm-linux-elf-gcc   -O2 -g
-fomit-frame-pointer -fno-common -fno-builtin -Wall  -mswp-byte-writes
-DCONFIG_NDS_ROM8BIT -mcpu=arm946e-s -mfpu=fpe3 -DEMBED -D__PIC__ -fpic
-msingle-pic-base -Dlinux -D__linux__ -Dunix -D__uClinux__ -Wall
-Wno-unused -Wno-comment -Wl,-elf2flt -D__PIC__ -fpic -msingle-pic-base
-mswp-byte-writes -o wml  wml.o -L. -lwml
mkdir .libs
ucfront-gcc arm-linux-elf-gcc -O2 -g -fomit-frame-pointer -fno-common
-fno-builtin -Wall -mswp-byte-writes -DCONFIG_NDS_ROM8BIT
-mcpu=arm946e-s -mfpu=fpe3 -DEMBED -D__PIC__ -fpic -msingle-pic-base
-Dlinux -D__linux__ -Dunix -D__uClinux__ -Wall -Wno-unused -Wno-comment
-Wl,-elf2flt -D__PIC__ -fpic -msingle-pic-base -mswp-byte-writes -o wml
wml.o  -L/home/fly/svn/dslinux/user/openMotif/src/tools/wml -lwml
wml.elf2flt: In function `yylex':
undefined reference to `_IO_getc'
collect2: ld returned 1 exit status
make[4]: *** [wml] Error 1

Another side question is that, a program I was trying to port would
execute an exe file it builds in the process to generate some files. How
should I deal with this?

Thank you for helping out.


More information about the dslinux-devel mailing list