[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] chicken build errors: illegal foreign type `nonnull-
From: |
Kon Lovett |
Subject: |
Re: [Chicken-users] chicken build errors: illegal foreign type `nonnull-blob', expected declaration or statement at end of input |
Date: |
Sat, 29 Sep 2007 07:32:02 -0700 |
On Sep 29, 2007, at 6:51 AM, Andre Kuehne wrote:
Hi!
Trying to build chicken/trunk i got this error:
make PLATFORM=linux PREFIX=/home/ak/usr
...
gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES
-I. \
-c -Os -fomit-frame-pointer \
-DC_BUILDING_LIBCHICKEN posixunix.c -o posixunix-static.o
/home/ak/usr/bin/chicken regex.scm -quiet -no-trace -optimize-level
2 -include-path . -explicit-use -output-file regex.c Warning:
global variable `g101' is never used
Warning: global variable `g102' is never used
Warning: global variable `g48' is never used
Warning: global variable `g49' is never used
Warning: global variable `g78' is never used
Warning: global variable `g79' is never used
Warning: global variable `g212' is never used
Warning: global variable `g213' is never used
Warning: global variable `g232' is never used
Warning: global variable `g233' is never used
These are a known annoyance.
Error: illegal foreign type `nonnull-blob'
byte-vector was deprecated but I have replace blob use w/ byte-vector.
make[1]: *** [regex.c] Error 1
make[1]: Leaving directory `/home/ak/my/dev/extern/chicken-eggs/
chicken/trunk'
make: *** [all] Error 2
Then after
make PLATFORM=linux PREFIX=/home/ak/usr clean
make PLATFORM=linux confclean
make PLATFORM=linux PREFIX=/home/ak/usr
i got this error:
gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES
-I. \
-c -Os -fomit-frame-pointer \
-DC_BUILDING_LIBCHICKEN -DPCRE_STATIC regex.c -o regex-
static.o
regex.c:240:54: warning: no newline at end of file
regex.c: In function 'stub484':
regex.c:240: error: expected declaration or statement at end of input
make[1]: *** [regex-static.o] Error 1
make[1]: Leaving directory `/home/ak/my/dev/extern/chicken-eggs/
chicken/trunk'
make: *** [all] Error 2
Any ideas?
Probably related to the blob problem.
An updated regex.scm is in the svn repo chicken/trunk.
Sorry, I get too aggressive w/ deprecated features,
Kon
uname -a
Linux disko 2.6.22-gentoo-r2 #5 PREEMPT Fri Sep 14 13:41:02 CEST
2007 i686 Intel(R) Pentium(R) M processor 1.73GHz GenuineIntel GNU/
Linux
gcc --version
gcc (GCC) 4.1.2 20070214 ( (gdc 0.23, using dmd 1.007)) (Gentoo
4.1.2 p1.0.1)
Best wishes
Andre
<chicken-config.h>
_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users