[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] nbd 2.9.11 compilation failure



Grr,
forgot the attachement, sorry


-- 
Heute ist das Morgen wovor du gestern Angst hattest...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether Large File Support should be enabled... yes
checking whether syslog logging is requested... no
checking whether a debugging version is requested... no
checking for klcc... /usr/bin/klcc
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for unsigned short int... yes
checking size of unsigned short int... 2
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long int... yes
checking size of unsigned long int... 4
checking for unsigned long long int... yes
checking size of unsigned long long int... 8
checking for llseek... yes
checking for alarm... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for socket... yes
checking for strerror... yes
checking for strstr... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking whether client should be built... yes
checking where to find a working nbd.h... <linux/nbd.h>
checking for library containing bind... none required
checking for library containing inet_ntoa... none required
checking for library containing daemon... none required
checking for sys/mount.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.6.0... yes (version 2.16.3)
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for off_t... yes
checking for pid_t... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Doxyfile
config.status: creating nbd-server.1
config.status: creating nbd-server.5
config.status: creating config.h
config.status: executing depfiles commands
make  all-am
make[1]: Entering directory `/var/abs/local/nbd/src/nbd-2.9.11'
gcc -DHAVE_CONFIG_H -I.  -DSYSCONFDIR='"/usr/etc"'  -march=i686 -mtune=generic -O2 -pipe -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -march=i686 -mtune=generic -O2 -pipe -MT nbd_server-nbd-server.o -MD -MP -MF .deps/nbd_server-nbd-server.Tpo -c -o nbd_server-nbd-server.o `test -f 'nbd-server.c' || echo './'`nbd-server.c
mv -f .deps/nbd_server-nbd-server.Tpo .deps/nbd_server-nbd-server.Po
gcc -march=i686 -mtune=generic -O2 -pipe -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -march=i686 -mtune=generic -O2 -pipe   -o nbd-server nbd_server-nbd-server.o -lglib-2.0   
/usr/bin/klcc -DHAVE_CONFIG_H -I.     -march=i686 -mtune=generic -O2 -pipe -c -o knbd_client-nbd-client.o nbd-client.c
In file included from /usr/lib/klibc/include/stddef.h:12,
                 from /usr/lib/klibc/include/sys/types.h:9,
                 from nbd-client.c:21:
/usr/lib/klibc/include/bits32/bitsize/stddef.h:12: error: redefinition of typedef 'size_t'
/usr/lib/klibc/include/linux/types.h:66: error: previous declaration of 'size_t' was here
/usr/lib/klibc/include/bits32/bitsize/stddef.h:16: error: redefinition of typedef 'ptrdiff_t'
/usr/lib/klibc/include/linux/types.h:76: error: previous declaration of 'ptrdiff_t' was here
In file included from /usr/lib/klibc/include/stdint.h:8,
                 from /usr/lib/klibc/include/sys/types.h:10,
                 from nbd-client.c:21:
/usr/lib/klibc/include/bits32/bitsize/stdint.h:8: error: redefinition of typedef 'int8_t'
/usr/lib/klibc/include/linux/types.h:110: error: previous declaration of 'int8_t' was here
/usr/lib/klibc/include/bits32/bitsize/stdint.h:9: error: redefinition of typedef 'int16_t'
/usr/lib/klibc/include/linux/types.h:112: error: previous declaration of 'int16_t' was here
/usr/lib/klibc/include/bits32/bitsize/stdint.h:10: error: redefinition of typedef 'int32_t'
/usr/lib/klibc/include/linux/types.h:114: error: previous declaration of 'int32_t' was here
/usr/lib/klibc/include/bits32/bitsize/stdint.h:11: error: redefinition of typedef 'int64_t'
/usr/lib/klibc/include/linux/types.h:125: error: previous declaration of 'int64_t' was here
/usr/lib/klibc/include/bits32/bitsize/stdint.h:13: error: redefinition of typedef 'uint8_t'
/usr/lib/klibc/include/linux/types.h:118: error: previous declaration of 'uint8_t' was here
/usr/lib/klibc/include/bits32/bitsize/stdint.h:14: error: redefinition of typedef 'uint16_t'
/usr/lib/klibc/include/linux/types.h:119: error: previous declaration of 'uint16_t' was here
/usr/lib/klibc/include/bits32/bitsize/stdint.h:15: error: redefinition of typedef 'uint32_t'
/usr/lib/klibc/include/linux/types.h:120: error: previous declaration of 'uint32_t' was here
/usr/lib/klibc/include/bits32/bitsize/stdint.h:16: error: redefinition of typedef 'uint64_t'
/usr/lib/klibc/include/linux/types.h:123: error: previous declaration of 'uint64_t' was here
In file included from nbd-client.c:21:
/usr/lib/klibc/include/sys/types.h:13: error: redefinition of typedef 'ssize_t'
/usr/lib/klibc/include/linux/types.h:71: error: previous declaration of 'ssize_t' was here
/usr/lib/klibc/include/sys/types.h:21: error: redefinition of typedef 'fd_set'
/usr/lib/klibc/include/linux/types.h:18: error: previous declaration of 'fd_set' was here
/usr/lib/klibc/include/sys/types.h:22: error: redefinition of typedef 'dev_t'
/usr/lib/klibc/include/linux/types.h:19: error: previous declaration of 'dev_t' was here
/usr/lib/klibc/include/sys/types.h:23: error: redefinition of typedef 'ino_t'
/usr/lib/klibc/include/linux/types.h:20: error: previous declaration of 'ino_t' was here
/usr/lib/klibc/include/sys/types.h:24: error: redefinition of typedef 'mode_t'
/usr/lib/klibc/include/linux/types.h:21: error: previous declaration of 'mode_t' was here
/usr/lib/klibc/include/sys/types.h:25: error: redefinition of typedef 'nlink_t'
/usr/lib/klibc/include/linux/types.h:22: error: previous declaration of 'nlink_t' was here
/usr/lib/klibc/include/sys/types.h:26: error: conflicting types for 'off_t'
/usr/lib/klibc/include/linux/types.h:23: error: previous declaration of 'off_t' was here
/usr/lib/klibc/include/sys/types.h:27: error: redefinition of typedef 'loff_t'
/usr/lib/klibc/include/linux/types.h:57: error: previous declaration of 'loff_t' was here
/usr/lib/klibc/include/sys/types.h:28: error: redefinition of typedef 'pid_t'
/usr/lib/klibc/include/linux/types.h:24: error: previous declaration of 'pid_t' was here
/usr/lib/klibc/include/sys/types.h:29: error: redefinition of typedef 'daddr_t'
/usr/lib/klibc/include/linux/types.h:25: error: previous declaration of 'daddr_t' was here
/usr/lib/klibc/include/sys/types.h:30: error: redefinition of typedef 'key_t'
/usr/lib/klibc/include/linux/types.h:26: error: previous declaration of 'key_t' was here
/usr/lib/klibc/include/sys/types.h:31: error: redefinition of typedef 'suseconds_t'
/usr/lib/klibc/include/linux/types.h:27: error: previous declaration of 'suseconds_t' was here
/usr/lib/klibc/include/sys/types.h:33: error: redefinition of typedef 'timer_t'
/usr/lib/klibc/include/linux/types.h:28: error: previous declaration of 'timer_t' was here
/usr/lib/klibc/include/sys/types.h:35: error: conflicting types for 'uid_t'
/usr/lib/klibc/include/linux/types.h:52: error: previous declaration of 'uid_t' was here
/usr/lib/klibc/include/sys/types.h:36: error: conflicting types for 'gid_t'
/usr/lib/klibc/include/linux/types.h:53: error: previous declaration of 'gid_t' was here
/usr/lib/klibc/include/sys/types.h:75: error: redefinition of typedef 'u_char'
/usr/lib/klibc/include/linux/types.h:95: error: previous declaration of 'u_char' was here
/usr/lib/klibc/include/sys/types.h:76: error: redefinition of typedef 'u_short'
/usr/lib/klibc/include/linux/types.h:96: error: previous declaration of 'u_short' was here
/usr/lib/klibc/include/sys/types.h:77: error: redefinition of typedef 'u_int'
/usr/lib/klibc/include/linux/types.h:97: error: previous declaration of 'u_int' was here
/usr/lib/klibc/include/sys/types.h:78: error: redefinition of typedef 'u_long'
/usr/lib/klibc/include/linux/types.h:98: error: previous declaration of 'u_long' was here
/usr/lib/klibc/include/sys/types.h:81: error: redefinition of typedef 'unchar'
/usr/lib/klibc/include/linux/types.h:101: error: previous declaration of 'unchar' was here
/usr/lib/klibc/include/sys/types.h:82: error: redefinition of typedef 'ushort'
/usr/lib/klibc/include/linux/types.h:102: error: previous declaration of 'ushort' was here
/usr/lib/klibc/include/sys/types.h:83: error: redefinition of typedef 'uint'
/usr/lib/klibc/include/linux/types.h:103: error: previous declaration of 'uint' was here
/usr/lib/klibc/include/sys/types.h:84: error: redefinition of typedef 'ulong'
/usr/lib/klibc/include/linux/types.h:104: error: previous declaration of 'ulong' was here
/usr/lib/klibc/include/sys/types.h:87: error: redefinition of typedef 'u_int8_t'
/usr/lib/klibc/include/linux/types.h:109: error: previous declaration of 'u_int8_t' was here
/usr/lib/klibc/include/sys/types.h:88: error: redefinition of typedef 'u_int16_t'
/usr/lib/klibc/include/linux/types.h:111: error: previous declaration of 'u_int16_t' was here
/usr/lib/klibc/include/sys/types.h:89: error: redefinition of typedef 'u_int32_t'
/usr/lib/klibc/include/linux/types.h:113: error: previous declaration of 'u_int32_t' was here
/usr/lib/klibc/include/sys/types.h:90: error: redefinition of typedef 'u_int64_t'
/usr/lib/klibc/include/linux/types.h:124: error: previous declaration of 'u_int64_t' was here
/usr/lib/klibc/include/sys/types.h:92: error: redefinition of typedef '__le16'
/usr/lib/klibc/include/linux/types.h:180: error: previous declaration of '__le16' was here
/usr/lib/klibc/include/sys/types.h:93: error: redefinition of typedef '__be16'
/usr/lib/klibc/include/linux/types.h:181: error: previous declaration of '__be16' was here
/usr/lib/klibc/include/sys/types.h:94: error: redefinition of typedef '__le32'
/usr/lib/klibc/include/linux/types.h:182: error: previous declaration of '__le32' was here
/usr/lib/klibc/include/sys/types.h:95: error: redefinition of typedef '__be32'
/usr/lib/klibc/include/linux/types.h:183: error: previous declaration of '__be32' was here
/usr/lib/klibc/include/sys/types.h:96: error: redefinition of typedef '__le64'
/usr/lib/klibc/include/linux/types.h:185: error: previous declaration of '__le64' was here
/usr/lib/klibc/include/sys/types.h:97: error: redefinition of typedef '__be64'
/usr/lib/klibc/include/linux/types.h:186: error: previous declaration of '__be64' was here
/usr/lib/klibc/include/sys/types.h:99: error: redefinition of typedef '__sum16'
/usr/lib/klibc/include/linux/types.h:188: error: previous declaration of '__sum16' was here
nbd-client.c:25:58: error: netdb.h: No such file or directory
In file included from nbd-client.c:39:
cliserv.h: In function 'err':
cliserv.h:100: error: 'h_errno' undeclared (first use in this function)
cliserv.h:100: error: (Each undeclared identifier is reported only once
cliserv.h:100: error: for each function it appears in.)
cliserv.h:100: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
cliserv.h: In function 'logging':
cliserv.h:118: error: '_IONBF' undeclared (first use in this function)
nbd-client.c: In function 'opennet':
nbd-client.c:69: warning: assignment makes pointer from integer without a cast
nbd-client.c:86: error: dereferencing pointer to incomplete type
nbd-client.c: In function 'setsizes':
nbd-client.c:151: warning: passing argument 3 of 'ioctl' makes pointer from integer without a cast
nbd-client.c:154: warning: passing argument 3 of 'ioctl' makes pointer from integer without a cast
nbd-client.c:168: error: too few arguments to function 'ioctl'
nbd-client.c:170: warning: passing argument 3 of 'ioctl' makes pointer from integer without a cast
nbd-client.c: In function 'set_timeout':
nbd-client.c:177: warning: passing argument 3 of 'ioctl' makes pointer from integer without a cast
nbd-client.c: In function 'finish_sock':
nbd-client.c:185: warning: passing argument 3 of 'ioctl' makes pointer from integer without a cast
nbd-client.c: In function 'main':
nbd-client.c:231: error: too few arguments to function 'ioctl'
nbd-client.c:235: error: too few arguments to function 'ioctl'
nbd-client.c:242: error: too few arguments to function 'ioctl'
nbd-client.c:318: error: too few arguments to function 'ioctl'
nbd-client.c:353: error: too few arguments to function 'ioctl'
nbd-client.c:355: error: too few arguments to function 'ioctl'
make[1]: *** [knbd_client-nbd-client.o] Error 1
make[1]: Leaving directory `/var/abs/local/nbd/src/nbd-2.9.11'
make: *** [all] Error 2

Reply to: