Linux From Scratch - Version 6.3
Chapter 6. Installing Basic System Software
6.41.1. Installation of IPRoute2
My kernel version is 2.6.25
The installation of two manual pages is broken and results in dangling
symlinks. Fix this with the following command:
sed -i -e '/tc-bfifo.8/d' -e '/tc-pfifo.8/s/pbfifo/bfifo/' Makefile
Compile the package:
make SBINDIR=/sbin
.
.
.
.
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o m_ipt.o m_ipt.c
In file included from ../include/iptables.h:4,
from m_ipt.c:17:
../include/iptables_common.h:15: warning: function declaration isn't a prototype
In file included from ../include/linux/netfilter_ipv4.h:8,
from ../include/linux/netfilter_ipv4/ip_tables.h:18,
from ../include/libiptc/libiptc.h:6,
from ../include/iptables.h:5,
from m_ipt.c:17:
/usr/include/linux/netfilter.h:40: error: expected specifier-qualifier-list
before '__u32'
make[1]: *** [m_ipt.o] Error 1
rm emp_ematch.lex.c emp_ematch.yacc.c
make[1]: Leaving directory `/sources/iproute-2.6.20-070313/tc'
make: *** [all] Error 2
how to fix that, i believe it is because 2.6.25 kernel headers..
_________________________________________________________________
Rakastatko Hotmailia? Nyt se on entistäkin parempi. Vedä ja pudota, uudet
lukuruudut, tehostettu turvallisuus ja 5 gigatavua ILMAISTA säilytystilaa. Tämä
kaikki tekee online-viestinnästäsi paljon helpompaa. Upouusi Windows Live
Hotmail. Avaa NYT ilmainen tilisi!
http://get.live.com/mail/overview/
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page