Mail Archives: djgpp/1998/03/08/06:54:28
On Fri, 6 Mar 1998, Andrew Cottrell wrote:
> c:/djgpp/lib/libc.a(sigprocm.o)(.text+0x1b8):sigprocm.c: multiple
> definition of
> `sigpending'
> ../lib/libgthreads.a(signal.o)(.text+0x1940):signal.c: first defined
> here
It seems that this version of pthreads assumes that DJGPP doesn't have
the `sigpending' function and provides its own version. This
assumption is no longer true: DJGPP v2.01 has `sigpending' in its
library, and therefore the linker complains about double definition.
(The linker cannot avoid linking in `sigpending' because it is defined
on the same module as `sigprocmask'.)
A solution would be to define away the version that pthreads uses for
DJGPP. (Or maybe there is a version of pthreads which is compatible
with DJGPP v2.01.)
- Raw text -