Sergio Silva wrote:
I'm trying to compiling BCM5721 (linux-3.58b.zip) , but this error ocurred. My server is a IBM x206m, Fedora 5 and it has installed kernel-2.6.15-1.2054_FC5 kernel-devel-2.6.17-1.2157_FC5 kernel-smp-2.6.15-1.2054_FC5 Can anybody help me? Thanks make -C /lib/modules/2.6.15-1.2054_FC5/build SUBDIRS=/usr/src/redhat/BUILD/tg3-3.58b modules make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2157_FC5-i686' CC [M] /usr/src/redhat/BUILD/tg3-3.58b/tg3.o /usr/src/redhat/BUILD/tg3-3.58b/tg3.c: In function 'tg3_start_xmit': /usr/src/redhat/BUILD/tg3-3.58b/tg3.c:3786: error: 'struct skb_shared_info' has no member named 'tso_size' /usr/src/redhat/BUILD/tg3-3.58b/tg3.c: In function 'tg3_start_xmit_dma_bug': /usr/src/redhat/BUILD/tg3-3.58b/tg3.c:3919: error: 'struct skb_shared_info' has no member named 'tso_size' make[2]: *** [/usr/src/redhat/BUILD/tg3-3.58b/tg3.o] Error 1 make[1]: *** [_module_/usr/src/redhat/BUILD/tg3-3.58b] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2157_FC5-i686' make: *** [default] Error 2 erro: Código de saÃda inválido do /var/tmp/rpm-tmp.77378 (%build)
Edit the source and change all instances of "tso_size" to "gso_size", then rebuild.
Sometime in the past few weeks that particular struct member was changed in the kernel.
Jay -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list