Re: [Chicken-users] undefined reference to `C_library_2csrfi_2d69_toplevel
I am getting the an error while compiling my program with -explicit-use. $ make gcc server.c scm_uv.c runtime.o library.o srfi-69.o uv/uv.a -Os -fomit-frame-pointer -fno-strict-aliasing -o server -lm /tmp/ccxRIoEH.o: In function `C_toplevel': server.c:(.text+0x689): undefined reference to `C_library_2csrfi_2d69_toplevel' srfi-69.o: In function `C_srfi_2d69_toplevel': srfi-69.c:(.text+0xf9a5): undefined reference to `C_library_2csrfi_2d69_toplevel' Here is my make file server: server.c scm_uv.c runtime.o library.o srfi-69.o uv/uv.a gcc server.c scm_uv.c runtime.o library.o srfi-69.o uv/uv.a -Os -fomit-frame-pointer -fno-strict-aliasing -o server -lm server.c: server.scm chicken server.scm -explicit-use -uses library,srfi-69 runtime.o: runtime.c library.c srfi-69.c Hi, Santosh! This is a bug in the processing of the -uses option. The documentation says it allows multiple arguments, split by ,, but that was actually wrong. This has been fixed in the git repository, but you can simply replace -uses library,srfi-69 with -uses library -uses srfi-69. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] undefined reference to `C_library_2csrfi_2d69_toplevel
Hi, Santosh! This is a bug in the processing of the -uses option. The documentation says it allows multiple arguments, split by ,, but that was actually wrong. This has been fixed in the git repository, but you can simply replace -uses library,srfi-69 with -uses library -uses srfi-69. Hi Felix, Thanks for the reply. The -uses library -uses srfi-69 option, doesn't work. Looks like a prob in srfi-69.c (just guessing). I will try the latest from git repo though. Thanks Santosh “The *young man* knows the rules but the *old man* knows the exceptions”. *Oliver Wendell Holmes* ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] undefined reference to `C_library_2csrfi_2d69_toplevel
From: Santosh Rajan santra...@gmail.com Subject: Re: [Chicken-users] undefined reference to `C_library_2csrfi_2d69_toplevel Date: Mon, 27 Jun 2011 14:43:07 +0530 Hi, Santosh! This is a bug in the processing of the -uses option. The documentation says it allows multiple arguments, split by ,, but that was actually wrong. This has been fixed in the git repository, but you can simply replace -uses library,srfi-69 with -uses library -uses srfi-69. Hi Felix, Thanks for the reply. The -uses library -uses srfi-69 option, doesn't work. Looks like a prob in srfi-69.c (just guessing). I will try the latest from git repo though. What error message are you getting? cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Taking the distributed egg repository into production
On Sat, Jun 18, 2011 at 08:52:40PM +0200, Peter Bex wrote: Hello everyone, The distributed egg repository system is now ready for production. We would like to make the switch to this system soon. For users, this should be a completely transparent change. This has now been done. All distributed eggs are now available to all users of Chicken. These are the following: chickumber combinator-birds dict easy-args freetds henrietta-cache hmac kalaha log5scm missbehave nomads pastiche pseudo-meta-egg-info sendfile srfi-71 ssql syslog tagged-netstring uri-dispatch versions There are also two eggs that will become available when a release is tagged; smsmatrix and server-test. Cheers, 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 ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] undefined reference to `C_library_2csrfi_2d69_toplevel
Hm. This looks like something got mixed up. srfi-69.c refers to a unit named library,srfi-69. Can you delete all the .o and .c files and build everything from scratch? How did you obtain srfi-69.c? Ya It works now. My bad. Must have messed up something while trying out something else. In between i tried to compile srfi-69 from srfi-69.scm. Still a newbie to chicken :) Thanks Santosh “The *young man* knows the rules but the *old man* knows the exceptions”. *Oliver Wendell Holmes* ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Taking the distributed egg repository into production
Peter Bex peter@xs4all.nl writes: This has now been done. All distributed eggs are now available to all users of Chicken. Thanks a lot, Peter! ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] undefined reference to `C_library_2csrfi_2d69_toplevel
Hi Felix, Thanks for the reply. The -uses library -uses srfi-69 option, doesn't work. Looks like a prob in srfi-69.c (just guessing). I will try the latest from git repo though. What error message are you getting? The first time i used -explicit-use -uses library,srfi-69 I got /tmp/ccxRIoEH.o: In function `C_toplevel': server.c:(.text+0x689): undefined reference to `C_library_2csrfi_2d69_toplevel' srfi-69.o: In function `C_srfi_2d69_toplevel': srfi-69.c:(.text+0xf9a5): undefined reference to `C_library_2csrfi_2d69_toplevel' Next I tried using -explicit-use -uses library -uses srfi-69 I got srfi-69.o: In function `C_srfi_2d69_toplevel': srfi-69.c:(.text+0xf9a5): undefined reference to `C_library_2csrfi_2d69_toplevel' The second time round the complaint about server.c is not there. “The *young man* knows the rules but the *old man* knows the exceptions”. *Oliver Wendell Holmes* ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] ANN: The `str#' macro
On Sat, Jun 25, 2011 at 2:59 PM, Kon Lovett konlov...@gmail.com wrote: Hi, Just added `str#' to the moremacros egg. It behaves like ## but for regular strings. Might be useful. (str# (+ 1 2) = #{(+ 1 2)}) = (+ 1 2) = 3 = (conc (+ 1 2) = (+ 1 2)) (str# (+ 1 2) = #(+ 1 2)) = (+ 1 2) = 3 = (conc (+ 1 2) = (+ 1 2)) (str# #{23}###{45}) = 23#45 = (conc 23 # 45) (Does not require data-structures to be imported even though conc is used.) Best Wishes, Kon Fi fa fo fum... I smell the blood of Ruby... --Stephen Sent from my Emacs ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Taking the distributed egg repository into production
Hi Peter and folks, On Mon, 27 Jun 2011 12:25:27 +0200 Peter Bex peter@xs4all.nl wrote: On Sat, Jun 18, 2011 at 08:52:40PM +0200, Peter Bex wrote: The distributed egg repository system is now ready for production. We would like to make the switch to this system soon. For users, this should be a completely transparent change. This has now been done. All distributed eggs are now available to all users of Chicken. Awesome! Excellent news. That's one small step for a man, one giant leap for CHICKEN. These are the following: chickumber combinator-birds dict easy-args freetds henrietta-cache hmac kalaha log5scm missbehave nomads pastiche pseudo-meta-egg-info sendfile srfi-71 ssql syslog tagged-netstring uri-dispatch versions There are also two eggs that will become available when a release is tagged; smsmatrix and server-test. I've tagged server-test. Thanks for the heads-up. Best wishes, Mario -- http://parenteses.org/mario ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users