|
From: | Brandon J. Van Every |
Subject: | Re: [Chicken-users] eval.scm library.scm not handling Windows pathnames |
Date: | Fri, 09 Jun 2006 19:04:00 -0700 |
User-agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
felix winkelmann wrote:
On 6/10/06, Brandon J. Van Every <address@hidden> wrote:$ make -k Building C object boot/CMakeFiles/libchicken-boot.dir/eval.obj E:/devel/msys/chicken/boot/eval.c: In function `f_10497': E:/devel/msys/chicken/boot/eval.c:5942: error: `E' undeclared (first use in this function) E:/devel/msys/chicken/boot/eval.c:5942: error: (Each undeclared identifier is reported only once E:/devel/msys/chicken/boot/eval.c:5942: error: for each function it appears in.)Apparently, the command-line macro definition of C_INSTALL_LIB_HOME generates invalid syntax. It should be quoted in double-quotes to look like a string. make VERBOSE=1 will show the exact command-line passed to the C compiler, that'll show us what cmake generates. You might get away by just adding a pair of double-quotes around the pathname.
Everything appears to be already quoted properly. Is the code known to handle drive letters with colons correctly? I bet it's never been exercised for this.
Building C object boot/CMakeFiles/libchicken-boot.dir/eval.objE:/Dev-Cpp/bin/gcc.exe -IE:/devel/src/chicken -DHIERARCHICAL_INSTALL -DC_USE_C_DEFAULTS -DC_INSTALL_HOME="E:/Program Files/Chicken" -DC_INSTALL_BIN_HOME="E:/Program Files/Chicken/bin" -DC_INSTALL_INCLUDE_HOME="E:/Program Files/Chicken/include" -DC_INSTALL_LIB_HOME="E:/Program Files/Chicken/lib" -DHAVE_DIRECT_H -DHAVE_GCVT -DHAVE_STDINT_H -DHAVE_WINDOWS_H -DHAVE_LOADLIBRARY -DHAVE_GETPROCADDRESS -DHAVE_WINSOCK2_H -DHAVE_WS2TCPIP_H -DC_ENABLE_PTABLES -DC_STACK_GROWS_DOWNWARD=1 -DC_BUILDING_LIBCHICKEN -DC_NO_PIC_NO_DLL -o boot/CMakeFiles/libchicken-boot.dir/eval.obj -c E:/devel/msys/chicken/boot/eval.c
E:/devel/msys/chicken/boot/eval.c: In function `f_10497':E:/devel/msys/chicken/boot/eval.c:5942: error: `E' undeclared (first use in this function) E:/devel/msys/chicken/boot/eval.c:5942: error: (Each undeclared identifier is reported only once E:/devel/msys/chicken/boot/eval.c:5942: error: for each function it appears in.)
E:/devel/msys/chicken/boot/eval.c:5942: error: syntax error before ':' token make[2]: *** [boot/CMakeFiles/libchicken-boot.dir/eval.obj] Error 1 make[2]: Leaving directory `/e/devel/msys/chicken' make[1]: *** [boot/CMakeFiles/libchicken-boot.dir/all] Error 2 make[1]: Leaving directory `/e/devel/msys/chicken' make: *** [all] Error 2
[Prev in Thread] | Current Thread | [Next in Thread] |