Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: kaleb@x.org (Kaleb KEITHLEY)
Subject: Re: NETPBM and OSF
Date: 1996/04/25	[thread overview]
Message-ID: <kaleb.830457919@exalt> (raw)
In-Reply-To: DqDosv.48u@tron.bwi.wec.com

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 <X11/XWDFile.h> when possible.

--

Kaleb KEITHLEY
X Consortium




      reply	other threads:[~1996-04-25  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-24  4:00 NETPBM and OSF Dana_Carson
1996-04-25  4:00 ` Kaleb KEITHLEY [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox