I was trying to compile lsh-0.9.6 
on Slackware 3.6.0 machine.
The first trouble was with the configure script
that couldn't see gmp-2.0.2 headers.
This I overcame with exporting CPPFLAGS=-I/usr/local/gmp/include,
then running configure again.
But the make program ended with the following error:

gcc -DHAVE_CONFIG_H -I. -I/home/rafal/crypt/lsh-0.9.6/src -I..
-I/usr/local/gmp/include -I/home/rafal/crypt/lsh-0.9.6
-I/home/rafal/crypt/lsh-0.9.6/src
-I/home/rafal/crypt/lsh-0.9.6/src/symmetric/include -DLSH -D_GNU_SOURCE  -g
-O2 -ggdb3 -Wall -W  -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes  -Waggregate-return  -Wpointer-arith -Wbad-function-cast
-Wnested-externs -c io.c
io.c: In function `address_info2sockaddr':
io.c:1098: warning: unused parameter `preference'
io.c: In function `io_listen_local':
io.c:1405: storage size of `sbuf' isn't known
io.c:1421: `AF_LOCAL' undeclared (first use this function)
io.c:1421: (Each undeclared identifier is reported only once
io.c:1421: for each function it appears in.)
io.c:1425: warning: implicit declaration of function `mkdir'
io.c:1449: warning: implicit declaration of function `stat'
io.c:1469: `S_IRWXG' undeclared (first use this function)
io.c:1469: `S_IRWXO' undeclared (first use this function)
io.c:1490: warning: implicit declaration of function `umask'
io.c:1405: warning: unused variable `sbuf'
io.c: In function `io_connect_local':
io.c:1518: storage size of `sbuf' isn't known
io.c:1534: `AF_LOCAL' undeclared (first use this function)
io.c:1574: `S_IRWXG' undeclared (first use this function)
io.c:1574: `S_IRWXO' undeclared (first use this function)
io.c:1518: warning: unused variable `sbuf'
make[3]: *** [io.o] Error 1
make[3]: Leaving directory `/home/rafal/crypt/lsh-0.9.6/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rafal/crypt/lsh-0.9.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rafal/crypt/lsh-0.9.6'
make: *** [all-recursive-am] Error 2

Rafal Michalski


Reply via email to