Gnu common lisp in Linux; cannot compile

Gnu common lisp in Linux; cannot compile

Post by Travis Por » Sun, 07 Apr 1996 04:00:00



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.

 
 
 

Gnu common lisp in Linux; cannot compile

Post by Benjamin Shult » Tue, 09 Apr 1996 04:00:00



> 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.

I have the same system and it works no problem.  All I did was follow the

That is a list where the GCL experts hang out.

Good luck,

--

Department of Mathematics       Phone:  (512) 471-7711 ext. 208
University of Texas at Austin   WWW:    http://www.ma.utexas.edu/users/bshults
Austin, TX  78712   USA         FAX:    (512) 471-9038 (attn: Benjamin Shults)

 
 
 

1. Problem installing GNU Common Lisp

Does anyone know where I go from here?

When I try to make GCL, it (eventually) exits with a linker error and
the following error messages:

--------------------------------------
ld: cannot open -lc: No such file or directory
make[1]: ***[raw_gcl] Error 1
make[1]: Leaving directory '/usr/local/gcl-2.1/unixport'
make: ***[all] Error 2
--------------------------------------

I need Common Lisp for a course I'm doing, and don't want to be forced
into using their Windows version, so any help would be much appreciated.

Thanks in advance

Peter

2. Xconfig: Prism VGA, MAG 17H 1152x900 *mine

3. GNU CLISP 2.27 release [ANSI Common Lisp implementation]

4. SyQuest SyJet drive support

5. Common Lisp for Linux?

6. Software development services offered

7. Common LISP for linux???

8. Security Logging Questions

9. linux poplog (pop11, prolog, common lisp, ml)

10. GCL Common Lisp Version 1.0 and Red Hat Linux 2.1

11. Austin Kyoto Common Lisp (AKCL) and Linux

12. Free common lisp for linux RedHat 6.0 with dumplisp capability