Hi,
When compiling the kernel 3.12 with gcc 4.9.2 (from sdk 1v8) for p1010/e500V2 platform, and after activate the flags:
CONFIG_TCP_MD5SIG=y
CONFIG_IPV6_MROUTE=y
CONFIG_IPV6_PIMSM_V2=y
and compiled :
make all V=2 LIBGCC=/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/ppce500v2-fsl-linux-gnuspe/usr/lib/powerpc-fsl-linux-gnuspe/4.9.2/libgcc.a
I got this error:
...
...
CC net/ipv4/esp4.o - due to target missing
CC net/ipv4/ipcomp.o - due to target missing
CC net/ipv4/xfrm4_tunnel.o - due to target missing
CC net/ipv4/xfrm4_mode_beet.o - due to target missing
CC net/ipv4/tunnel4.o - due to target missing
CC net/ipv4/xfrm4_mode_transport.o - due to target missing
CC net/ipv4/xfrm4_mode_tunnel.o - due to target missing
CC net/ipv4/ipconfig.o - due to target missing
CC net/ipv4/inet_diag.o - due to target missing
CC net/ipv4/tcp_diag.o - due to target missing
CC net/ipv4/tcp_cubic.o - due to target missing
CC net/ipv4/xfrm4_policy.o - due to target missing
CC net/ipv4/xfrm4_state.o - due to target missing
CC net/ipv4/xfrm4_input.o - due to target missing
CC net/ipv4/xfrm4_output.o - due to target missing
LD net/ipv4/built-in.o - due to target missing
CC net/ipv6/af_inet6.o - due to target missing
CC net/ipv6/anycast.o - due to target missing
CC net/ipv6/ip6_output.o - due to target missing
CC net/ipv6/ip6_input.o - due to target missing
CC net/ipv6/addrconf.o - due to target missing
CC net/ipv6/addrlabel.o - due to target missing
CC net/ipv6/route.o - due to target missing
CC net/ipv6/ip6_fib.o - due to target missing
CC net/ipv6/ipv6_sockglue.o - due to target missing
CC net/ipv6/ndisc.o - due to target missing
CC net/ipv6/udp.o - due to target missing
CC net/ipv6/udplite.o - due to target missing
CC net/ipv6/raw.o - due to target missing
CC net/ipv6/icmp.o - due to target missing
CC net/ipv6/mcast.o - due to target missing
CC net/ipv6/reassembly.o - due to target missing
CC net/ipv6/tcp_ipv6.o - due to target missing
CC net/ipv6/ping.o - due to target missing
CC net/ipv6/exthdrs.o - due to target missing
CC net/ipv6/datagram.o - due to target missing
CC net/ipv6/ip6_flowlabel.o - due to target missing
CC net/ipv6/inet6_connection_sock.o - due to target missing
CC net/ipv6/sysctl_net_ipv6.o - due to target missing
CC net/ipv6/ip6mr.o - due to target missing
net/ipv6/ip6mr.c:1090:27: error: redefinition of 'ip6mr_cache_find_any'
static struct mfc6_cache *ip6mr_cache_find_any(struct mr6_table *mrt,
^
net/ipv6/ip6mr.c:1044:27: note: previous definition of 'ip6mr_cache_find_any' was here
static struct mfc6_cache *ip6mr_cache_find_any(struct mr6_table *mrt,
^
net/ipv6/ip6mr.c:1044:27: warning: 'ip6mr_cache_find_any' defined but not used [-Wunused-function]
make[2]: *** [net/ipv6/ip6mr.o] Error 1
make[1]: *** [net/ipv6] Error 2
make: *** [net] Error 2
Info related with the build environment, is satted here: 'struct task_struct' declared inside parameter list: in /arch/powerpc/include/asm/hw_breakpoint.h"!
In attach, the .config .
Any tip com successfully compile the kernel?
thanks
antónio
Original Attachment has been moved to: .config.zip
Hello antónio,
Please refer to the following procedure.
$source /opt/fsl-networking/QorIQ-SDK-V1.8/environment-setup-ppce500v2-fsl-linux-gnuspe
$unset LDFLAGS
$ make uImage CC='powerpc-fsl-linux-gnuspe-gcc --sysroot=/opt/fsl-networking/QorIQ-SDK-V1.8/sysroots/ppce500v2-fsl-linux-gnuspe'
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------