Created
May 8, 2014 00:48
-
-
Save prologic/6872da086323fd28bd64 to your computer and use it in GitHub Desktop.
bridge-utils 1.5 fails to build on crux 3.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pkgmk -d -kw | |
=======> Building '/usr/ports/contrib/bridge-utils/bridge-utils#1.5-1.pkg.tar.gz'. | |
bsdtar -p -o -C /usr/ports/contrib/bridge-utils/work/src -xf /usr/ports/contrib/bridge-utils/bridge-utils-1.5.tar.gz | |
+ build | |
+ cd bridge-utils-1.5 | |
+ autoconf | |
+ ./configure --prefix=/usr --mandir=/usr/man | |
checking for gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
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 a BSD-compatible install... /usr/bin/install -c | |
checking for ranlib... ranlib | |
checking how to run the C preprocessor... gcc -E | |
checking for grep that handles long lines and -e... /usr/bin/grep | |
checking for egrep... /usr/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 sys/ioctl.h usability... yes | |
checking sys/ioctl.h presence... yes | |
checking for sys/ioctl.h... yes | |
checking sys/time.h usability... yes | |
checking sys/time.h presence... yes | |
checking for sys/time.h... yes | |
checking for an ANSI C-conforming const... yes | |
checking whether time.h and sys/time.h may both be included... yes | |
checking for gethostname... yes | |
checking for socket... yes | |
checking for strdup... yes | |
checking for uname... yes | |
checking for if_nametoindex... yes | |
checking for if_indextoname... yes | |
configure: creating ./config.status | |
config.status: creating doc/Makefile | |
config.status: WARNING: 'doc/Makefile.in' seems to ignore the --datarootdir setting | |
config.status: creating libbridge/Makefile | |
config.status: creating brctl/Makefile | |
config.status: WARNING: 'brctl/Makefile.in' seems to ignore the --datarootdir setting | |
config.status: creating Makefile | |
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting | |
config.status: creating bridge-utils.spec | |
config.status: creating libbridge/config.h | |
+ sed -i 's|\(#include <sys/socket.h>\)|\1\n#include <netinet/in.h>|1' libbridge/libbridge.h | |
+ grep include libbridge/libbridge.h | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <linux/if.h> | |
#include <linux/if_bridge.h> | |
+ make | |
for x in libbridge brctl doc; do make -C $x ; done | |
make[1]: Entering directory '/usr/ports/contrib/bridge-utils/work/src/bridge-utils-1.5/libbridge' | |
gcc -Wall -g -I/usr/src/linux/include -c libbridge_devif.c | |
In file included from /usr/include/linux/if.h:22:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/types.h:14:26: error: conflicting types for 'fd_set' | |
typedef __kernel_fd_set fd_set; | |
^ | |
In file included from /usr/include/sys/types.h:219:0, | |
from /usr/include/stdlib.h:314, | |
from libbridge_devif.c:21: | |
/usr/include/sys/select.h:75:5: note: previous declaration of 'fd_set' was here | |
} fd_set; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/types.h:15:25: error: conflicting types for 'dev_t' | |
typedef __kernel_dev_t dev_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from libbridge_devif.c:21: | |
/usr/include/sys/types.h:60:17: note: previous declaration of 'dev_t' was here | |
typedef __dev_t dev_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/types.h:19:17: error: conflicting types for 'nlink_t' | |
typedef __u32 nlink_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from libbridge_devif.c:21: | |
/usr/include/sys/types.h:75:19: note: previous declaration of 'nlink_t' was here | |
typedef __nlink_t nlink_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/types.h:25:26: error: conflicting types for 'timer_t' | |
typedef __kernel_timer_t timer_t; | |
^ | |
In file included from /usr/include/sys/types.h:132:0, | |
from /usr/include/stdlib.h:314, | |
from libbridge_devif.c:21: | |
/usr/include/time.h:103:19: note: previous declaration of 'timer_t' was here | |
typedef __timer_t timer_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/types.h:45:26: error: conflicting types for 'loff_t' | |
typedef __kernel_loff_t loff_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from libbridge_devif.c:21: | |
/usr/include/sys/types.h:44:18: note: previous declaration of 'loff_t' was here | |
typedef __loff_t loff_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/types.h:111:17: error: conflicting types for 'uint64_t' | |
typedef __u64 uint64_t; | |
^ | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include/stdint.h:9:0, | |
from /usr/include/netinet/in.h:22, | |
from libbridge.h:23, | |
from libbridge_devif.c:28: | |
/usr/include/stdint.h:55:27: note: previous declaration of 'uint64_t' was here | |
typedef unsigned long int uint64_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/types.h:112:17: error: conflicting types for 'u_int64_t' | |
typedef __u64 u_int64_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from libbridge_devif.c:21: | |
/usr/include/sys/types.h:203:1: note: previous declaration of 'u_int64_t' was here | |
__u_intN_t (64, __DI__); | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/types.h:113:17: error: conflicting types for 'int64_t' | |
typedef __s64 int64_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from libbridge_devif.c:21: | |
/usr/include/sys/types.h:197:1: note: previous declaration of 'int64_t' was here | |
__intN_t (64, __DI__); | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/types.h:134:23: error: conflicting types for 'blkcnt_t' | |
typedef unsigned long blkcnt_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from libbridge_devif.c:21: | |
/usr/include/sys/types.h:235:20: note: previous declaration of 'blkcnt_t' was here | |
typedef __blkcnt_t blkcnt_t; /* Type to count number of disk blocks. */ | |
^ | |
In file included from /usr/src/linux/include/linux/uio.h:12:0, | |
from /usr/src/linux/include/linux/socket.h:7, | |
from /usr/include/linux/if.h:23, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/uapi/linux/uio.h:16:8: error: redefinition of 'struct iovec' | |
struct iovec | |
^ | |
In file included from /usr/include/sys/uio.h:28:0, | |
from /usr/include/sys/socket.h:26, | |
from libbridge.h:22, | |
from libbridge_devif.c:28: | |
/usr/include/bits/uio.h:43:8: note: originally defined here | |
struct iovec | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/socket.h:29:8: error: redefinition of 'struct sockaddr' | |
struct sockaddr { | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from libbridge.h:22, | |
from libbridge_devif.c:28: | |
/usr/include/bits/socket.h:149:8: note: originally defined here | |
struct sockaddr | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/socket.h:34:8: error: redefinition of 'struct linger' | |
struct linger { | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from libbridge.h:22, | |
from libbridge_devif.c:28: | |
/usr/include/bits/socket.h:379:8: note: originally defined here | |
struct linger | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/socket.h:47:8: error: redefinition of 'struct msghdr' | |
struct msghdr { | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from libbridge.h:22, | |
from libbridge_devif.c:28: | |
/usr/include/bits/socket.h:224:8: note: originally defined here | |
struct msghdr | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/socket.h:69:8: error: redefinition of 'struct cmsghdr' | |
struct cmsghdr { | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from libbridge.h:22, | |
from libbridge_devif.c:28: | |
/usr/include/bits/socket.h:242:8: note: originally defined here | |
struct cmsghdr | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from libbridge.h:24, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/socket.h:111:32: error: conflicting types for '__cmsg_nxthdr' | |
static inline struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from libbridge.h:22, | |
from libbridge_devif.c:28: | |
/usr/include/bits/socket.h:272:24: note: previous declaration of '__cmsg_nxthdr' was here | |
extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, | |
^ | |
In file included from /usr/src/linux/include/linux/kernel.h:6:0, | |
from /usr/src/linux/include/linux/plist.h:78, | |
from /usr/src/linux/include/linux/pm_qos.h:7, | |
from /usr/src/linux/include/linux/netdevice.h:28, | |
from /usr/src/linux/include/linux/if_bridge.h:16, | |
from libbridge.h:25, | |
from libbridge_devif.c:28: | |
/usr/src/linux/include/linux/linkage.h:7:25: fatal error: asm/linkage.h: No such file or directory | |
#include <asm/linkage.h> | |
^ | |
compilation terminated. | |
Makefile:37: recipe for target 'libbridge_devif.o' failed | |
make[1]: *** [libbridge_devif.o] Error 1 | |
make[1]: Leaving directory '/usr/ports/contrib/bridge-utils/work/src/bridge-utils-1.5/libbridge' | |
make[1]: Entering directory '/usr/ports/contrib/bridge-utils/work/src/bridge-utils-1.5/brctl' | |
gcc -Wall -O2 -march=x86-64 -pipe -I../libbridge -I/usr/src/linux/include -c brctl.c | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:14:26: error: conflicting types for 'fd_set' | |
typedef __kernel_fd_set fd_set; | |
^ | |
In file included from /usr/include/sys/types.h:219:0, | |
from /usr/include/stdlib.h:314, | |
from brctl.c:20: | |
/usr/include/sys/select.h:75:5: note: previous declaration of 'fd_set' was here | |
} fd_set; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:15:25: error: conflicting types for 'dev_t' | |
typedef __kernel_dev_t dev_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from brctl.c:20: | |
/usr/include/sys/types.h:60:17: note: previous declaration of 'dev_t' was here | |
typedef __dev_t dev_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:19:17: error: conflicting types for 'nlink_t' | |
typedef __u32 nlink_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from brctl.c:20: | |
/usr/include/sys/types.h:75:19: note: previous declaration of 'nlink_t' was here | |
typedef __nlink_t nlink_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:25:26: error: conflicting types for 'timer_t' | |
typedef __kernel_timer_t timer_t; | |
^ | |
In file included from /usr/include/sys/types.h:132:0, | |
from /usr/include/stdlib.h:314, | |
from brctl.c:20: | |
/usr/include/time.h:103:19: note: previous declaration of 'timer_t' was here | |
typedef __timer_t timer_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:45:26: error: conflicting types for 'loff_t' | |
typedef __kernel_loff_t loff_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from brctl.c:20: | |
/usr/include/sys/types.h:44:18: note: previous declaration of 'loff_t' was here | |
typedef __loff_t loff_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:111:17: error: conflicting types for 'uint64_t' | |
typedef __u64 uint64_t; | |
^ | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include/stdint.h:9:0, | |
from /usr/include/netinet/in.h:22, | |
from ../libbridge/libbridge.h:23, | |
from brctl.c:25: | |
/usr/include/stdint.h:55:27: note: previous declaration of 'uint64_t' was here | |
typedef unsigned long int uint64_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:112:17: error: conflicting types for 'u_int64_t' | |
typedef __u64 u_int64_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from brctl.c:20: | |
/usr/include/sys/types.h:203:1: note: previous declaration of 'u_int64_t' was here | |
__u_intN_t (64, __DI__); | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:113:17: error: conflicting types for 'int64_t' | |
typedef __s64 int64_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from brctl.c:20: | |
/usr/include/sys/types.h:197:1: note: previous declaration of 'int64_t' was here | |
__intN_t (64, __DI__); | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:134:23: error: conflicting types for 'blkcnt_t' | |
typedef unsigned long blkcnt_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from brctl.c:20: | |
/usr/include/sys/types.h:235:20: note: previous declaration of 'blkcnt_t' was here | |
typedef __blkcnt_t blkcnt_t; /* Type to count number of disk blocks. */ | |
^ | |
In file included from /usr/src/linux/include/linux/uio.h:12:0, | |
from /usr/src/linux/include/linux/socket.h:7, | |
from /usr/include/linux/if.h:23, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/uapi/linux/uio.h:16:8: error: redefinition of 'struct iovec' | |
struct iovec | |
^ | |
In file included from /usr/include/sys/uio.h:28:0, | |
from /usr/include/sys/socket.h:26, | |
from ../libbridge/libbridge.h:22, | |
from brctl.c:25: | |
/usr/include/bits/uio.h:43:8: note: originally defined here | |
struct iovec | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/socket.h:29:8: error: redefinition of 'struct sockaddr' | |
struct sockaddr { | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from ../libbridge/libbridge.h:22, | |
from brctl.c:25: | |
/usr/include/bits/socket.h:149:8: note: originally defined here | |
struct sockaddr | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/socket.h:34:8: error: redefinition of 'struct linger' | |
struct linger { | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from ../libbridge/libbridge.h:22, | |
from brctl.c:25: | |
/usr/include/bits/socket.h:379:8: note: originally defined here | |
struct linger | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/socket.h:47:8: error: redefinition of 'struct msghdr' | |
struct msghdr { | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from ../libbridge/libbridge.h:22, | |
from brctl.c:25: | |
/usr/include/bits/socket.h:224:8: note: originally defined here | |
struct msghdr | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/socket.h:69:8: error: redefinition of 'struct cmsghdr' | |
struct cmsghdr { | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from ../libbridge/libbridge.h:22, | |
from brctl.c:25: | |
/usr/include/bits/socket.h:242:8: note: originally defined here | |
struct cmsghdr | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/socket.h:111:32: error: conflicting types for '__cmsg_nxthdr' | |
static inline struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, | |
^ | |
In file included from /usr/include/features.h:378:0, | |
from /usr/include/stdio.h:27, | |
from brctl.c:19: | |
/usr/include/bits/socket.h:279:1: note: previous definition of '__cmsg_nxthdr' was here | |
__NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)) | |
^ | |
In file included from /usr/src/linux/include/linux/kernel.h:6:0, | |
from /usr/src/linux/include/linux/plist.h:78, | |
from /usr/src/linux/include/linux/pm_qos.h:7, | |
from /usr/src/linux/include/linux/netdevice.h:28, | |
from /usr/src/linux/include/linux/if_bridge.h:16, | |
from ../libbridge/libbridge.h:25, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/linkage.h:7:25: fatal error: asm/linkage.h: No such file or directory | |
#include <asm/linkage.h> | |
^ | |
compilation terminated. | |
Makefile:40: recipe for target 'brctl.o' failed | |
make[1]: *** [brctl.o] Error 1 | |
make[1]: Leaving directory '/usr/ports/contrib/bridge-utils/work/src/bridge-utils-1.5/brctl' | |
make[1]: Entering directory '/usr/ports/contrib/bridge-utils/work/src/bridge-utils-1.5/doc' | |
make[1]: Nothing to be done for 'all'. | |
make[1]: Leaving directory '/usr/ports/contrib/bridge-utils/work/src/bridge-utils-1.5/doc' | |
+ make DESTDIR=/usr/ports/contrib/bridge-utils/work/pkg install | |
for x in libbridge brctl doc; do make -C $x install; done | |
make[1]: Entering directory '/usr/ports/contrib/bridge-utils/work/src/bridge-utils-1.5/libbridge' | |
make[1]: Nothing to be done for 'install'. | |
make[1]: Leaving directory '/usr/ports/contrib/bridge-utils/work/src/bridge-utils-1.5/libbridge' | |
make[1]: Entering directory '/usr/ports/contrib/bridge-utils/work/src/bridge-utils-1.5/brctl' | |
gcc -Wall -O2 -march=x86-64 -pipe -I../libbridge -I/usr/src/linux/include -c brctl.c | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:14:26: error: conflicting types for 'fd_set' | |
typedef __kernel_fd_set fd_set; | |
^ | |
In file included from /usr/include/sys/types.h:219:0, | |
from /usr/include/stdlib.h:314, | |
from brctl.c:20: | |
/usr/include/sys/select.h:75:5: note: previous declaration of 'fd_set' was here | |
} fd_set; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:15:25: error: conflicting types for 'dev_t' | |
typedef __kernel_dev_t dev_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from brctl.c:20: | |
/usr/include/sys/types.h:60:17: note: previous declaration of 'dev_t' was here | |
typedef __dev_t dev_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:19:17: error: conflicting types for 'nlink_t' | |
typedef __u32 nlink_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from brctl.c:20: | |
/usr/include/sys/types.h:75:19: note: previous declaration of 'nlink_t' was here | |
typedef __nlink_t nlink_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:25:26: error: conflicting types for 'timer_t' | |
typedef __kernel_timer_t timer_t; | |
^ | |
In file included from /usr/include/sys/types.h:132:0, | |
from /usr/include/stdlib.h:314, | |
from brctl.c:20: | |
/usr/include/time.h:103:19: note: previous declaration of 'timer_t' was here | |
typedef __timer_t timer_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:45:26: error: conflicting types for 'loff_t' | |
typedef __kernel_loff_t loff_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from brctl.c:20: | |
/usr/include/sys/types.h:44:18: note: previous declaration of 'loff_t' was here | |
typedef __loff_t loff_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:111:17: error: conflicting types for 'uint64_t' | |
typedef __u64 uint64_t; | |
^ | |
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/include/stdint.h:9:0, | |
from /usr/include/netinet/in.h:22, | |
from ../libbridge/libbridge.h:23, | |
from brctl.c:25: | |
/usr/include/stdint.h:55:27: note: previous declaration of 'uint64_t' was here | |
typedef unsigned long int uint64_t; | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:112:17: error: conflicting types for 'u_int64_t' | |
typedef __u64 u_int64_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from brctl.c:20: | |
/usr/include/sys/types.h:203:1: note: previous declaration of 'u_int64_t' was here | |
__u_intN_t (64, __DI__); | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:113:17: error: conflicting types for 'int64_t' | |
typedef __s64 int64_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from brctl.c:20: | |
/usr/include/sys/types.h:197:1: note: previous declaration of 'int64_t' was here | |
__intN_t (64, __DI__); | |
^ | |
In file included from /usr/include/linux/if.h:22:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/types.h:134:23: error: conflicting types for 'blkcnt_t' | |
typedef unsigned long blkcnt_t; | |
^ | |
In file included from /usr/include/stdlib.h:314:0, | |
from brctl.c:20: | |
/usr/include/sys/types.h:235:20: note: previous declaration of 'blkcnt_t' was here | |
typedef __blkcnt_t blkcnt_t; /* Type to count number of disk blocks. */ | |
^ | |
In file included from /usr/src/linux/include/linux/uio.h:12:0, | |
from /usr/src/linux/include/linux/socket.h:7, | |
from /usr/include/linux/if.h:23, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/uapi/linux/uio.h:16:8: error: redefinition of 'struct iovec' | |
struct iovec | |
^ | |
In file included from /usr/include/sys/uio.h:28:0, | |
from /usr/include/sys/socket.h:26, | |
from ../libbridge/libbridge.h:22, | |
from brctl.c:25: | |
/usr/include/bits/uio.h:43:8: note: originally defined here | |
struct iovec | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/socket.h:29:8: error: redefinition of 'struct sockaddr' | |
struct sockaddr { | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from ../libbridge/libbridge.h:22, | |
from brctl.c:25: | |
/usr/include/bits/socket.h:149:8: note: originally defined here | |
struct sockaddr | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/socket.h:34:8: error: redefinition of 'struct linger' | |
struct linger { | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from ../libbridge/libbridge.h:22, | |
from brctl.c:25: | |
/usr/include/bits/socket.h:379:8: note: originally defined here | |
struct linger | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/socket.h:47:8: error: redefinition of 'struct msghdr' | |
struct msghdr { | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from ../libbridge/libbridge.h:22, | |
from brctl.c:25: | |
/usr/include/bits/socket.h:224:8: note: originally defined here | |
struct msghdr | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/socket.h:69:8: error: redefinition of 'struct cmsghdr' | |
struct cmsghdr { | |
^ | |
In file included from /usr/include/sys/socket.h:38:0, | |
from ../libbridge/libbridge.h:22, | |
from brctl.c:25: | |
/usr/include/bits/socket.h:242:8: note: originally defined here | |
struct cmsghdr | |
^ | |
In file included from /usr/include/linux/if.h:23:0, | |
from ../libbridge/libbridge.h:24, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/socket.h:111:32: error: conflicting types for '__cmsg_nxthdr' | |
static inline struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, | |
^ | |
In file included from /usr/include/features.h:378:0, | |
from /usr/include/stdio.h:27, | |
from brctl.c:19: | |
/usr/include/bits/socket.h:279:1: note: previous definition of '__cmsg_nxthdr' was here | |
__NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)) | |
^ | |
In file included from /usr/src/linux/include/linux/kernel.h:6:0, | |
from /usr/src/linux/include/linux/plist.h:78, | |
from /usr/src/linux/include/linux/pm_qos.h:7, | |
from /usr/src/linux/include/linux/netdevice.h:28, | |
from /usr/src/linux/include/linux/if_bridge.h:16, | |
from ../libbridge/libbridge.h:25, | |
from brctl.c:25: | |
/usr/src/linux/include/linux/linkage.h:7:25: fatal error: asm/linkage.h: No such file or directory | |
#include <asm/linkage.h> | |
^ | |
compilation terminated. | |
Makefile:40: recipe for target 'brctl.o' failed | |
make[1]: *** [brctl.o] Error 1 | |
make[1]: Leaving directory '/usr/ports/contrib/bridge-utils/work/src/bridge-utils-1.5/brctl' | |
make[1]: Entering directory '/usr/ports/contrib/bridge-utils/work/src/bridge-utils-1.5/doc' | |
mkdir -p /usr/ports/contrib/bridge-utils/work/pkg/usr/man/man8 | |
/usr/bin/install -c -m 644 brctl.8 /usr/ports/contrib/bridge-utils/work/pkg/usr/man/man8 | |
make[1]: Leaving directory '/usr/ports/contrib/bridge-utils/work/src/bridge-utils-1.5/doc' | |
=======> Build result: | |
drwxr-xr-x 0 root root 0 May 8 10:47 usr/ | |
drwxr-xr-x 0 root root 0 May 8 10:47 usr/man/ | |
drwxr-xr-x 0 root root 0 May 8 10:47 usr/man/man8/ | |
-rw-r--r-- 0 root root 2672 May 8 10:47 usr/man/man8/brctl.8.gz | |
=======> ERROR: Footprint mismatch found: | |
MISSING drwxr-xr-x root/root usr/sbin/ | |
MISSING -rwxr-xr-x root/root usr/sbin/brctl | |
=======> ERROR: Building '/usr/ports/contrib/bridge-utils/bridge-utils#1.5-1.pkg.tar.gz' failed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# prt-get listinst -v | egrep "(gcc|glibc)" | |
avr-gcc 4.8.2-1 | |
gcc 4.8.2-1 | |
glibc 2.19-2 | |
glibc-32 2.19-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment