Maarten Lankhorst wrote:
> It works with the mips book and KERNEL_DIR=${CLFS}/usr/include using 
> 1.3.6, so I suggest trying that one first, to see if that one builds 
> succesfully.

I know Colin seems to have gotten this figured out, but for reference
later:

I'm not sure what changed between iptables 1.3.6 and 1.3.7, but it looks
like maybe one of the programs is fairly new, and possibly not quite
stable yet.  iptables-xml.c seems to be redefining a lot of the same
functions that are in iptables-restore.c; then the build tries to link
all the .o files together.  It's easy enough to fix some of these (just
add "static" before the function definition).  But some of them (like
iptables_restore_main) are called from other compilation units, so
"static" won't work.

It should work to build it without DO_MULTI=1 in the make command line.
That'll make it build separate programs instead of trying to link
iptables-xml.o and iptables-restore.o together.  Or, you could do some
mass function renaming.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev

Reply via email to