<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: [Fwd: cipe build problems]
From: Kim Lux <lux,AT,diesel-research,DOT,com>
Date: Thu, 20 Feb 2003 05:04:19 +0100

> 
> Hi people.
> 
> I'm trying to build cipe on RH8, using kernel 2.4.21-pre4.  My configure
> command is this" ./configure -with-linux=/usr/src/linux/linux-2.4.20. 
> (The patches for 2.4.21pre4 are applied to the 2.4.20 source...) 
> 
> 
> a) I get warnings during the make process.  See below for output.
> 
> 
> b) make only builds ciped-cb. I was expecting it to build the module
> too, but either I can't find it, or it didn't build it.  I think I am
> looking for "cipcb0", right ?  I always thought that modules were built
> with the kernel via make modules ?
> 
> I get this error during make install:
> 
> mkdir -p /lib/modules/2.4.21-pre4/misc /usr/local/sbin
> install -m 644 cipcb.o /lib/modules/2.4.21-pre4/misc
> install -m 755 ciped-cb /usr/local/sbin
> depmod -a
> gmake[1]: depmod: Command not found
> gmake[1]: [install] Error 127 (ignored)
> 
> Is this related to the problem.. depmod is related to modules, right ?
> 
> 
> 
> c) when I "make install", the Makefile has problems with this:
> 
> install -m 755 rsa-keygen /usr/local/bin
> install -m 755 pkcipe /usr/local/sbin
> [ -d /etc/cipe/pk ] || mkdir -p /etc/cipe/pk
> [ -d /var/run/cipe ] || mkdir -p /var/run/cipe
> chmod 700 /etc/cipe /etc/cipe/pk /var/run/cipe
> gmake[1]: Leaving directory `/home/krlux/cipe-1.5.4/pkcipe'
> make: *** No rule to make target `cipe.texinfo', needed by `cipe.info'. 
> Stop.
> 
> 
> Any help would be greatly appreciated. 
> Thanks in advance.
> 
> Kim Lux
> 
> 
> 
> 
> Make warnings below.
> 
> IG_H -DLIBRARY   -MD -c xwritev.c
> cc1: warning: changing search order for system directory "/usr/include"
> cc1: warning:   as it has already been specified as a non-system directory
> ar rcs libcipe.a cipe_syslog.o debug.o dsprintf.o getaddr.o gethex.o hex.o 
>hexdump.o hexstr.o parseopt.o retstatus.o setsig.o secchk.o sighand.o 
>socks_errlist.o socks5_open.o socks5_cmd.o xread.o xwrite.o xwritev.o
> gmake[1]: Leaving directory `/home/krlux/cipe-1.5.4/lib'
> gmake -C 2.4.21-pre4-i386-cb all
> gmake[1]: Entering directory `/home/krlux/cipe-1.5.4/2.4.21-pre4-i386-cb'
> gcc -MD  -I/usr/src/linux/linux-2.4.20/include -I. -include ./config.h  
>-I../lib -pipe -O3 -fno-inline-functions -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -fno-strength-reduce -g  -o crcgen.o -c ../cipe/crcgen.c
> ../cipe/crcgen.c: In function `main':
> ../cipe/crcgen.c:26: warning: implicit declaration of function `exit'
> ../cipe/crcgen.c:39: warning: implicit declaration of function `strlen'
> gcc -MD  -I/usr/src/linux/linux-2.4.20/include -I. -include ./config.h  
>-I../lib -pipe -O3 -fno-inline-functions -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -fno-strength-reduce -g  -o crc32.o -c ../cipe/crc32.c
> gcc  -o crcgen crc32.o crcgen.o
> sed -n '/@api/{n;s,[/*#],,g;s,^,   ,p;}' config.h | ./crcgen - >version.h
> gcc -MD  -I/usr/src/linux/linux-2.4.20/include -I. -include ./config.h  
>-I../lib -pipe -O3 -fno-inline-functions -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -fno-strength-reduce -g  -o ioctl.o -c ../cipe/ioctl.c
> ../cipe/ioctl.c: In function `ioctl_setpar':
> ../cipe/ioctl.c:36: warning: implicit declaration of function `strcpy'
> ../cipe/ioctl.c: In function `ioctl_setkey':
> ../cipe/ioctl.c:45: warning: implicit declaration of function `memset'
> gcc -MD  -I/usr/src/linux/linux-2.4.20/include -I. -include ./config.h  
>-I../lib -pipe -O3 -fno-inline-functions -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -fno-strength-reduce -g  -o options.o -c 
>../cipe/options.c
> gcc -MD  -I/usr/src/linux/linux-2.4.20/include -I. -include ./config.h  
>-I../lib -pipe -O3 -fno-inline-functions -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -fno-strength-reduce -g  -o ciped.o -c ../cipe/ciped.c
> ../cipe/ciped.c: In function `kxchg':
> ../cipe/ciped.c:749: warning: implicit declaration of function `time'
> gcc -MD -DKCC_BUILD -I. -include ./config.h  -D__KERNEL__ 
>-I/usr/src/linux/linux-2.4.20/include -Wall -Wstrict-prototypes 
>-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
>-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS 
>-include /usr/src/linux/linux-2.4.20/include/linux/modversions.h -o 
>bf-i386.o -c ../cipe/bf-i386.S
> gcc -MD -DKCC_BUILD -I. -include ./config.h  -D__KERNEL__ 
>-I/usr/src/linux/linux-2.4.20/include -Wall -Wstrict-prototypes 
>-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
>-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS 
>-include /usr/src/linux/linux-2.4.20/include/linux/modversions.h -o bf.o -c 
>../cipe/bf.c
> gcc -MD -DKCC_BUILD -I. -include ./config.h  -D__KERNEL__ 
>-I/usr/src/linux/linux-2.4.20/include -Wall -Wstrict-prototypes 
>-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
>-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS 
>-include /usr/src/linux/linux-2.4.20/include/linux/modversions.h -o encaps.o 
>-c ../cipe/encaps.c
> gcc -MD -DKCC_BUILD -I. -include ./config.h  -D__KERNEL__ 
>-I/usr/src/linux/linux-2.4.20/include -Wall -Wstrict-prototypes 
>-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
>-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS 
>-include /usr/src/linux/linux-2.4.20/include/linux/modversions.h -o output.o 
>-c ../cipe/output.c
> gcc -MD -DKCC_BUILD -I. -include ./config.h  -D__KERNEL__ 
>-I/usr/src/linux/linux-2.4.20/include -Wall -Wstrict-prototypes 
>-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
>-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS 
>-include /usr/src/linux/linux-2.4.20/include/linux/modversions.h -o sock.o 
>-c ../cipe/sock.c
> gcc -MD -DKCC_BUILD -I. -include ./config.h  -D__KERNEL__ 
>-I/usr/src/linux/linux-2.4.20/include -Wall -Wstrict-prototypes 
>-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
>-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS 
>-include /usr/src/linux/linux-2.4.20/include/linux/modversions.h -o device.o 
>-c ../cipe/device.c
> gcc -MD -DKCC_BUILD -I. -include ./config.h  -D__KERNEL__ 
>-I/usr/src/linux/linux-2.4.20/include -Wall -Wstrict-prototypes 
>-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
>-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS 
>-include /usr/src/linux/linux-2.4.20/include/linux/modversions.h -o module.o 
>-c ../cipe/module.c
> gmake[1]: Leaving directory `/home/krlux/cipe-1.5.4/2.4.21-pre4-i386-cb'
> gmake[1]: Entering directory `/home/krlux/cipe-1.5.4/2.4.21-pre4-i386-cb'
> ld -r -S -o cipcb.o module.o device.o sock.o output.o encaps.o bf.o 
>bf-i386.o crc32.o
> gcc  -o ciped-cb ciped.o options.o ioctl.o crc32.o  -L../lib -lcipe
> gmake[1]: Leaving directory `/home/krlux/cipe-1.5.4/2.4.21-pre4-i386-cb'
> gmake -C pkcipe all
> gmake[1]: Entering directory `/home/krlux/cipe-1.5.4/pkcipe'
> gcc -I/usr//include  -I.. -I../lib -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -fno-strength-reduce -g  -Wno-strict-prototypes 
>-DHAVE_CONFIG_H   -MD -c proto.c
> cc1: warning: changing search order for system directory "/usr/include"
> cc1: warning:   as it has already been specified as a non-system directory
> proto.c: In function `getMySocket':
> proto.c:98: warning: passing arg 2 of `bind' from incompatible pointer type
> proto.c:103: warning: passing arg 2 of `connect' from incompatible pointer 
>type
> proto.c:107: warning: passing arg 2 of `getsockname' from incompatible 
>pointer type
> gcc -I/usr//include  -I.. -I../lib -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -fno-strength-reduce -g  -Wno-strict-prototypes 
>-DHAVE_CONFIG_H   -MD -c negotiate.c
> cc1: warning: changing search order for system directory "/usr/include"
> cc1: warning:   as it has already been specified as a non-system directory
> gcc -I/usr//include  -I.. -I../lib -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -fno-strength-reduce -g  -Wno-strict-prototypes 
>-DHAVE_CONFIG_H   -MD -c main.c
> cc1: warning: changing search order for system directory "/usr/include"
> cc1: warning:   as it has already been specified as a non-system directory
> main.c: In function `doClient':
> main.c:109: warning: passing arg 2 of `connect' from incompatible pointer 
>type
> main.c: In function `doServer':
> main.c:141: warning: passing arg 2 of `bind' from incompatible pointer type
> main.c:155: warning: passing arg 2 of `accept' from incompatible pointer 
>type
> main.c: In function `main':
> main.c:268: warning: passing arg 2 of `getpeername' from incompatible 
>pointer type
> gcc -I/usr//include  -I.. -I../lib -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -fno-strength-reduce -g  -Wno-strict-prototypes 
>-DHAVE_CONFIG_H   -MD -c packet.c
> cc1: warning: changing search order for system directory "/usr/include"
> cc1: warning:   as it has already been specified as a non-system directory
> packet.c: In function `packetRecv':
> packet.c:171: warning: implicit declaration of function `memcpy'
> gcc -I/usr//include  -I.. -I../lib -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -fno-strength-reduce -g  -Wno-strict-prototypes 
>-DHAVE_CONFIG_H   -MD -c lock.c
> cc1: warning: changing search order for system directory "/usr/include"
> cc1: warning:   as it has already been specified as a non-system directory
> gcc -I/usr//include  -I.. -I../lib -Wall -Wstrict-prototypes 
>-fomit-frame-pointer -fno-strength-reduce -g  -Wno-strict-prototypes 
>-DHAVE_CONFIG_H   -MD -c p_sha1.c
> cc1: warning: changing search order for system directory "/usr/include"
> cc1: warning:   as it has already been specified as a non-system directory
> p_sha1.c: In function `P_SHA1_init':
> p_sha1.c:46: warning: implicit declaration of function `memcpy'
> p_sha1.c: In function `P_SHA1_free':
> p_sha1.c:69: warning: implicit declaration of function `memset'
> gcc  -o pkcipe proto.o negotiate.o main.o packet.o lock.o p_sha1.o 
>-L/usr//lib -lcrypto -ldl  -L../lib -lcipe
> gmake[1]: Leaving directory `/home/krlux/cipe-1.5.4/pkcipe'
> 
-- 
Kim Lux <lux,AT,diesel-research,DOT,com>





<< | Thread Index | >> ]    [ << | Date Index | >> ]