On Thu, Jan 30, 2020 at 02:45:44PM +0000, Ekaitz at ElenQ Technology wrote: > Hi, > > I had some issues with the chicken compiler. I attach later the results of > the compilation. But the summary is the following: > > 1. I create a hello world chicken program > 2. Run the compiler: csc hello-world.scm > 3. Errors appear: libchicken.so: undefined reference to `log@GLIBC_2.29' > 4. If I get the gcc command that csc runs internally and remove the linking > of math (removing -lm) it compiles and runs perfectly. >
FWIW this works for me (with a slightly outdated Guix System): florian ~$ guix environment --ad-hoc chicken florian ~ [env]$ cd /tmp florian /tmp [env]$ cat a.scm (display (exp 2)) (newline) florian /tmp [env]$ csc a.scm florian /tmp [env]$ ./a 7.38905609893065 Is your program more complicated? I do not really know Chicken, maybe some GCC search path is wrong. Don’t know. Regards, Florian