From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4ab8,44ca15e9a59b01b5 X-Google-Attributes: gidf4ab8,public X-Google-Thread: fee84,44ca15e9a59b01b5 X-Google-Attributes: gidfee84,public From: kaleb@x.org (Kaleb KEITHLEY) Subject: Re: NETPBM and OSF Date: 1996/04/25 Message-ID: #1/1 X-Deja-AN: 151441687 references: organization: X Consortium newsgroups: alt.graphics.pixutils,comp.unix.osf.osf1 carson@tron.bwi.wec.com (Dana_Carson) writes: >I'm trying to get the netpbm distribution running on a Digital Alpha >running OSF1 V3.2. It compiles and builds but seems to have a problem >with xwd (at least) files. It complains that >xwdtopnm: unknown XWD file version: 33554432 >but xwdtopnm on another machine can deal with the same xwd file fine. >Has anyone dealt with this problem and have patches for it? I assume >its a 64/32 bit problem on the Alpha. No, it's a 64/32 bit problem in the NetPBM source, which erroneously assumes that sizeof(long) == sizeof(int). >If I build with the compiler >options to force 32 bit pointers the program core dumps. It's not 64-bit pointers that's the problem. Fix netpbm/pnm/x11wd.h to use 32-bit values for everything. Better yet would be to use the X header file when possible. -- Kaleb KEITHLEY X Consortium