Re: [hatari-devel] Jaguar emulator question

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Thanks Vincent,

but in makefile-qt, there's this line :

LIBS = $(SUBLIBS) -L/usr/lib/x86_64-linux-gnu -L/usr/X11R6/lib64 -lz -Lobj -ljaguarcore -lm68k `sdl-config --libs` -lQtOpenGL -lQtGui -lQtCore -lGLU -lGL -lpthread


-lz is already here.
There's no LDFLAGS in this file.
It still doesn't link for now.

Laurent



Le 09/03/2012 21:05, Vincent Rivière a écrit :
Laurent Sallafranque wrote:
/usr/bin/ld: obj/libjaguarcore.a(file.o): undefined reference to symbol
'gzclose'
/usr/bin/ld: note: 'gzclose' is defined in DSO
/usr/lib/x86_64-linux-gnu/libz.so so try adding it to the linker command line /usr/lib/x86_64-linux-gnu/libz.so: could not read symbols: Invalid operation

Just an idea, try to add -lz in LDFLAGS.

https://fedoraproject.org/wiki/UnderstandingDSOLinkChange





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/