chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Build problem


From: Reed Sheridan
Subject: [Chicken-users] Build problem
Date: Thu, 1 Dec 2005 22:33:44 -0600

The latest version from darcs doesn't build correctly.  I followed the
directions in README.darcs, as I have several times before, but I get
this error:


/bin/sh ./libtool --mode=link gcc  -Os -fomit-frame-pointer
-fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized
-DHAVE_ALLOCA_H -export-dynamic -o chicken-setup   chicken-setup.lo
libchicken.la -ldl -lpcre -lm  -ldl -lpcre -ldl -lpcre -lm
gcc -Os -fomit-frame-pointer -fno-strict-aliasing -Wall -Wno-unused
-Wno-uninitialized -DHAVE_ALLOCA_H -o .libs/chicken-setup
.libs/chicken-setup.o -Wl,--export-dynamic  ./.libs/libchicken.so -ldl
-lpcre -lm  -Wl,--rpath -Wl,/usr/local/lib
.libs/chicken-setup.o: In function `f_1435':
chicken-setup.c:(.text+0x7ea6): undefined reference to `C_posix_toplevel'
collect2: ld returned 1 exit status
make: *** [chicken-setup] Error 1

I found a workaround:
make posix (which had not been built at this point)

/bin/sh ./libtool --mode=link gcc  -Os -fomit-frame-pointer
-fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized
-DHAVE_ALLOCA_H -export-dynamic -o chicken-setup   chicken-setup.lo
libchicken.la posix.o -ldl -lpcre -lm  -ldl -lpcre -ldl -lpcre -lm
(copied and pasted from make output, but add posix.o to filenames)

make

It builds, but (require-extension posix) does not work in the new csi.

This is on Linux.

Reed Sheridan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]