Hi, I’ve searched this forum, but I wasn’t lucky enough. I am trying to compile JOGL on my system, here the specs:
Debian GNU/Linux Unstable for AMD64
Sun JDK 5.0
Gcc 4.0.3
But at the end of the process I get:
c.build:
[echo] Output lib name = jogl
[cc] Starting dependency analysis for 10 files.
[cc] 10 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
[cc] Starting link
[cc] /usr/bin/ld: /usr/X11R6/lib64/libGL.a(glapi.o): relocation R_X86_64_32 against `a local symbol’ can not be used when making a shared object; recompile with -fPIC
[cc] /usr/X11R6/lib64/libGL.a: could not read symbols: Bad value
[cc] collect2: ld returned 1 exit status
I checked build.xml but under linux.amd64 configuration there is -fPIC, so I don’t know where this error is generating from…!
Please someone can help?
Best regards