I tried compiling latest cvs sources for Palm viewer under cygwin (prc-tools 2.2, pilrc2.9p5, SDK 5.0).
I described my struggle here: http://blog.kowalczyk.info/archives/000341.html#000341 Executive summary is: 1. viewer doesn't compile if newest version of automake/autoconf is used. The following patch forces using "stable" (according to cygwin terminology) version of automake (v1.4-p5) and autoconf (2.13). This fix shouldn't have adverse effects on other platforms. Index: configure.in =================================================================== RCS file: /cvs/plucker/plucker_src/viewer/configure.in,v retrieving revision 1.91 diff -u -r1.91 configure.in --- configure.in 21 Mar 2003 13:00:11 -0000 1.91 +++ configure.in 30 Mar 2003 22:51:24 -0000 @@ -14,7 +14,7 @@ AC_SUBST(PACKAGE) - +AC_PREREQ(2.13) dnl ============================== dnl Path to source directories 2. for some reason, when Palm OS headers include <Font.h>, header file from viewer sources is picked up. Looks like -I with this particular combination of tools gives precedence for the include path over -isystem. I've hacked it like this: Index: Makefile.in =================================================================== RCS file: /cvs/plucker/plucker_src/viewer/Makefile.in,v retrieving revision 1.77 diff -u -r1.77 Makefile.in --- Makefile.in 27 Feb 2003 12:19:23 -0000 1.77 +++ Makefile.in 30 Mar 2003 22:51:23 -0000 @@ -37,7 +37,7 @@ DEBUG = -g @DEBUG_LABELS@ DEFS = -DNEWGCC @EXTRA_DEFINES@ @ERROR_LEVEL@ @DEFS@ $(DEBUG_LOG) -CFLAGS = -Werror -Wall -O2 -I. -I$(srcdir) -I$(srcdir)/$(ZLIBDIR) @CFLAGS@ $(SDK_CFLAGS) +CFLAGS = -Werror -Wall -O2 -isystem . -I$(srcdir)/$(ZLIBDIR) @CFLAGS@ $(SDK_CFLAGS) LIBS = -lPalmOSGlue GCC = @M68K_GCC@ I'm not convinced that this is good solution but the only "clean" fix that I can think of is renaming Font.c/Font.h so that they don't collide with Font.h from SDK. I also failed to compile under RedHat 8.0 for different reasons that I wasn't persistent enough to track. Resulting viewer_en.prc made Simulator 5.2 complain about stuff (although emulator 3.5 doesn't). Would you guys be willing to apply the patch for the problem 1. and figure out a non-hacky solution to problem 2. (John Marshall might provide more insight into why this thing might be happening). -- kjk _______________________________________________ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
