Tried addubg -fPIC to lines 39 and

LDDLFLAGS = -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2  
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64  
-mtune=generic -fPIC

and 1244

OPTIMIZE = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC

Still getting the same error.  Any suggestions?


[r...@pki OpenXPKI-0.9.1386]# make
gcc -c  -I. -I/usr/local/ssl/include -O2 -g -O2 -g -pipe -Wall  
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector  
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC    
-DVERSION=\"0.9.1386\" -DXS_VERSION=\"0.9.1386\" -fPIC  
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   OpenXPKI.c
Running Mkbootstrap for OpenXPKI ()
chmod 644 OpenXPKI.bs
rm -f blib/arch/auto/OpenXPKI/OpenXPKI.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC  
OpenXPKI.o  -o blib/arch/auto/OpenXPKI/OpenXPKI.so   \
            -L/usr/local/ssl/lib -lcrypto        \

/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(mem.o): relocation  
R_X86_64_32S against `a local symbol' can not be used when making a  
shared object; recompile with -fPIC
/usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/OpenXPKI/OpenXPKI.so] Error 1




------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to