[uClibc]error building ldd.target

Brendan J Simon brendan.simon at ctam.com.au
Mon Jul 8 02:44:45 UTC 2002


I'm having trouble building ldd.target.  I get undefined references to 
__xstat & __fxstat.
I'm trying to build in a seperate directory to the source and install in 
another directory.  I don't know if this is the problem or not ?

Any ideas ???

/home/bjsimon/Aegis/Development/uclibc.0.9.12.0.C101/cyphernet/devel/bin/powerpc-uclibc-gcc 
-Wall -Os  -fno-builtin -nostdinc  
-I/home/bjsimon/Aegis/Development/uclibc.0.9.12.0.C101/cyphernet/build/ldso/util 
-I/home/bjsimon/Aegis/Development/uclibc.0.9.12.0.C101/cyphernet/build/include 
-I/home/bjsimon/Aegis/Development/uclibc.0.9.12.0.C101/src/ldso/util 
-I/home/bjsimon/Aegis/Development/uclibc.0.9.12.0.C101/src/include 
-iwithprefix include -I. -D_LIBC  -DNDEBUG  -fPIC -D_LIBC_REENTRANT 
-Wl,-s -DUCLIBC_TARGET_PREFIX=\"/\" \
    
-DUCLIBC_DEVEL_PREFIX=\"/home/bjsimon/Aegis/Development/uclibc.0.9.12.0.C101/cyphernet/devel\" 
\
    
-DUCLIBC_BUILD_DIR=\"/home/bjsimon/Aegis/Development/uclibc.0.9.12.0.C101/cyphernet/build\" 
\
    -DUCLIBC_LDSO=\"ld-uClibc.so.0\" \
    -o ldd.target 
/home/bjsimon/Aegis/Development/uclibc.0.9.12.0.C101/src/ldso/util/ldd.c
/tmp/cc0l0XqR.o: In function `search_for_named_library':
/tmp/cc0l0XqR.o(.text+0x530): undefined reference to `__xstat'
/tmp/cc0l0XqR.o: In function `locate_library_file':
/tmp/cc0l0XqR.o(.text+0x5c8): undefined reference to `__xstat'
/tmp/cc0l0XqR.o: In function `find_dependancies':
/tmp/cc0l0XqR.o(.text+0xc30): undefined reference to `__fxstat'

Cheers,
Brendan Simon.





More information about the uClibc mailing list