What's new

Entware toolchain problem

oldgringo

Regular Contributor
When I'm trying to compile some application based on entware toolchain, I always end up on this message:
Code:
/opt/entware-toolchain/lib/gcc/mipsel-linux-uclibc/4.6.3/../../../../mipsel-linux-uclibc/lib/libc.a(sigprocmask.os): In function `sigprocmask':
sigprocmask.c:(.text+0x0): multiple definition of `sigprocmask'
/opt/entware-toolchain/lib/gcc/mipsel-linux-uclibc/4.6.3/../../../../mipsel-linux-uclibc/lib/libpthread.a(pt-sigprocmask.os):pt-sigprocmask.c:(.text+0x0): first defined here
Is there any quick fix for it?
I found something like
Code:
-int sigprocmask(int how, const sigset_t * set, sigset_t * oldset)
+int weak_function sigprocmask(int how, const sigset_t * set, sigset_t * oldset)
but it's beyond my limits. ;)
Thanks for any help.
 
The most common reasons is:
  • broken definitions in program has to be compiled,
  • prorgam is not compatible with uClibc 0.9.32 and\or gcc 4.6.3 or it features, which is turned off.
 
I use the same program/setting with oleg's toolchain (from googlecode v5128) without any problem, but it's optimized for gcc 4.6.4. Is there any significant difference which I should be aware of? Any environment or compiler setting?
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top