2009-06-10 06:13:54 Linker error while compilation using a different tool chain
Abhin Xavier (INDIA)
Message: 75452
We are getting a compilation error with our application -
libcrypto.so: undefined reference to `___sysv_signal'
collect2: ld returned 1 exit status
on using a new tool chain.
Our appliaction was compiling fine with an older version of the tool chain. The tool chains used are-
blackfin-toolchain-uclinux-SVN.i386.tar.bz2 from
blackfin.uclinux.org/gf/project/toolchain/frs/?action=&_br_pkgrls_total=75&_br_pkgrls_page=2
blackfin-toolchain—linux-uclibc-SVN.i386.tar.bz2 from
blackfin.uclinux.org/gf/project/toolchain/frs/?action=&_br_pkgrls_total=75&_br_pkgrls_page=1
Any idea why this error occurs??
QuoteReplyEditDelete
2009-06-10 14:28:26 Re: Linker error while compilation using a different tool chain
Mike Frysinger (UNITED STATES)
Message: 75474
dont use the sysv_signal() function
QuoteReplyEditDelete
2009-06-11 01:56:25 Re: Linker error while compilation using a different tool chain
Abhin Xavier (INDIA)
Message: 75488
libcrypto.so is an open source lib, and i am not sure we can avoid the usage of sysv_signal() function.
Our application is referring to libcrypto.so and which in turn refers to sysv_signal() function. Can tool chain have the definition of sysv_signal() ?
The same application works with the old tool chain and the linker error occurs only with the new one.
PS: I have also compiled and generated the libcrypto with the new tool chain and used it with the application. Still I am getting the same linker error.
QuoteReplyEditDelete
2009-06-11 01:58:06 Re: Linker error while compilation using a different tool chain
Mike Frysinger (UNITED STATES)
Message: 75490
so fix libcrypto.so
QuoteReplyEditDelete
2009-06-11 04:41:47 Re: Linker error while compilation using a different tool chain
Abhin Xavier (INDIA)
Message: 75522
thank u...