[uClibc] Problems linking vs M5282

Jose Manuel Puga y Reparaz jmpuga at dycec.com
Tue May 18 09:11:33 UTC 2004


Hi to everybody:

I am trying to compile/link a multithread aplicattion to m5282 (It links
and run properly with my PC machine an Suse 9.0 distribution).

I am using kernel v2.4 (uClinux-dist-20040218.tar) using uClibc. When I
link I get the following error messages:

ejemploT.elf2flt: In function `pthread_initialize': 

/home/jmpuga/uClinux/uClinux-dist/uClibc/libpthread/linuxthreads/

pthread.c:314: undefined reference to `getpid' 

/home/jmpuga/uClinux/uClinux-dist/uClibc/libpthread/linuxthreads/

pthread.c:347: undefined reference to `getpagesize' 

/home/jmpuga/uClinux/uClinux-dist/uClibc/libpthread/linuxthreads/

pthread.c:347: undefined reference to `getpagesize' 

/home/jmpuga/uClinux/uClinux-dist/uClibc/libpthread/linuxthreads/

pthread.c:358: undefined reference to `sigemptyset' 

/home/jmpuga/uClinux/uClinux-dist/uClibc/libpthread/linuxthreads/

pthread.c:360: undefined reference to `__libc_sigaction' 

/home/jmpuga/uClinux/uClinux-dist/uClibc/libpthread/linuxthreads/

pthread.c:363: undefined reference to `__libc_sigaction' 

/home/jmpuga/uClinux/uClinux-dist/uClibc/libpthread/linuxthreads//

spinlock.c:300: undefined reference to `malloc' 

 

and much more.

Any one knows the .config options to activate/deactivate in uClibc in
order to recompile it and avoid the linking errors with my aplication.

Thank you very much.

J.M.Puga <mailto:J.M.Pugajmpuga at dycec.com> 

jmpuga at dycec.com 

 

 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20040518/19e037df/attachment-0001.htm 


More information about the uClibc mailing list