activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: Trying to use the new activemq-cpp makefiles, some issues remain for Solaris
Date Tue, 17 Oct 2006 20:43:07 GMT
Hum.. looks like it still setup to do .so builds perhaps if I switch to
doing .a builds things will work better.  I'll look into this a little
later.

On 10/17/06, Bish, Tim <Tim.Bish@sensis.com> wrote:
>
>
> Hiram.
>
> I've been hacking away trying to get a build on Solaris 10 using the
> newer automake stuff.  So far I've had some success but still can't
> build the library.
>
> There seems to be some issues with the way sun has set things up on the
> sun box. I had to hack up a libstdc++.la as described in this article.
> http://forum.sun.com/jive/thread.jspa?threadID=73150
>
> I deleted the old makefiles so that gmake could find the Makefile
> versions.
>
> I end up with this error on attempting to build the find library file.
>
> g++ -g -O2 -o .libs/example main.o  ../main/.libs/libactivemq-cpp.so
> /usr/sfw/lib/libstdc++.so -lc -L/usr/sfw/lib -lm -lpthread -luuid -Wl,-R
> -Wl,/usr/local/lib -Wl,-R -Wl,/usr/sfw/lib
> ld: warning: file /usr/sfw/lib/libstdc++.so: attempted multiple
> inclusion of file
> Undefined                       first referenced
> symbol                             in file
> nanosleep                           ../main/.libs/libactivemq-cpp.so
>
> I added an include of time.h to Thread.cpp which is the only code that
> uses nanosleep, and that doesn't seem to help.  According to the man
> nanosleep this is where it should come from on SUN.
>
> When I try and use the Solaris Compiler I get really crazy errors that
> don't seem to make any sense.
>
> Everything builds fine using the older Makefiles, so I think that the
> source code is okay.
>
> Any ideas?
>
>


-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message