[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] chicken-setup and cygwin: undefined references to "_C_"
From: |
Pierre-Alexandre Fournier |
Subject: |
[Chicken-users] chicken-setup and cygwin: undefined references to "_C_" functions |
Date: |
Tue, 11 Jan 2005 01:57:13 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030 |
Hi,
I've installed chicken-1.89 on cygwin (on windows), and csi seems to
work fine. Then when I try chicken-setup, I have this error:
$ chicken-setup.exe ftp
/usr/local/bin/csc -O2 -d0 -vs ftp.scm
/usr/local/bin/chicken ftp.scm -output-file ftp.c -dynamic -feature
chicken-compile-shared -quiet -optimize-level 2 -debug-level 0
Warning: global variable `ftp-connection-out-set!' is never used
Warning: global variable `ftp-connection-in-set!' is never used
Warning: global variable `ftp-connection-verbose-set!' is never used
gcc ftp.c -o ftp.o -Os -fomit-frame-pointer -fno-strict-aliasing -Wall
-Wno-unused -Wno-uninitialized -DHAVE_ALLOCA_H -D
C_STACK_GROWS_DOWNWARD=1
"-DC_INSTALL_LIB_HOME=\"/usr/local/lib/chicken\""
"-DC_INSTALL_HOME=\"/usr/local/share/chicken\
"" -DC_USE_C_DEFAULTS -fPIC -DPIC -DC_SHARED -c -DC_NO_PIC_NO_DLL
cc1: warning: -fPIC ignored for target (all code is position independent)
rm ftp.c
gcc -o ftp.dll ftp.o -lchicken -lsrfi-chicken -lstuffed-chicken -fPIC
-shared -L/usr/local/lib -Wl,-R/usr/local/lib -lm
/usr/local/lib/libstuffed-chicken.a(regex.o)(.text+0x11):regex.c:
undefined reference to `_C_c_pointer_or_null'
/usr/local/lib/libstuffed-chicken.a(regex.o)(.text+0x1a):regex.c:
undefined reference to `_C_string_or_null'
(...many lines like that...)
/usr/local/lib/libstuffed-chicken.a(extras.o)(.text+0x16432):extras.c:
undefined reference to `_C_apply'
/usr/local/lib/libstuffed-chicken.a(extras.o)(.text+0x16a33):extras.c:
undefined reference to `_C_restore_rest_vector'
/usr/local/lib/libstuffed-chicken.a(extras.o)(.text+0x16a52):extras.c:
undefined reference to `_C_i_vector_ref'
Info: resolving _C_temporary_stack by linking to
__imp__C_temporary_stack (auto-import)
Info: resolving _C_temporary_stack_bottom by linking to
__imp__C_temporary_stack_bottom (auto-import)
Info: resolving _C_stack_limit by linking to __imp__C_stack_limit
(auto-import)
Info: resolving _C_fromspace_top by linking to __imp__C_fromspace_top
(auto-import)
Info: resolving _C_fromspace_limit by linking to
__imp__C_fromspace_limit (auto-import)
Info: resolving _C_disable_overflow_check by linking to
__imp__C_disable_overflow_check (auto-import)
Info: resolving _C_timer_interrupt_counter by linking to
__imp__C_timer_interrupt_counter (auto-import)
collect2: ld returned 1 exit status
*** Shell command terminated with exit status 1: gcc -o ftp.dll ftp.o
-lchicken -lsrfi-chicken -lstuffed-chicken -fPIC -
shared -L/usr/local/lib -Wl,-R/usr/local/lib -lm
Error: shell invocation failed with non-zero return status
"/usr/local/bin/csc -O2 -d0 -vs ftp.scm"
1
(sorry for this long output)
I had the same error with all the eggs I've tried, so I assume something
is wrong with my installation. It seems like a file is not included
somewhere. Someone has an idea of what's going on? It doesn't do that on
GNU/Linux of course, so I assume it's platform related.
Thanks,
Pierre-Alexandre
- [Chicken-users] chicken-setup and cygwin: undefined references to "_C_" functions,
Pierre-Alexandre Fournier <=