Dear Readers,
Can any of you get Gnu Common Lisp to compile on a Linux system? I'm trying to
compile GCL version 2.1 on a 486-based Linux system, running kernel version
1.2.13, using the Red Hat release 2.1 of Linux.
For what it's worth, here is what happened when I tried to compile it; at the
end are the contents of the /lib directory. I don't know what else would be
needed to fix GCL and make it go.
I love Linux and the Gnu people, but I'm growing gray before my years trying
to compile this program, and I would consider paying someone a modest but
reasonable consulting fee if they can help me get it going.
Many thanks, --Travis Porco
National Tuberculosis Program Office, UCSF
----------------------Session transcript---------------------------
./gcl-2.1/README
....<850+lines deleted to save space, --tcp>
./gcl-2.1/ChangeLog
using 386-linux.defs
#edit add-defs? could not find tk.tcl in /usr/lib/tk /public/lib/tk /usr/local/lib/tk /usr/lib/X11/tk
#edit add-defs? could not find X11/Xlib.h in /usr/include /public/X11/include /usr/X11/include /usr/X11R6/include /usr/openwin/include
adding TK_INCLUDE_DIR=-I/usr/include/tcl
adding TK_LIBS=-L/usr/lib -ltk
adding TCL_LIBS=-L/usr/lib -ltcl
adding X11_LIBS=-L/usr/X11R6/lib -lX11
adding EMACS_SITE_LISP=/usr/lib/emacs/site-lisp
adding INFO_DIR=/usr/info
inserting h/386-linux.defs in ..
makefile,
unixport/make_kcn,
bin/makefile,
cmpnew/makefile,
comp/makefile,
doc/makefile,
dos/makefile,
gcl-tk/makefile,
go/makefile,
info/makefile,
lsp/makefile,
mp/makefile,
o/makefile,
unixport/makefile,
cat h/config.h | sed -e "1,/Begin for cmpincl/d" \
-e "/End for cmpinclude/,50000d" > tmpx
cat h/cmpincl1.h h/compbas.h h/enum.h h/object.h h/vs.h h/bds.h h/frame.h h/lex.h h/eval.h h/funlink.h h/att_ext.h h/compbas2.h h//compat.h h//cmponly.h >> tmpx
./xbin/move-if-changed mv tmpx h/cmpinclude.h
tmpx and h/cmpinclude.h were not the same.
ln tmpx h/cmpinclude.h
./xbin/move-if-changed ln h/cmpinclude.h o/cmpinclude.h
h/cmpinclude.h and o/cmpinclude.h were not the same.
ln h/cmpinclude.h o/cmpinclude.h
(cd bin; make all)
make[1]: Entering directory `/usr/local/gcl-2.1/bin'
....<more lines deleted, --tcp>
sgbc.c: In function `make_writable':
sgbc.c:1082: warning: implicit declaration of function `sgc_mprotect'
sgbc.c: In function `memprotect_handler':
sgbc.c:1099: dereferencing pointer to incomplete type
sgbc.c:1138: warning: label `END' defined but not used
sgbc.c: At top level:
sgbc.c:1144: warning: return-type defaults to `int'
sgbc.c: In function `sgc_mprotect':
sgbc.c:1154: warning: implicit declaration of function `FEerror'
sgbc.c:1154: warning: control reaches end of non-void function
sgbc.c: At top level:
sgbc.c:1162: warning: return-type defaults to `int'
sgbc.c: In function `fix_for_page_multiple':
sgbc.c:1184: warning: control reaches end of non-void function
sgbc.c: At top level:
sgbc.c:1188: warning: return-type defaults to `int'
sgbc.c: In function `memory_protect':
sgbc.c:1208: warning: `return' with no value, in function returning non-void
sgbc.c:1230: warning: control reaches end of non-void function
sgbc.c: At top level:
sgbc.c:1263: warning: return-type defaults to `int'
sgbc.c: In function `system_error':
sgbc.c:1263: warning: control reaches end of non-void function
gbc.c: At top level:
gbc.c:1317: warning: return-type defaults to `int'
gbc.c: In function `init_GBC':
gbc.c:1338: warning: control reaches end of non-void function
make[1]: *** [gbc.o] Error 1
make[1]: Leaving directory `/usr/local/gcl-2.1/o'
make: *** [all] Error 2
cpp libcom_err.so.2.0 libext2fs.so.2.0
ld-linux.so.1 libcurses.so.1 libm.so.5
ld-linux.so.1.7.5 libcurses.so.1.0.0 libm.so.5.0.0
ld.so libdl.so.1 libss.so.2
ld.so.1.7.5 libdl.so.1.7.5 libss.so.2.0
libc.so.5 libe2p.so.2 libtermcap.so.2
libc.so.5.0.9 libe2p.so.2.1 libtermcap.so.2.0.0
libcom_err.so.2 libext2fs.so.2 modules
-------------end.