Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ucblogo -- linux "make" error

25 views
Skip to first unread message

knubee

unread,
Feb 5, 2009, 3:20:31 AM2/5/09
to
I just downloaded the latest version of ucblogo (6.0) and attempted to
compile on ubuntu. it seems to fail on the "make" command. below are
the results.

any suggestions for getting this to work?

thanks. k.

> ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for POSIXized ISC... no
checking for X... (cached) libraries , headers
checking for -lICE... (cached) no
checking for -ldnet... (cached) no
checking for -ldnet_stub... (cached) no
checking for -lnsl... (cached) no
checking for -lsocket... (cached) no
checking for -lm... (cached) yes
checking for -lBSD... (cached) no
checking for -lbsd... (cached) yes
checking for -ltermcap... (cached) yes
checking whether cross-compiling... (cached) no
checking for ANSI C header files... (cached) yes
checking for sgtty.h... (cached) yes
checking for termio.h... (cached) yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... void
checking if signal handlers take argument... yes
checking for usleep... (cached) yes
checking for srandom... (cached) yes
checking for sigvec... (cached) yes
checking for sigsetmask... (cached) yes
checking for matherr... (cached) yes
checking for drem... (cached) yes
checking for irint... (cached) no
checking for bcopy... (cached) yes
checking for memcpy... (cached) yes
checking whether gcc needs -traditional... (cached) no
updating cache ./config.cache
creating ./config.status
creating makefile
creating config.h

> make
gcc -g -O -O0 -DUSE_OLD_TTY -c -o coms.o coms.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o error.o error.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o eval.o eval.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o files.o files.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o graphics.o graphics.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o init.o init.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o intern.o intern.c
echo 'char *libloc="'/usr/local/lib/logo'/logolib";' > libloc.c
echo 'char *helploc="'/usr/local/lib/logo'/helpfiles";' >> libloc.c
echo 'char *cslsloc="'/usr/local/lib/logo'/csls";' >> libloc.c
echo 'char *temploc="/tmp";' >> libloc.c
echo 'char *separator="/";' >> libloc.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o libloc.o libloc.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o lists.o lists.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o logodata.o logodata.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o main.o main.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o math.o math.c
gcc -g -O -O0 -DUSE_OLD_TTY -O0 -c mem.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o paren.o paren.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o parse.o parse.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o print.o print.c
print.c: In function ‘real_print_node’:
print.c:257: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘struct NODE *’
print.c:284: warning: format ‘%d’ expects type ‘int’, but argument 3
has type ‘long int’
gcc -g -O -O0 -DUSE_OLD_TTY -c -o wrksp.o wrksp.c
wrksp.c: In function ‘ledit’:
wrksp.c:1579: warning: missing sentinel in function call
wrksp.c: In function ‘cpdf_newname’:
wrksp.c:1717: warning: field precision should have type ‘int’, but
argument 5 has type ‘long int’
gcc -g -O -O0 -DUSE_OLD_TTY -c -o nographics.o nographics.c
echo 'char* SVN = "('`svnversion|tr -d '\r'`')";' > svn.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o svn.o svn.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o term.o term.c
gcc -g -O -O0 -DUSE_OLD_TTY -c -o xgraphics.o xgraphics.c
gcc -g -O -O0 -DUSE_OLD_TTY coms.o error.o eval.o files.o
graphics.o init.o intern.o libloc.o lists.o logodata.o main.o math.o
mem.o paren.o parse.o print.o wrksp.o nographics.o svn.o term.o
xgraphics.o -lbsd -lm -ltermcap -lX11 -o logo
/usr/bin/ld: cannot find -lbsd
collect2: ld returned 1 exit status
make: *** [logo] Error 1

Brian Harvey

unread,
Feb 5, 2009, 3:46:07 AM2/5/09
to
knubee <knu...@gmail.com> writes:
>> ./configure
[...]

>checking for -lbsd... (cached) yes
[...]
>> make
[...]

>/usr/bin/ld: cannot find -lbsd
>collect2: ld returned 1 exit status
>make: *** [logo] Error 1

Hmm, it's there for configure, but not for make.

I wonder if the problem is with the cached configuration. Try

> make clean
> rm config.cache

then do ./configure and make again. If that isn't good enough say

> make ship

which will remove even more files than "make clean" does. If it /still/
doesn't work, email me.

knubee

unread,
Feb 5, 2009, 4:04:18 AM2/5/09
to
ok. tried your suggestions. new errors. i'll email you about this.
0 new messages