Search found 2 matches

by javar
Sat May 25, 2019 4:37 am
Forum: Beginners Help
Topic: [SOLVED] Can I recompile all of the .o source objects?
Replies: 1
Views: 1054

Re: Can I recompile all of the .o source objects?

I did `make clean` then make with CXXFLAGS= -fPIC and that fixed it.
by javar
Sat May 25, 2019 4:14 am
Forum: Beginners Help
Topic: [SOLVED] Can I recompile all of the .o source objects?
Replies: 1
Views: 1054

[SOLVED] Can I recompile all of the .o source objects?

I'm using arch linux. My gcc is configured with --enable-default-pie. When I try to compile my .cpp file I get many errors from the .a library that say "relocation R_X86_64_325 against '.rodata' can not be used when making a PIE object; recompile with -fPIC" I have deleted the .a library a...