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

To: cipe-l,AT,inka,DOT,de
Subject: make cipe - compiling errors
From: josef.schwarz,AT,bt,DOT,com
Date: Thu, 24 Jul 2003 14:55:09 +0100

Hello to everyone,

I try to install Cipe within an installed User Mode Linux (UML) virtual
machine

The ./configure --with-linux=/usr/src/linux (linux is a symbolic link to my
real kernel source directory) is ok,
make produces the following errors:

[root@redhat80 cipe-1.5.4]# make
gmake -C lib all
gmake[1]: Entering directory `/usr/local/src/cipe-1.5.4/lib'
gcc -I/usr//include  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c cipe_syslog.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c debug.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c dsprintf.c
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
dsprintf.c: In function `dsprintf':
dsprintf.c:23: warning: implicit declaration of function `strlen'
gcc -I/usr//include  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c getaddr.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c gethex.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c hex.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c hexdump.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c hexstr.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c parseopt.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c retstatus.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c setsig.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c secchk.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c sighand.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c socks_errlist.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c socks5_open.c
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
socks5_open.c: In function `socks5_open':
socks5_open.c:54: warning: implicit declaration of function `strlen'
gcc -I/usr//include  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c socks5_cmd.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c xread.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_H -DLIBRARY
-MD -c xwrite.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  -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strength-reduce -g  -Wmissing-prototypes -DHAVE_CONFIG_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 `/usr/local/src/cipe-1.5.4/lib'
gmake -C 2.4.18-i386-cb all
gmake[1]: Entering directory `/usr/local/src/cipe-1.5.4/2.4.18-i386-cb'

gcc -MD  -I/mnt/host/usr/local/src/linux/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/mnt/host/usr/local/src/linux/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/mnt/host/usr/local/src/linux/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/mnt/host/usr/local/src/linux/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/mnt/host/usr/local/src/linux/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/mnt/host/usr/local/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -DMODULE -o bf-i386.o -c
../cipe/bf-i386.S
gcc -MD -DKCC_BUILD -I. -include ./config.h  -D__KERNEL__
-I/mnt/host/usr/local/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -DMODULE -o bf.o -c ../cipe/bf.c
In file included from /mnt/host/usr/local/src/linux/include/asm/ptrace.h:9,
                 from
/mnt/host/usr/local/src/linux/include/linux/ptrace.h:24,
                 from
/mnt/host/usr/local/src/linux/include/asm/arch/user.h:5,
                 from /mnt/host/usr/local/src/linux/include/asm/user.h:4,
                 from
/mnt/host/usr/local/src/linux/include/asm/archparam.h:11,
                 from /mnt/host/usr/local/src/linux/include/asm/string.h:5,
                 from
/mnt/host/usr/local/src/linux/include/linux/string.h:25,
                 from ../cipe/bf.c:14:
/mnt/host/usr/local/src/linux/include/asm/ptrace-generic.h:23:27:
sysdep/ptrace.h: No such file or directory
In file included from /mnt/host/usr/local/src/linux/include/asm/ptrace.h:9,
                 from
/mnt/host/usr/local/src/linux/include/linux/ptrace.h:24,
                 from
/mnt/host/usr/local/src/linux/include/asm/arch/user.h:5,
                 from /mnt/host/usr/local/src/linux/include/asm/user.h:4,
                 from
/mnt/host/usr/local/src/linux/include/asm/archparam.h:11,
                 from /mnt/host/usr/local/src/linux/include/asm/string.h:5,
                 from
/mnt/host/usr/local/src/linux/include/linux/string.h:25,
                 from ../cipe/bf.c:14:
/mnt/host/usr/local/src/linux/include/asm/ptrace-generic.h:26: field `regs'
has incomplete type
gmake[1]: *** [bf.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/cipe-1.5.4/2.4.18-i386-cb'
make: *** [all] Error 2

I would be happy if someone could help me,

cheers,
Josef
-- 
Josef Schwarz
josef.schwarz,AT,bt,DOT,com


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