Open GoogleCodeExporter opened 9 years ago
The makefile is linking against the 32 bit libraries. Search libGL.so in
command line:
find / -name libGL.so
then update in Makefile the line "-L/usr/lib" with the path where libGL.so is
located.
This happens because i'm not using a tool like cmake or automake. So you need
to manually update the makefile to match your system configuration.
Original comment by gabr...@arcadenea.com.ar
on 24 Sep 2013 at 2:52
Ok now I get this:
> g++ freedo/arm.o freedo/DiagPort.o freedo/quarz.o freedo/Clio.o
freedo/frame.o freedo/Madam.o freedo/vdlp.o freedo/_3do_sys.o freedo/bitop.o
freedo/DSP.o freedo/Iso.o freedo/SPORT.o freedo/XBUS.o freedo/filters/hq2x.o
freedo/filters/hq3x.o freedo/filters/hq4x.o freedo/filters/hqx_init.o video.o
sound.o cdrom.o input.o config.o main.o -o 3doemu -lSDL -lpthread -lm
-L/usr/lib/libGL.so.1.2.0 -lGLU -L/usr/lib/gcc/i486-linux-gnu/4.7 -L/usr/lib
-lstdc++
/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
/bin/ld: video.o: undefined reference to symbol 'glMatrixMode'
/bin/ld: note: 'glMatrixMode' is defined in DSO /usr/lib64/nvidia/libGL.so.1 so
try adding it to the linker command line
/usr/lib64/nvidia/libGL.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [3doemu] Error 1
$ file /usr/lib/libGL.so.1.2.0
/usr/lib/libGL.so.1.2.0: ELF 32-bit LSB shared object, Intel 80386, version 1
(SYSV), dynamically linked,
BuildID[sha1]=0x01dce6d7b2ad94c8ad6410c0106b43b25455712a, stripped
Original comment by dustin.m...@gmail.com
on 24 Sep 2013 at 10:48
Check if "-lGL -lGLU" are in the LIBS. If it doesn't work, add "-lglut" also.
Original comment by gabr...@arcadenea.com.ar
on 24 Sep 2013 at 11:49
Well I got it to compile in ubuntu 13.04 64bit without doing anything special.
I'm currently locked out of my Fedora installation because of some kernel
update conflicting with something.
Original comment by dustin.m...@gmail.com
on 26 Sep 2013 at 9:03
Nice!
Original comment by gabr...@arcadenea.com.ar
on 26 Sep 2013 at 9:21
Original issue reported on code.google.com by
dustin.m...@gmail.com
on 24 Sep 2013 at 6:15