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

Re: Trouble compiling 2.4.21 kernel



On Thursday 26 June 2003 01:42 am, Nick Hastings wrote:
> Hi,
>
> * Roberto Sanchez <rcsanchez97@yahoo.es> [030626 12:48]:
> > I just downloaded the new kernel-source-2.4.21-1 package.  When I
> > unpacked it and tried 'make xconfig', I got this:
> >
> > rm -f include/asm
> > ( cd include ; ln -sf asm-i386 asm)
> > make -C scripts kconfig.tk
> > make[1]: Entering directory `/usr/src/kernel-source-2.4.21/scripts'
> > cat header.tk >> ./kconfig.tk
> > ./tkparse < ../arch/i386/config.in >> kconfig.tk
> > crypto/Config.in: 43: unknown command
> > make[1]: *** [kconfig.tk] Error 1
> > make[1]: Leaving directory `/usr/src/kernel-source-2.4.21/scripts'
> > make: *** [xconfig] Error 2
> >
> > This is line 43 from /usr/src/linux/crypto/Configure.in:
> >
> >          "$CONFIG_INET6_ESP" = "m" ]; then
> >
> > I can't figure out what the problem is.  Any ideas?
>
> Sorry no ideas, but the same thing just happened to me. I didn't bother
> trying to debug it, just used menuconfig instead.

I, too had the same problem.. same line with error and all.. 

My system is woody, using gcc-2.95...

Like the rest of you , I, also used menuconfig...  But mine wouldn't 
compile.. I got this error:

ah6.c: In function 'ah6_err':
ah6.c:225: warning: implicit declaration of function 'NIP6'
ah6.c:225: warning: too few arguments for format
rm -f ipv6.o
ld -m elf_i386  -r -o ipv6.o af_inet6.o anycast.o ip6_output.o ip6_input.o 
addrconf.o sit.o route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o raw.o 
protocol.o icmp.o mcast.o reassembly.o tcp_ipv6.o exthdrs.o 
sysctl_net_ipv6.o datagram.o proc.o ip6_flowlabel.o xfrm6_policy.o 
xfrm6_state.o xfrm6_input.o ipv6_syms.o ah6.o
ah6.o: In function 'init_module':
ah6.o(.text+0x884): multiple definition of 'init_module'
af_inet6.o(.text+0xa4c): first defined here
ld: Warning: size of symbol 'init_module' changed from 619 to 97 in ah6.o
ah6.o: In function 'cleanup_module':
ah6.o(.text+0x8e8): multiple definition of 'cleanup_module'
af_inet6.o(.text+0xcb8): first defined here
ld: Warning: size of symbol 'cleanup_module' changed from 175 to 65 in ah6.o
make[3]: *** [ipv6.o] Error 1
make[3]: Leaving directory '/usr/src/kernel-source-2.4.21/net/ipv6'
make[2]: *** [_modsubdir_ipv6] Error 2
make[2]: Leaving directory '/usr/src/kernel-source-2.4.21/net'
make[1]: *** [_mod_net] Error 2
make[1]: Leaving directory '/usr/src/kernel-source-2.4.21'
make: *** [stamp-build] Error 2

This was with a package created from the stock kernel.org source patched 
with kernel-source-2.4.21*diff.

I then got the *2.4.21-1.orig file, patched it with the diff... same error 
with xconfig, but it didn't seem to get as far as the first..  
The first errors:

ipcomp6.c: In function `ipcomp6_input':
ipcomp6.c:74: sizeof applied to an incomplete type
ipcomp6.c:75: sizeof applied to an incomplete type
ipcomp6.c:78: sizeof applied to an incomplete type
ipcomp6.c:78: sizeof applied to an incomplete type
ipcomp6.c:78: sizeof applied to an incomplete type
ipcomp6.c:92: sizeof applied to an incomplete type

I'm almost tempted to compile a stock unpatched kernel and forget the 
debian patches...



Reply to: