I'm using ANT to compile some custom software that is dependent on
Crypto++. The compile seems to be fine, however during the linking
process I get the following error (see below) and I have no idea how
to proceed. Can anyone advise on this issue?
compile.util:
compile:
[echo] Compiling: util
[cc] Starting dependency analysis for 55 files.
[cc] 55 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
link.util:
link:
[echo] Linking shared library: libutil
[cc] 0 total files to be compiled.
[cc] Starting link
[cc] /usr/bin/ld: /home/john/softwarename/thirdparty/crypto/
5.6.1_64/libcryptopp.a(cryptlib.o): relocation R_X86_64_32 against
`CryptoPP::DEFAULT_CHANNEL' can not be used when making a shared
object; recompile with -fPIC
[cc] /home/john/softwarename/thirdparty/crypto/5.6.1_64/
libcryptopp.a: could not read symbols: Bad value
[cc] collect2: ld returned 1 exit status
BUILD FAILED
/home/john/softwarename/build/build.xml:167: Following error occured
while executing this line
/home/john/softwarename/build/link.xml:27: gcc failed with return code
1
--
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.