tux compilation problem on linux-2.6.9

Julien Lirochon jlirochon at cyanide-studio.com
Fri Nov 26 17:37:02 UTC 2004


I patched a plain linux-2.6.9 kernel with the tux3-2.6.9-rc3-A6 patch

At compile time I got this error :

net/ipv4/tcp_output.c:448: error: `tcp_set_skb_tso_factor' undeclared 
here (not in a function)
net/ipv4/tcp_output.c:448: error: initializer element is not constant
net/ipv4/tcp_output.c:448: error: (near initialization for 
`__ksymtab_tcp_set_skb_tso_factor.value')
net/ipv4/tcp_output.c:448: error: __ksymtab_tcp_set_skb_tso_factor 
causes a section type conflict
make[2]: *** [net/ipv4/tcp_output.o] Error 1
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

If you have this error you should edit net/ipv4/tcp_output.c and replace 
at line 448

EXPORT_SYMBOL_GPL(tcp_set_skb_tso_factor);

by

EXPORT_SYMBOL_GPL(tcp_set_skb_tso_segs);


Maybe it will help someone :)




More information about the tux-list mailing list