Page 1 of 1

linker problem with rc 2

Posted: Sat Oct 22, 2011 3:54 pm
by Brujah
this is what I get when I try to compiler our game with the new version:

Code: Select all

Error: Linker
/usr/bin/ld: /home/markus/purebasic/purelibraries/linux/libraries/libpbpng.a(pngwrite.o): undefined reference to symbol 'deflate'
/usr/bin/ld: note: 'deflate' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libz.so so try adding it to the linker command line
/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu/libz.so: could not read symbols: Invalid operation
collect2: ld gab 1 als Ende-Status zurück

Re: linker problem with rc 2

Posted: Sat Oct 22, 2011 4:08 pm
by Brujah
Found it. That happens when I use new compiler with old purebasic folder :D

Re: linker problem with rc 2

Posted: Wed Oct 26, 2011 8:33 am
by infratec
Hi Brujah,

I run into the same problem.

I have installed PB 4.60RC2 in a new directory and set a link purebasic->purebasic_4.60RC2.
So what do you mean exactly with 'new compiler in old folder' :?:

In my opinion I am completely in the new folder.

Best regards,

Bernd