> I'm running Suse Linux 7.2 on a Pentium, and I'm running the make > command in a Konsole window in KDE 1 using bash-2.05 if that makes a > difference.
My build worked ok here, but I had to gouge some of the DOS CR/LF pairs, and mangle the pragmas, but you can try the attached diff I made after 2 minutes of hacking on it. Perhaps you're getting stuffed on the CR/LF, because your system should definately know about those types. /d
diff -u palmpix.orig/palm.h palmpix.new/palm.h --- palmpix.orig/palm.h Fri Sep 28 13:10:08 2001 +++ palmpix.new/palm.h Wed Oct 3 10:26:47 2001 @@ -25,7 +25,7 @@ #ifdef __QNXNTO__ #include <_pack1.h> #else -#pragma pack(1); +#pragma pack(1) #endif #ifdef __GNUC__ @@ -112,5 +112,5 @@ #ifdef __QNXNTO__ #include <_packpop.h> #else -#pragma pack(); +#pragma pack() #endif diff -u palmpix.orig/palmpix.h palmpix.new/palmpix.h --- palmpix.orig/palmpix.h Fri Sep 28 13:10:57 2001 +++ palmpix.new/palmpix.h Wed Oct 3 10:26:47 2001 @@ -1,59 +1,59 @@ -/****************************************************************************** - * File: palmpix.h - * - * Copyright (C) 2001 Angus Ainslie <[EMAIL PROTECTED]> - * - * This is a part of a PalmPix Archimage.pdb database decoder - * - * This program is free software; you can redistribute it and/or modify - * it for use in non-commercial products. Any commercial use of this - * code or code derived from this code requires my permission. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - *****************************************************************************/ - -#ifdef __QNXNTO__ -#include <_pack1.h> -#else -#pragma pack(1); -#endif - -typedef struct pixHdr_tag { - UInt8 numRec; - UInt8 s0; // Always zero - UInt8 month; - UInt8 day; - UInt8 cent; - UInt8 year; - UInt8 hour; - UInt8 min; - UInt8 sec; - UInt8 resolution; // hires 1, lowres 2 - UInt16 w; - UInt16 h; - UInt16 thumbLen; //Size of the thumbnail following the name - UInt16 GRsize; - UInt8 sep0; - UInt16 Rsize; - UInt8 sep1; - UInt16 Bsize; - UInt8 sep2; - UInt16 GBsize; - UInt16 pad1; - UInt16 num; // hires 1200, lowres 300 - UInt8 resA[14]; - UInt8 zoom; - UInt16 s1; // Always 0x0102 - UInt8 resB[34]; - UInt16 dir[57]; -} pixHdr_t; - -#ifdef __QNXNTO__ -#include <_packpop.h> -#else -#pragma pack(); -#endif - +/****************************************************************************** + * File: palmpix.h + * + * Copyright (C) 2001 Angus Ainslie <[EMAIL PROTECTED]> + * + * This is a part of a PalmPix Archimage.pdb database decoder + * + * This program is free software; you can redistribute it and/or modify + * it for use in non-commercial products. Any commercial use of this + * code or code derived from this code requires my permission. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + *****************************************************************************/ + +#ifdef __QNXNTO__ +#include <_pack1.h> +#else +#pragma pack(1) +#endif + +typedef struct pixHdr_tag { + UInt8 numRec; + UInt8 s0; // Always zero + UInt8 month; + UInt8 day; + UInt8 cent; + UInt8 year; + UInt8 hour; + UInt8 min; + UInt8 sec; + UInt8 resolution; // hires 1, lowres 2 + UInt16 w; + UInt16 h; + UInt16 thumbLen; //Size of the thumbnail following the name + UInt16 GRsize; + UInt8 sep0; + UInt16 Rsize; + UInt8 sep1; + UInt16 Bsize; + UInt8 sep2; + UInt16 GBsize; + UInt16 pad1; + UInt16 num; // hires 1200, lowres 300 + UInt8 resA[14]; + UInt8 zoom; + UInt16 s1; // Always 0x0102 + UInt8 resB[34]; + UInt16 dir[57]; +} pixHdr_t; + +#ifdef __QNXNTO__ +#include <_packpop.h> +#else +#pragma pack() +#endif +