linker problem with rc 2

Linux specific forum
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

linker problem with rc 2

Post 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
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

Re: linker problem with rc 2

Post by Brujah »

Found it. That happens when I use new compiler with old purebasic folder :D
infratec
Always Here
Always Here
Posts: 7577
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: linker problem with rc 2

Post 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
Post Reply