On Wed, 25 Feb 2004, Brad Cavanagh wrote:
> I've switched back to gcc3.3 and it now compiles EMS, but now fails on
> dtask:
>
> cd libraries/pcs/dtask \
> && make>make.log && make install-manifest>>make.log
> dts_setsig.c:243: error: conflicting types for `dtask_sighdlr'
> dts_setsig.c:81: error: previous declaration of `dtask_sighdlr'
> dts_setsig.c: In function `dtask_sighdlr':
> dts_setsig.c:332: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> make[2]: *** [dts_setsig.lo] Error 1
> make[1]: *** [all] Error 2
> make: *** [/Users/bradcavanagh/development/starbuild/manifests/dtask] Error 2
Okay, I've patched dts_setsig.c so that this step proceeds fine. I'll
email the patch to Norman privately. The documentation for sigaction
strongly suggests that the patch should work for both Linux and OS X (it
looks like BSD systems are a little more anal about prototyping than Linux
systems.
However, now make fails on HLP due to a dynamic library problem (the root
cause of which is the libtool issue). Tim feels that getting rid of
dynamic libraries will do the trick, as lsthlp built just fine when we
removed the dynamic libraries in libraries/hlp/.libs/. Is it possible to
switch to static libraries? This would definitely fix all of the libtool
issues I've been having the past few days.
Cheers,
Brad.
|