#19898: build error / musl / strongswan
------------------------------+------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: high | Milestone:
Component: packages | Version: Trunk
Keywords: musl, strongswan |
------------------------------+------------------------
Making all in plugins/kernel_netlink
make[8]: Entering directory `/mnt/storage/openwrt-cc/trunk/build_dir
/target-
mips_34kc_musl-1.1.10/strongswan-5.3.2/src/libhydra/plugins/kernel_netlink'
depbase=`echo kernel_netlink_ipsec.lo | sed
's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../../libtool --tag=CC --mode=compile mips-openwrt-linux-
musl-gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/include
-I../../../../src/libstrongswan -I../../../../src/libhydra
-DROUTING_TABLE=220 -DROUTING_TABLE_PRIO=220 -I/mnt/storage/openwrt-
cc/trunk/staging_dir/target-mips_34kc_musl-1.1.10/usr/include
-I/mnt/storage/openwrt-cc/trunk/staging_dir/target-
mips_34kc_musl-1.1.10/include -I/mnt/storage/openwrt-cc/trunk/staging_dir
/toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.10/usr/include -I/mnt/storage
/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include -rdynamic -Os -pipe -mno-
branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts
-Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-
security -include /mnt/storage/openwrt-cc/trunk/build_dir/target-
mips_34kc_musl-1.1.10/strongswan-5.3.2/config.h -MT
kernel_netlink_ipsec.lo -MD -MP -MF $depbase.Tpo -c -o
kernel_netlink_ipsec.lo kernel_netlink_ipsec.c &&\
mv -f $depbase.Tpo $depbase.Plo
OpenWrt-libtool: compile: mips-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I.
-I../../../.. -I../../../../src/include -I../../../../src/libstrongswan
-I../../../../src/libhydra -DROUTING_TABLE=220 -DROUTING_TABLE_PRIO=220
-I/mnt/storage/openwrt-cc/trunk/staging_dir/target-
mips_34kc_musl-1.1.10/usr/include -I/mnt/storage/openwrt-
cc/trunk/staging_dir/target-mips_34kc_musl-1.1.10/include -I/mnt/storage
/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/usr/include -I/mnt/storage/openwrt-
cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include -rdynamic -Os -pipe -mno-
branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts
-Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-
security -include /mnt/storage/openwrt-cc/trunk/build_dir/target-
mips_34kc_musl-1.1.10/strongswan-5.3.2/config.h -MT
kernel_netlink_ipsec.lo -MD -MP -MF .deps/kernel_netlink_ipsec.Tpo -c
kernel_netlink_ipsec.c -fPIC -DPIC -o .libs/kernel_netlink_ipsec.o
In file included from ../../../../src/include/linux/pfkeyv2.h:9:0,
from ../../../../src/include/linux/ipsec.h:6,
from kernel_netlink_ipsec.c:24:
../../../../src/include/linux/types.h:12:26: error: conflicting types for
'fd_set'
typedef __kernel_fd_set fd_set;
^
In file included from /mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/sys/types.h:71:0,
from kernel_netlink_ipsec.c:21:
/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/sys/select.h:25:3: note:
previous declaration of 'fd_set' was here
} fd_set;
^
In file included from ../../../../src/include/linux/pfkeyv2.h:9:0,
from ../../../../src/include/linux/ipsec.h:6,
from kernel_netlink_ipsec.c:24:
../../../../src/include/linux/types.h:13:25: error: conflicting types for
'dev_t'
typedef __kernel_dev_t dev_t;
^
In file included from /mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/sys/types.h:57:0,
from kernel_netlink_ipsec.c:21:
/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/bits/alltypes.h:200:25: note:
previous declaration of 'dev_t' was here
typedef unsigned _Int64 dev_t;
^
In file included from ../../../../src/include/linux/pfkeyv2.h:9:0,
from ../../../../src/include/linux/ipsec.h:6,
from kernel_netlink_ipsec.c:24:
../../../../src/include/linux/types.h:14:25: error: conflicting types for
'ino_t'
typedef __kernel_ino_t ino_t;
^
In file included from /mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/sys/types.h:57:0,
from kernel_netlink_ipsec.c:21:
/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/bits/alltypes.h:195:25: note:
previous declaration of 'ino_t' was here
typedef unsigned _Int64 ino_t;
^
In file included from ../../../../src/include/linux/pfkeyv2.h:9:0,
from ../../../../src/include/linux/ipsec.h:6,
from kernel_netlink_ipsec.c:24:
../../../../src/include/linux/types.h:16:9: error: unknown type name
'__kernel_nlink_t'
typedef __kernel_nlink_t nlink_t;
^
../../../../src/include/linux/types.h:16:26: error: conflicting types for
'nlink_t'
typedef __kernel_nlink_t nlink_t;
^
In file included from /mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/sys/types.h:57:0,
from kernel_netlink_ipsec.c:21:
/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/bits/alltypes.h:185:23: note:
previous declaration of 'nlink_t' was here
typedef unsigned _Reg nlink_t;
^
In file included from ../../../../src/include/linux/pfkeyv2.h:9:0,
from ../../../../src/include/linux/ipsec.h:6,
from kernel_netlink_ipsec.c:24:
../../../../src/include/linux/types.h:17:25: error: conflicting types for
'off_t'
typedef __kernel_off_t off_t;
^
In file included from /mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/sys/types.h:57:0,
from kernel_netlink_ipsec.c:21:
/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/bits/alltypes.h:190:16: note:
previous declaration of 'off_t' was here
typedef _Int64 off_t;
^
In file included from ../../../../src/include/linux/pfkeyv2.h:9:0,
from ../../../../src/include/linux/ipsec.h:6,
from kernel_netlink_ipsec.c:24:
../../../../src/include/linux/types.h:22:26: error: conflicting types for
'timer_t'
typedef __kernel_timer_t timer_t;
^
In file included from /mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/sys/types.h:57:0,
from kernel_netlink_ipsec.c:21:
/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/bits/alltypes.h:237:16: note:
previous declaration of 'timer_t' was here
typedef void * timer_t;
^
In file included from ../../../../src/include/linux/pfkeyv2.h:9:0,
from ../../../../src/include/linux/ipsec.h:6,
from kernel_netlink_ipsec.c:24:
../../../../src/include/linux/types.h:124:23: error: conflicting types for
'blkcnt_t'
typedef unsigned long blkcnt_t;
^
In file included from /mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/sys/types.h:57:0,
from kernel_netlink_ipsec.c:21:
/mnt/storage/openwrt-cc/trunk/staging_dir/toolchain-
mips_34kc_gcc-4.9-linaro_musl-1.1.10/include/bits/alltypes.h:210:16: note:
previous declaration of 'blkcnt_t' was here
typedef _Int64 blkcnt_t;
^
make[8]: *** [kernel_netlink_ipsec.lo] Error 1
--
Ticket URL: <https://dev.openwrt.org/ticket/19898>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets