Hello,
When I try to compile 'Genius-TCAD-Open' with waf, I get an error:
[653/655] cxxprogram: ...
/usr/bin/ld: //usr/local/lib/libcgns.a(cgnslib.o): Compilation fails with “relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
//usr/local/lib/libcgns.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Is anybody know where needs to add the flag -fPIC in the wscript?
Regard, Andrey Osykin
Hello, When I try to compile 'Genius-TCAD-Open' with waf, I get an error:
[653/655] cxxprogram: ... /usr/bin/ld: //usr/local/lib/libcgns.a(cgnslib.o): Compilation fails with “relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC //usr/local/lib/libcgns.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status
Is anybody know where needs to add the flag -fPIC in the wscript? Regard, Andrey Osykin