[uClibc] `__uClibc_start_main' problem

Shu-Liang Lee shuliang at ms8.hinet.net
Wed Oct 20 12:34:44 UTC 2004


Hello ...
 
CFLAG = ... -L/usr/local/armeb/lib -lpthread -lstdc++ -ldl -static ...
 
build static link application and add complier flag "-static"
 
I got something wrong, but dynamic link is ok!, why?
 
/usr/local/armeb/lib/libc.a(__uClibc_main.o)(.text+0x17c): In function
`__uClibc_start_main':
: undefined reference to `main'
collect2: ld returned 1 exit status
make: ***
[/home/shuliang/workdir/wifiphone/app_prj/wifiphone/linux/prod/phone]
Error 1
[root at ShuLiang linux]#

I checked the website about the question, it seems like the uclibc
problem?? I am not sure...
I already download and upgrade from
<http://uclibc.org/cgi-bin/cvsweb/toolchain/>
http://uclibc.org/cgi-bin/cvsweb/toolchain/
 
but the problem still happen.
 
How to check my uclibc version and this question? Please give me some
ideas?
 
Thanks and urgent...please kindly to concern.
 
Regards,
ShuLiang 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20041020/849cc2c0/attachment-0002.htm 


More information about the uClibc mailing list