[Ecls-list] Compiler broken?
Ralf Mattes
rm at mh-freiburg.de
Fri May 9 23:55:52 UTC 2008
Hello list,
while trying to compile usockets I get the following error:
;;; Note: Invoking external command:
;;; /usr/bin/gcc-4.1 -D_GNU_SOURCE -g -O2 -fPIC -fstrict-aliasing -Dlinux -O "-I/usr/include/" -w -c "/var/cache/common-lisp-controller/1111/ecl/local/LISP/usocket-svn/backend/sbcl.c" -o "/var/cache/common-lisp-controller/1111/ecl/local/LISP/usocket-svn/backend/sbcl.o"
/var/cache/common-lisp-controller/1111/ecl/local/LISP/usocket-svn/backend/sbcl.c: In function ‘L3read_select’:
/var/cache/common-lisp-controller/1111/ecl/local/LISP/usocket-svn/backend/sbcl.c:57: error: ‘union cl_lispunion’ has no member named ‘cons’
/var/cache/common-lisp-controller/1111/ecl/local/LISP/usocket-svn/backend/sbcl.c:60: error: ‘union cl_lispunion’ has no member named ‘cons’
/var/cache/common-lisp-controller/1111/ecl/local/LISP/usocket-svn/backend/sbcl.c:89: error: ‘union cl_lispunion’ has no member named ‘cons’
/var/cache/common-lisp-controller/1111/ecl/local/LISP/usocket-svn/backend/sbcl.c:93: error: ‘union cl_lispunion’ has no member named ‘cons’
As far as I can tell ECL should use smallcons - here's the configuration:
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--with-system-gmp=yes \
--enable-smallcons \
--with-tcp \
--with-clx \
--with-asdf \
--with-clos-streams \
--with-__thread \
--enable-unicode \
--with-x
According to ecl/object.h cl_lispunion only has a cons member when build
without smallcons enabled. Is this a compiler bug?
TIA Ralf Mattes
More information about the ecl-devel
mailing list