On 8/21/06, Arnie Stender <[EMAIL PROTECTED]> wrote:
        I'm trying to build the net-tools package from the dev book. One of the
patches you say to apply is net-tools-1.60-gcc34-3.patch I am running
with gcc-4.1.1. I got the following errors. Is there a different patch I
need to apply if using gcc-4.1.1?

You're using CLFS correct, with their kernel headers? I think it's a
kernel header issue (see it choking in /usr/include/linux/if.h).

Arnie

cc -D_GNU_SOURCE -O2 -Wall -g  -I. -idirafter ./include/ -Ilib   -c -o
iptunnel.o iptunnel.c
In file included from /usr/include/linux/if_tunnel.h:4,
                 from iptunnel.c:39:
/usr/include/linux/if.h:93: error: redefinition of 'struct ifmap'

Looks like Jim made a patch for this which for some reason isn't in
the book. I guess it's not a problem with L-L-H headers.

http://www.linuxfromscratch.org/patches/downloads/net-tools/net-tools-1.60-kernel_headers-3.patch

Arnie, I would suggest looking in the patches repo for non-x86 fixes.
Jim drops a lot of extra patches to fix up the other arches in there.

P.S. Joe also seems to have dropped an fPIC fix for perl in there, too.

http://www.linuxfromscratch.org/patches/downloads/perl/perl-5.8.8-fPIC-1.patch

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to