Subject: Re: compiling on a linux system

From: Raymond Toy <[email-masked]>
Date: Tue, 18 Aug 1998 08:13:16 -0400

>>>>> "Sam" == Sam Steingold <[email-masked]> writes:

    Sam> cvs update
    Sam> ./configure --build

    Sam> Any suggestiond what this might mean?

    Sam> gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -fexpensive-optimizations -DDYNAMIC_FFI -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 foreign.o unixaux.o ari80386.o modules.o libreadline.a libavcall.a libcallback.a   -ldl  -o lisp.run
    Sam> spvw.o: In function `init_language':
    Sam> spvw.o(.text+0x45a3): the `getwd' function is dangerous and should not be used.

I think this means getwd assumes a fixed size buffer.  If it's not, it 
may scribble past the end.  We may want to use getcwd instead since it 
takes a length parameter.

    Sam> spvw.o: In function `update_linelength':
    Sam> spvw.o(.text+0x481f): undefined reference to `tgetent'
    Sam> spvw.o(.text+0x4831): undefined reference to `tgetnum'

I think the rest of the errors mean you forgot to link with libtermcap 
or libcurses.

Ray