[uClibc] compiling rpm tool

Linton lintonkjohn at yahoo.co.uk
Wed Jun 2 09:53:25 UTC 2004


hi ..

 While compiling an rpm tool. I encountered an error
 
./libdwarf/libdwarf.so: undefined reference to
`free at GLIBC_2.0'
../libelf/libelf.so: undefined reference to
`realloc at GLIBC_2.0'
../libdwarf/libdwarf.so: undefined reference to
`calloc at GLIBC_2.0'
../libdwarf/libdwarf.so: undefined reference to
`malloc at GLIBC_2.0'
collect2: ld returned 1 exit status
make[2]: *** [readelf] Error 1
make[2]: Leaving directory
`/misc/RPM/rpm-4.1.1/elfutils/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/misc/RPM/rpm-4.1.1/elfutils'
make: *** [all] Error 2

I am not understanding why it is refering to glibc,
how 
I could force it to refer to uclibc.
 I am attaching some log messages while  the configure
steps are carried.


checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc...
/root/toolchain/gcc-3.3.x/toolchain_i386/bin/i386-linux-uclibc-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether
/root/toolchain/gcc-3.3.x/toolchain_i386/bin/i386-linux-uclibc-gcc
accepts -g... yes
checking for
/root/toolchain/gcc-3.3.x/toolchain_i386/bin/i386-linux-uclibc-gcc
option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of
/root/toolchain/gcc-3.3.x/toolchain_i386/bin/i386-linux-uclibc-gcc...
gcc3
checking how to run the C preprocessor...
/root/toolchain/gcc-3.3.x/toolchain_i386/bin/i386-linux-uclibc-gcc
-E
checking for egrep... grep -E
checking whether
/root/toolchain/gcc-3.3.x/toolchain_i386/bin/i386-linux-uclibc-gcc
needs -traditional... no
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for ld used by GCC...
/root/toolchain/gcc-3.3.x/toolchain_i386/usr/i386-linux-uclibc/bin/ld
checking if the linker
(/root/toolchain/gcc-3.3.x/toolchain_i386/usr/i386-linux-uclibc/bin/ld)
is GNU ld... no
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for GNU gettext in libintl... yes
checking how to link with libintl...
/usr/local/lib/libintl.a /usr/local/lib/libc.a
checking for ranlib... ranlib
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking for special C compiler options needed for
large files... no
checking for _FILE_OFFSET_BITS value needed for large
files... 64
checking for _LARGE_FILES value needed for large
files... no

Kindly help me to solve this problem
Thanks in advance 
with regards
Linton


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 



More information about the uClibc mailing list