[Chicken-users] [Win32+VC8] Build problems: Stack overflow
Greetings, I'm trying to build chicken-scheme on Windows Vista 32 bit, with Visual Studio 8 SP1, from the command-line. After generating the makefile, NMake always fails at 40% progress with the following: [ 40%] Compiling C:/Users/Muhammad/chicken-2.6/match.scm to C:/Users/Muhammad/build-chicken-2.6/match.c Error: stack overflow Call history: syntax(begin (register-feature! (quote match))) syntax(register-feature! (quote match)) syntax(quote match) -- NMAKE : fatal error U1077: 'boot\chicken-boot.exe' : return code '0x46' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe' : return code '0x2' Stop. I tried editing the make file CMakeFiles/boot-c.dir/build.make to use a larger stack size when compiling this file, but modifications seem to have no effect--NMake isn't seeing them, so I'm doing it wrong somehow (possibly modifying the wrong file). Note that building from the IDE doesn't work either--I tried it first. It gets stuck in exporting stuff from/to utils.export IIRC. Any help would be greatly appreciated. -- Muhammad Haggag ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] ARM compilation problems
I'm trying to compile chicken 2.6 on my Zaurus with gcc 3.4.4. It gets fairly far along. /bin/sh ./libtool --mode=link gcc -Os -fomit-frame-pointer -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -DC_ENABLE_PTABLES -DC_NO_PIC_NO_DLL -export-dynamic -o chicken chicken.o support.o compiler.o optimizer.o c-platform.o c-backend.o batch-driver.o libchicken.la -lm -lm gcc -Os -fomit-frame-pointer -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -DC_ENABLE_PTABLES -DC_NO_PIC_NO_DLL -o .libs/chicken chicken.o support.o compiler.o optimizer.o c-platform.o c-backend.o batch-driver.o -Wl,--export-dynamic ./.libs/libchicken.so -lm chicken.o: In function `C_toplevel': chicken.c:(.text+0x50f4): undefined reference to `C_library_toplevel' ./.libs/libchicken.so: undefined reference to `dlerror' ./.libs/libchicken.so: undefined reference to `dlclose' ./.libs/libchicken.so: undefined reference to `dlopen' ./.libs/libchicken.so: undefined reference to `dlsym' collect2: ld returned 1 exit status make[1]: *** [chicken] Error 1 make[1]: Leaving directory `/media/cf/src/chicken-2.6' make: *** [all] Error 2 So I tried adding an -ldl (not sure if that makes sense to do...) [tosa][07:06:45 AM] gcc -Os -fomit-frame-pointer -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -DC_ENABLE_PTABLES -DC_NO_PIC_NO_DLL -o .libs/chicken chicken.o support.o compiler.o optimizer.o c-platform.o c-backend.o batch-driver.o -Wl,--export-dynamic ./.libs/libchicken.so -lm -ldl ./.libs/libchicken.so: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking chicken.o: In function `C_toplevel': chicken.c:(.text+0x50f4): undefined reference to `C_library_toplevel' /media/cf/packages/usr/bin/../lib/gcc/arm-linux/3.4.4/../../../libdl.a(dlopen.o): In function `dlopen': dlopen.c:(.text+0xc): undefined reference to `__dlopen' /media/cf/packages/usr/bin/../lib/gcc/arm-linux/3.4.4/../../../libdl.a(dlclose.o): In function `dlclose': dlclose.c:(.text+0x0): undefined reference to `__dlclose' /media/cf/packages/usr/bin/../lib/gcc/arm-linux/3.4.4/../../../libdl.a(dlsym.o): In function `dlsym': dlsym.c:(.text+0xc): undefined reference to `__dlsym' /media/cf/packages/usr/bin/../lib/gcc/arm-linux/3.4.4/../../../libdl.a(dlerror.o): In function `dlerror': dlerror.c:(.text+0x0): undefined reference to `__dlerror' collect2: ld returned 1 exit status ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] chicken with other makes than cmake
bryan rasmussen scripsit: compilation with other makes than cmake, problems experiences any useful tips? links to horror stories? CMake is not a make; it is a makefile generator like Imake or Autotools. After running CMake, you run make. Windows versions of CMake can also generate VS solution files. -- And through this revolting graveyard of the universe the muffled, maddening beating of drums, and thin, monotonous whine of blasphemous flutes from inconceivable, unlighted chambers beyond Time; the detestable pounding and piping whereunto dance slowly, awkwardly, and absurdly the gigantic tenebrous ultimate gods -- the blind, voiceless, mindless gargoyles whose soul is Nyarlathotep. (Lovecraft) John Cowan|[EMAIL PROTECTED]|ccil.org/~cowan ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] [Win32+VC8] Build problems: Stack overflow
Muhammad Haggag wrote: Greetings, I'm trying to build chicken-scheme on Windows Vista 32 bit, with Visual Studio 8 SP1, from the command-line. After generating the makefile, NMake always fails at 40% progress with the following: [ 40%] Compiling C:/Users/Muhammad/chicken-2.6/match.scm to C:/Users/Muhammad/build-chicken-2.6/match.c Error: stack overflow Call history: syntax(begin (register-feature! (quote match))) syntax(register-feature! (quote match)) syntax(quote match) -- NMAKE : fatal error U1077: 'boot\chicken-boot.exe' : return code '0x46' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe' : return code '0x2' Stop. I tried editing the make file CMakeFiles/boot-c.dir/build.make to use a larger stack size when compiling this file, but modifications seem to have no effect--NMake isn't seeing them, so I'm doing it wrong somehow (possibly modifying the wrong file). Note that building from the IDE doesn't work either--I tried it first. It gets stuck in exporting stuff from/to utils.export IIRC. Any help would be greatly appreciated. Hi Muhammad, I had the same problem with VS8 and used MinGW instead, which worked fine. I wrote up a wiki page on how to do if it helps. http://chicken.wiki.br/compiling-chicken-on-windows-xp-with-mingw Regards, Liam Clarke ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Spiffy bug
On Sat, Apr 21, 2007 at 07:03:00PM +0800, John Janecek wrote: if spiffy serves a webpage that has a JS redirect in it. It will get an error unable to write to socket. If the page is served repeatedly eventually the server just locks up. If you can produce a testcase, please open a ticket in the Chicken Trac system. (trac.callcc.org) Regards, Peter -- http://sjamaan.ath.cx -- The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music. -- Donald Knuth pgpdVa8f6jbEO.pgp Description: PGP signature ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] ARM compilation problems
Hi Shawn, On Sat, 21 Apr 2007 23:28:32 -0700 Shawn Rutledge [EMAIL PROTECTED] wrote: I'm trying to compile chicken 2.6 on my Zaurus with gcc 3.4.4. It gets fairly far along. /bin/sh ./libtool --mode=link gcc -Os -fomit-frame-pointer -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -DC_ENABLE_PTABLES -DC_NO_PIC_NO_DLL -export-dynamic -o chicken chicken.o support.o compiler.o optimizer.o c-platform.o c-backend.o batch-driver.o libchicken.la -lm -lm gcc -Os -fomit-frame-pointer -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -DC_ENABLE_PTABLES -DC_NO_PIC_NO_DLL -o .libs/chicken chicken.o support.o compiler.o optimizer.o c-platform.o c-backend.o batch-driver.o -Wl,--export-dynamic ./.libs/libchicken.so -lm chicken.o: In function `C_toplevel': chicken.c:(.text+0x50f4): undefined reference to `C_library_toplevel' ./.libs/libchicken.so: undefined reference to `dlerror' ./.libs/libchicken.so: undefined reference to `dlclose' ./.libs/libchicken.so: undefined reference to `dlopen' ./.libs/libchicken.so: undefined reference to `dlsym' collect2: ld returned 1 exit status make[1]: *** [chicken] Error 1 make[1]: Leaving directory `/media/cf/src/chicken-2.6' make: *** [all] Error 2 I've got similar errors: http://trac.callcc.org/ticket/181 Best wishes, Mario ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] ARM compilation problems
I see it's the same errors, but I was not using cmake as far as I know... just ran ./configure and then make. I wonder if it has to do with libraries being in strange places. I don't have the space to install the entire compiler etc. on the built-in flash (the root fs is only 32 megs) but OpenZaurus has a way of re-directing packages that are installed on a CF card, so that's what I did. hello world compiles and links fine. :-) Here are my libdl's: [tosa][07:06:45 AM] find / | grep libdl /lib/libdl-2.3.90.so /lib/libdl.so.2 /usr/lib/libdl.a /usr/lib/libdl.so /media/cf/packages/usr/lib/libdl.so /media/cf/packages/usr/lib/libdl.a and the ones in /lib and /usr/lib are symlinks to the ones in /media/cf/packages. So, is the compiler supposed to link with -ldl implicitly, and if so does it know where to look? And if I add the -ldl explicitly it still doesn't work - complains about those symbols starting with two underscores not being found. I wonder where those are defined? On 22 Apr 2007 11:04:11 -0300, Mario Domenech Goulart [EMAIL PROTECTED] wrote: Hi Shawn, On Sat, 21 Apr 2007 23:28:32 -0700 Shawn Rutledge [EMAIL PROTECTED] wrote: I'm trying to compile chicken 2.6 on my Zaurus with gcc 3.4.4. It gets fairly far along. /bin/sh ./libtool --mode=link gcc -Os -fomit-frame-pointer -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -DC_ENABLE_PTABLES -DC_NO_PIC_NO_DLL -export-dynamic -o chicken chicken.o support.o compiler.o optimizer.o c-platform.o c-backend.o batch-driver.o libchicken.la -lm -lm gcc -Os -fomit-frame-pointer -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -DC_ENABLE_PTABLES -DC_NO_PIC_NO_DLL -o .libs/chicken chicken.o support.o compiler.o optimizer.o c-platform.o c-backend.o batch-driver.o -Wl,--export-dynamic ./.libs/libchicken.so -lm chicken.o: In function `C_toplevel': chicken.c:(.text+0x50f4): undefined reference to `C_library_toplevel' ./.libs/libchicken.so: undefined reference to `dlerror' ./.libs/libchicken.so: undefined reference to `dlclose' ./.libs/libchicken.so: undefined reference to `dlopen' ./.libs/libchicken.so: undefined reference to `dlsym' collect2: ld returned 1 exit status make[1]: *** [chicken] Error 1 make[1]: Leaving directory `/media/cf/src/chicken-2.6' make: *** [all] Error 2 I've got similar errors: http://trac.callcc.org/ticket/181 Best wishes, Mario ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Debian Package
Hallo, On 4/22/07, Michael McDermott [EMAIL PROTECTED] wrote: Here is the release 2.6 package I created for my own system. Debian packages for the AMD64 architecture, version 2.6, are in: http://www.ventonegro.org/chicken/ Their version is 0.1 to allow a smooth upgrade when the official ones hit sid. Cheers, -- -alex http://www.ventonegro.org/ ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users