[uClibc] Enable support for shared libraries

wangge gus wangge_7 at hotmail.com
Wed May 12 09:37:58 UTC 2004


hi:
   I want to use uClibc on my target ,but when I chose "Enable support for 
shared libraries",some thing like that
   [*] Generate Position Independent Code (PIC)
   [*] Enable support for shared libraries
   [*] Compile native shared library loader
   [ ] Support ET_DYN in shared library loader
   [*] Native shared library loader 'ldd' support,
   unfortunately ,there are severl mistakes,
make -C ldso;
make[2]: Entering directory `/HHCF5272-LCD-IDE-R1/uClinux/uClibc/ldso/ldso'
m68k-elf-gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
 -Os  -Wa,--bitwise-or -I/HHCF5272-LCD-IDE-R1/uClinux/linux-2.4.x/include   
-msoft-float -fPIC 
-DUCLIBC_RUNTIME_PREFIX=\"/HHCF5272-LCD-IDE-R1/uClinux/uClibc/\" 
-fno-builtin -nostdinc -I../../ldso/include -I. -I../../include 
-I/usr/local/lib/gcc-lib/m68k-elf/2.95.3/include -I../libdl -c ldso.c -o 
ldso.o
In file included from ../../ldso/include/ldso.h:9,
                 from ldso.c:108:
../../ldso/include/ld_syscall.h: In function `_dl_getpid':
../../ldso/include/ld_syscall.h:131: `__NR_getpid' undeclared (first use in 
this function)
../../ldso/include/ld_syscall.h:131: (Each undeclared identifier is 
reported only once
../../ldso/include/ld_syscall.h:131: for each function it appears in.)
In file included from _dl_progname.h:2,
                 from ldso.c:156:
m68k/elfinterp.c: In function `_dl_linux_resolver':
m68k/elfinterp.c:72: warning: assignment makes pointer from integer without 
a cast
ldso.c: In function `_dl_boot':
ldso.c:219: warning: assignment from incompatible pointer type
make[2]: *** [ldso.o] Error 1
make[2]: Leaving directory `/HHCF5272-LCD-IDE-R1/uClinux/uClibc/ldso/ldso'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/HHCF5272-LCD-IDE-R1/uClinux/uClibc/ldso'
make: *** [_dir_ldso] Error 2
   how can I do? 
   Thanks!
                                                                      
wangge_gus
			                                              2004.5.12

_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn  




More information about the uClibc mailing list