[Image-SIG] compiling PIL on QNX 4.25

Adam Haberlach adam@newsnipple.com
Thu, 30 Aug 2001 12:30:35 -0700


On Thu, Aug 30, 2001 at 11:51:39AM -0700, Lance Held wrote:
> I'm attempting to compile PIL on QNX 4.25 using the Watcom 10.6 
> compiler.  I've successfully compiled and tested the library in 
> libImaging.  When I run "make python" (since QNX doesn't seem to support 
> dynamic linking), all the code seems to compile in that I end up with a 
> lib.a file, but I think it is failing at the linking stage.  It cannot find 
> libraries 'net', 'dir', and 'm'.  What are these and where should they be 
> on the QNX system (are they named differently on QNX?)?  I also get a lot 
> of warnings for undefined references.  I've included the output from "make 
> python" as an attachment to this post.  Any help will be greatly appreciated.

I'm having trouble compiling PIL on Solaris 8, myself.  I get similar errors.
Although I'm not having trouble finding the libraries, I end up with several
screens of linker output that ends with the following:

inflate                             0xf4        libImaging/libImaging.a(ZipDecode.o)
inflateInit_                        0xa0        libImaging/libImaging.a(ZipDecode.o)
inflateEnd                          0x494       libImaging/libImaging.a(ZipDecode.o)
<unknown>                           0x178       libImaging/libImaging.a(ZipEncode.o)
<unknown>                           0x17c       libImaging/libImaging.a(ZipEncode.o)
deflateInit2_                       0x1a0       libImaging/libImaging.a(ZipEncode.o)
deflate                             0x6a0       libImaging/libImaging.a(ZipEncode.o)
deflate                             0x760       libImaging/libImaging.a(ZipEncode.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make: *** [_imaging.so] Error 1


...for the life of me, I don't know what it means.

System Info:
gcc version 2.95.3 20010315 (release)

Python 2.1.1 (#1, Aug  6 2001, 12:18:02) 
[GCC 2.95.3 20010315 (release)] on sunos5

Sun Microsystems Inc.   SunOS 5.8       Generic February 2000



-- 
Adam Haberlach             | If you drive 10 miles to buy a powerball
adam@newsnipple.comm       | ticket, your chances of winning are 1/16
                           | as good as your chances of dying in a car
                           | crash before you get there.