Compilation error

Hello,
this is my first time trying to compile the quake 3 engine.

I get a lot of compilation error:
relocation R_X86_64_32 against `.rodata’ can not be used when making a PIE object; recompile with -fPIE

Where in the Makefile should I put the -fPIE flag? I did try lot of places, wothout any success :frowning:

Please help a newcomer!!!

Sorry I did solve my problem by myself.

I did remove the build directory and issued “make” again… this time it worked.

Maybe the results of a previous compilation…

thanks.

1 Like

Glad you got it working and thank you for posting the solution for the next person who has this problem!