[openamq-dev] Help on shared Object

Dmitri Tsyganov dmitri.tsyganov at dowjones.com
Fri Sep 14 19:01:39 CEST 2007


Thanks for the note, Martin!

I am not big AIX expert (yet ;)), but I don't think AIX has or need PIC.
It does like some other flags, though, like -brtl

Thanks,

Dmitri

On Fri, 2007-09-14 at 17:24 +0200, Martin Lucina wrote:
> Malinga, Dmitri,
> 
> dmitri.tsyganov at dowjones.com said:
> > Note: If you are on 64 bit platform (as I am), you may have to build
> > OpenAMQ libs and your library with -fPIC flag. 
> > To do that, please define 
> > 	CCDEFINES = -fPIC
> > 	CFLAGS = -fPIC
> > before building OpenAMQ. Make sure you are on version 1.2c4
> 
> You should be using -fPIC on all platforms, otherwise you will run into
> issues with global/static variables in the libraries which will cause
> the WireAPI to hang.
> 
> Regards,
> 
> -mato
> _______________________________________________
> openamq-dev mailing list
> openamq-dev at lists.openamq.org
> http://lists.openamq.org/mailman/listinfo/openamq-dev


More information about the openamq-dev mailing list