[openamq-dev] Help on OpenAMQ Shared Libraries
Malinga
malingajava at yahoo.com
Thu Jul 12 08:14:04 CEST 2007
Hi,
Pls im having a big issue of accessing OpenAMQ C libraries via JNI. I
did that thing on 32 bit windows and it worked fine and even in the 32
bit linux. but now we migrated to 64 bit dual core linux (ubuntu). so in
there when im going to compile it it gave me a compilation error saying.
"amq_exchange.o: relocation R_X86_64_32 against `a local symbol' can not
be used when making a shared object; recompile with -fPIC"
So when i google it for while, i noticed that it required -fPIC flag.
and they recomd us to set the CFLAG (export CFALG=-fPIC) and compile it.
i did it with the before building OpenAMQ with the source. But still
giving me the same error. Can you lps help me on this because we are on
a tight deadline schedule.
Dev Env :
Ubuntu 64 bit on Intel 64
Eclipse 3.2 CDT
-Malinga
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openamq.org/pipermail/openamq-dev/attachments/20070711/b56311a2/attachment.htm
More information about the openamq-dev
mailing list