PDA

View Full Version : Help regarding kernel compilation


codingfreak
20th September 2011, 09:26 AM
Hi,

I am not sure if it is the right place to ask about my issue or not.

I am trying to compile the REDHAT 5.7 kernel of version 2.6.18 for 64 bit.

I am seeing the following error at the time of compilation

net/built-in.o: In function `ipv6_addr_type':
/usr/src/redhat/BUILD/kernel-2.6.18.274.el5.4rd/include/net/ipv6.h:276: undefined reference to `__ipv6_addr_type'
make: *** [.tmp_vmlinux1] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.53242 (%build)

But it seems quite strange as I am not able to make out anything out of it.

stevea
25th September 2011, 09:21 AM
It looks like this was addressed on the kernel mailing list.
Some suggestions and work-arounds there.

http://www.gossamer-threads.com/lists/linux/kernel/732657?do=post_view_flat#732657

Make the proper dependencies, so that SUNRPC is only possibly built
modular is IPV6 is modular, that's the correct way to do this.

Mmabatho - Santos Dumont - Deception Bay Photos on Instagram