Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* NETPBM and OSF
@ 1996-04-24  4:00 Dana_Carson
  1996-04-25  4:00 ` Kaleb KEITHLEY
  0 siblings, 1 reply; 2+ messages in thread
From: Dana_Carson @ 1996-04-24  4:00 UTC (permalink / raw)


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. If I build with the compiler
options to force 32 bit pointers the program core dumps.
--
Dana Carson
net: carson@tron.bwi.wec.com     | 
AT&T: (410) 765-3513             |
WIN:  285-3513                   |




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: NETPBM and OSF
  1996-04-24  4:00 NETPBM and OSF Dana_Carson
@ 1996-04-25  4:00 ` Kaleb KEITHLEY
  0 siblings, 0 replies; 2+ messages in thread
From: Kaleb KEITHLEY @ 1996-04-25  4:00 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-04-25  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-24  4:00 NETPBM and OSF Dana_Carson
1996-04-25  4:00 ` Kaleb KEITHLEY

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