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

Trying to build Lisp.app



I got clispsrc.tar.gz from http://sayre.sysc.pdx.edu:8001/clisp/.  It
unpacks to clisp-1996-08-29.  I tried to build Lisp.app on my black
NeXT using the source and instructions in nextapp.

I followed nextapp/INSTALL.  Everything went smoothly, but the
Lisp.app build failed with some undefined symbols:

ld: Undefined symbols:
_vacall
_alloc_trampoline
_is_trampoline
_trampoline_address
_trampoline_variable
_trampoline_data
_free_trampoline
___structcpy
___builtin_avcall
___va_error2
___va_struct_buffer
___va_error1
_vacall_function
*** Exit 1
Stop.
*** Exit 1
Stop.

I was even less successful on an Intel NeXT.  The configure failed
with

test '!' -s tests.output.i386-next-nextstep3
gcc -O -c vacall-i386.s
vacall-i386.c:14:Alignment too large: 15. assumed.
vacall-i386.c:16:Unknown pseudo-op: .type
vacall-i386.c:16:Rest of line ignored. 1st junk character valued 118 (v).
vacall-i386.c:34:Alignment too large: 15. assumed.
...
vacall-i386.c:147:Unknown pseudo-op: .size
vacall-i386.c:147:Rest of line ignored. 1st junk character valued 118 (v).
make: *** [vacall-i386.o] Error 1

To continue building CLISP, the following commands are recommended
(cf. unix/INSTALL step 4):
    cd /private/Net/charon/research/plresearch/clisp/clisp-1996-08-29/i386
    ./makemake  --disable-nls --with-noreadline > Makefile
    make
    make check

I went ahead with the makemake, put .SUFFIXES: in the Makefile and
did 'make all modular' as instructed in nextapp/INSTALL.  But...

ritchie% make all modular
test -d linkkit || ln -s . linkkit
test -d base || ln -s . base
test -d bindings || mkdir bindings
gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -DNO_READLINE  -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o graph.o unixaux.o ari80386.o modules.o -ltermcap  -o lisp.run
ld: can't locate file for: -ltermcap
make: *** [lisp.run] Error 1
ritchie% 

Can anyone tell from this what I should do?
I used make 3.75 and gcc 2.7.2.1.

Thanks.
Roger Kirchner