Hi, i''m just new here, i''m searching for how to compile tc (if i''ve understood correctly, i must compile the whole iproute2 thing). So i did like the read me file said: ------ 1. Look at start of Makefile and set correct values for: KERNEL_INCLUDE ----- i did that, and then i doesn''t understand a damn thing about the reste of the the 1st step about ADDLIB and LDLIBS. so when i type the make command, the compiling process fail and end before compiling ip. Could someone give me better indications than this read me file perhaps ? Thank you. Vincent.
Vincent Dautremont wrote:> Hi, i''m just new here, > i''m searching for how to compile tc (if i''ve understood correctly, i > must compile the whole iproute2 thing). > > So i did like the read me file said: > ------ > 1. Look at start of Makefile and set correct values for: > KERNEL_INCLUDE > ----- > i did that, and then i doesn''t understand a damn thing about the reste > of the the 1st step about ADDLIB and LDLIBS. > so when i type the make command, the compiling process fail and end > before compiling ip. > > Could someone give me better indications than this read me file perhaps ?I''ve never had to change anything other than KERNEL_INCLUDE and sometimes remove arpd from the build because I don''t need it and it sometimes causes errors (for me because of no/wrong BerkeleyDB). Just tried the 2.6.19 and 20 versions (I notice iproute-latest still points at 19). Neither build - Error on m_ipt.o. This was just a quick test against a vanilla 2.6.19-rc6. Previously putting different iptables/netfilter headers into iproute include fixed this - was along time ago. Maybe Stephen will know - added to cc. Andy.
I''m having a bunch of troubles with this as well. I''m using Ubuntu Dapper with vanilla kernel 2.6.20.3. The iproute2-2.6.20 compile dies right away after /usr/include/linux/ip.h:93:2: error: #error "Endian problem - this didn''t happen" iptunnel.c: In function ‘parse_args’: iptunnel.c:62: error: ‘struct iphdr’ has no member named ‘version’ iptunnel.c:63: error: ‘struct iphdr’ has no member named ‘ihl’ make[1]: *** [iptunnel.o] Error 1 make[1]: Leaving directory `/usr/src/iproute-2.6.20-070313/ip'' make: *** [all] Error 2 The iproute2-2.6.19 kicks out that same error (except the last line) and tries to run the whole thing but nothing compiles correctly. The tc section looks like this: make[1]: Entering directory `/usr/src/iproute2-2.6.19-061214/tc'' 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/libiptc/libiptc.h:6, from ../include/iptables.h:5, from m_ipt.c:20: ../include/linux/netfilter_ipv4/ip_tables.h:20:38: error: linux/netfilter/x_tables.h: No such file or directory In file included from ../include/libiptc/libiptc.h:6, from ../include/iptables.h:5, from m_ipt.c:20: ../include/linux/netfilter_ipv4/ip_tables.h:87: error: field ‘counters’ has incomplete type ../include/linux/netfilter_ipv4/ip_tables.h:115:39: error: linux/netfilter/xt_tcpudp.h: No such file or directory ../include/linux/netfilter_ipv4/ip_tables.h:144: error: ‘XT_FUNCTION_MAXNAMELEN’ undeclared here (not in a function) In file included from m_ipt.c:20: ../include/iptables.h:56: warning: ‘struct xt_entry_match’ declared inside parameter list ../include/iptables.h:56: warning: its scope is only this definition or declaration, which is probably not what you want ../include/iptables.h:63: warning: ‘struct xt_entry_match’ declared inside parameter list ../include/iptables.h:70: warning: ‘struct xt_entry_match’ declared inside parameter list ../include/iptables.h:74: warning: ‘struct xt_entry_match’ declared inside parameter list m_ipt.c: In function ‘build_st’: m_ipt.c:356: error: invalid application of ‘sizeof’ to incomplete type ‘struct xt_entry_target’ m_ipt.c:360: error: dereferencing pointer to incomplete type m_ipt.c:364: error: dereferencing pointer to incomplete type m_ipt.c:368: error: dereferencing pointer to incomplete type m_ipt.c: In function ‘parse_ipt’: m_ipt.c:499: error: dereferencing pointer to incomplete type m_ipt.c: In function ‘print_ipt’: m_ipt.c:547: error: dereferencing pointer to incomplete type m_ipt.c:559: error: dereferencing pointer to incomplete type make[1]: *** [m_ipt.o] Error 1 make[1]: Leaving directory `/usr/src/iproute2-2.6.19-061214/tc'' I have very little experience compiling software so I''m not entirely sure where to go from here. How can I try to compile iproute2-2.6.20 with only tc? As I have installed iptables-1.3.7 and various kernel patches it seems likely that some variation on the fix suggested below would help. But I''m just not sure exactly what I need. Any suggestions? Thank John Andy Furniss wrote:> Vincent Dautremont wrote: >> Hi, i''m just new here, >> i''m searching for how to compile tc (if i''ve understood correctly, i >> must compile the whole iproute2 thing). >> >> So i did like the read me file said: >> ------ >> 1. Look at start of Makefile and set correct values for: >> KERNEL_INCLUDE >> ----- >> i did that, and then i doesn''t understand a damn thing about the >> reste of the the 1st step about ADDLIB and LDLIBS. >> so when i type the make command, the compiling process fail and end >> before compiling ip. >> >> Could someone give me better indications than this read me file >> perhaps ? > > I''ve never had to change anything other than KERNEL_INCLUDE and > sometimes remove arpd from the build because I don''t need it and it > sometimes causes errors (for me because of no/wrong BerkeleyDB). > > Just tried the 2.6.19 and 20 versions (I notice iproute-latest still > points at 19). Neither build - Error on m_ipt.o. This was just a quick > test against a vanilla 2.6.19-rc6. > > Previously putting different iptables/netfilter headers into iproute > include fixed this - was along time ago. Maybe Stephen will know - > added to cc. > > Andy. > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc-- John Baker Network Systems Administrator Marlboro College Phone: 451-7551 off campus; 551 on campus
John Baker wrote:> I''m having a bunch of troubles with this as well. I''m using Ubuntu > Dapper with vanilla kernel 2.6.20.3. > > The iproute2-2.6.20 compile dies right away after > /usr/include/linux/ip.h:93:2: error: #error "Endian problem - this > didn''t happen"Maybe you are using the wrong headers - before the build do - export KERNEL_INCLUDE=/path/to/your/linux-2.6.20.3/include/ don''t build against anything in /usr/include/linux Andy.
Stephen Hemminger wrote:> > Try the latest git tree. I had to add some more ip_tables headers > to deal with the API changes in iptables that causes m_ipt.c to > have to change as well.Thanks - that compiles OK for me. Andy.
Hi, i''m still having problems about getting tc to compile, it seams to be a glibc, or yacc or bison problem and i''m totally stranger to that, i can only understand that it quits after a double free !!! Can anyone translate this log in a solution ? Thank you. Vincent. Le 23 mars 07 à 00:24, Andy Furniss a écrit :> > > Looks like iproute 2.6.19/20 won''t work - as Stephen said use the > git tree - it just compiled OK for me. > > I don''t know if your distro already has git installed if it does > just do - > > git clone git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/ > iproute2.git > > (as one line) and it will get the latest iproute2 for you. > > Andy.-----here is my bash output---- vdautrem@paranux2:~/Desktop/git$ git clone git://git.kernel.org/pub/ scm/linux/kernel/git/shemminger/iproute2.git Generating pack... Done counting 3328 objects. Deltifying 3328 objects. 100% (3328/3328) done Total 3328 (delta 2120), reused 3141 (delta 1939) vdautrem@paranux2:~/Desktop/git$ ls iproute2 vdautrem@paranux2:~/Desktop/git$ make make: *** Pas de cibles sp√©cifi√©es et aucun makefile n''a √©t√© trouv√©. Arr√™t. vdautrem@paranux2:~/Desktop/git$ cd iproute2/ vdautrem@paranux2:~/Desktop/git/iproute2$ make sh configure TC schedulers ATM no make[1]: entrant dans le r√©pertoire ¬´ /home/vdautrem/Desktop/git/ iproute2/lib ¬ª gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ll_map.o ll_map.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o libnetlink.o libnetlink.c ar rcs libnetlink.a ll_map.o libnetlink.o gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o utils.o utils.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o rt_names.o rt_names.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ll_types.o ll_types.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ll_proto.o ll_proto.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ll_addr.o ll_addr.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o inet_proto.o inet_proto.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o dnet_ntop.o dnet_ntop.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o dnet_pton.o dnet_pton.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ipx_ntop.o ipx_ntop.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ipx_pton.o ipx_pton.c ar rcs libutil.a utils.o rt_names.o ll_types.o ll_proto.o ll_addr.o inet_proto.o dnet_ntop.o dnet_pton.o ipx_ntop.o ipx_pton.o make[1]: quittant le r√©pertoire ¬´ /home/vdautrem/Desktop/git/ iproute2/lib ¬ª make[1]: entrant dans le r√©pertoire ¬´ /home/vdautrem/Desktop/git/ iproute2/ip ¬ª gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ip.o ip.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ipaddress.o ipaddress.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o iproute.o iproute.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o iprule.o iprule.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o rtm_map.o rtm_map.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o iptunnel.o iptunnel.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ip6tunnel.o ip6tunnel.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o tunnel.o tunnel.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ipneigh.o ipneigh.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ipntable.o ipntable.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o iplink.o iplink.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ipmaddr.o ipmaddr.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ipmonitor.o ipmonitor.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ipmroute.o ipmroute.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ipprefix.o ipprefix.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o ipxfrm.o ipxfrm.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o xfrm_state.o xfrm_state.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o xfrm_policy.o xfrm_policy.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o xfrm_monitor.o xfrm_monitor.c gcc ip.o ipaddress.o iproute.o iprule.o rtm_map.o iptunnel.o ip6tunnel.o tunnel.o ipneigh.o ipntable.o iplink.o ipmaddr.o ipmonitor.o ipmroute.o ipprefix.o ipxfrm.o xfrm_state.o xfrm_policy.o xfrm_monitor.o ../lib/libnetlink.a ../lib/libutil.a -lresolv -L../ lib -lnetlink -lutil -o ip gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -c -o rtmon.o rtmon.c gcc rtmon.o ../lib/libnetlink.a ../lib/libutil.a -lresolv -L../lib -lnetlink -lutil -o rtmon make[1]: quittant le r√©pertoire ¬´ /home/vdautrem/Desktop/git/ iproute2/ip ¬ª make[1]: entrant dans le r√©pertoire ¬´ /home/vdautrem/Desktop/git/ iproute2/tc ¬ª gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o tc_core.o tc_core.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o tc_red.o tc_red.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o tc_cbq.o tc_cbq.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o tc_estimator.o tc_estimator.c ar rcs libtc.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o tc.o tc.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o tc_qdisc.o tc_qdisc.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o tc_class.o tc_class.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o tc_filter.o tc_filter.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o tc_util.o tc_util.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o tc_monitor.o tc_monitor.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o m_police.o m_police.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o m_estimator.o m_estimator.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o m_action.o m_action.c gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o m_ematch.o m_ematch.c bison -d -t -v -o emp_ematch.yacc.c emp_ematch.y "emp_ematch.y", line 9: junk after `%%'' in definition section "emp_ematch.y", line 9: no input grammar *** glibc detected *** bison: double free or corruption (!prev): 0x0805b638 *** ======= Backtrace: ========/lib/tls/i686/cmov/libc.so.6[0x401a08bd] /lib/tls/i686/cmov/libc.so.6(__libc_free+0x84)[0x401a0a44] /lib/tls/i686/cmov/libc.so.6(fclose+0x14d)[0x4018fdbd] bison[0x804eb1f] bison[0x805586b] bison[0x805596b] bison[0x8050047] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0x4014f8cc] bison(__gxx_personality_v0+0x59)[0x8048db1] ======= Memory map: =======08048000-0805a000 r-xp 00000000 03:01 475370 /usr/bin/bison 0805a000-0805b000 rw-p 00011000 03:01 475370 /usr/bin/bison 0805b000-0807c000 rw-p 0805b000 00:00 0 [heap] 40000000-40019000 r-xp 00000000 03:01 781846 /lib/ld-2.4.so 40019000-4001b000 rw-p 00018000 03:01 781846 /lib/ld-2.4.so 4001b000-40022000 rw-p 4001b000 00:00 0 40023000-40024000 rw-p 40023000 00:00 0 4002a000-400fe000 r-xp 00000000 03:01 474750 /usr/lib/libstdc+ +.so.6.0.8 400fe000-40101000 r--p 000d4000 03:01 474750 /usr/lib/libstdc+ +.so.6.0.8 40101000-40103000 rw-p 000d7000 03:01 474750 /usr/lib/libstdc+ +.so.6.0.8 40103000-40109000 rw-p 40103000 00:00 0 40109000-4012d000 r-xp 00000000 03:01 814789 /lib/tls/i686/cmov/ libm-2.4.so 4012d000-4012f000 rw-p 00023000 03:01 814789 /lib/tls/i686/cmov/ libm-2.4.so 4012f000-40139000 r-xp 00000000 03:01 781891 /lib/libgcc_s.so.1 40139000-4013a000 rw-p 00009000 03:01 781891 /lib/libgcc_s.so.1 4013a000-40267000 r-xp 00000000 03:01 814781 /lib/tls/i686/cmov/ libc-2.4.so 40267000-40269000 r--p 0012c000 03:01 814781 /lib/tls/i686/cmov/ libc-2.4.so 40269000-4026b000 rw-p 0012e000 03:01 814781 /lib/tls/i686/cmov/ libc-2.4.so 4026b000-40270000 rw-p 4026b000 00:00 0 40300000-40321000 rw-p 40300000 00:00 0 40321000-40400000 ---p 40321000 00:00 0 bf87a000-bf88f000 rw-p bf87a000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] make[1]: *** [emp_ematch.yacc.c] Abandon make[1]: quittant le r√©pertoire ¬´ /home/vdautrem/Desktop/git/ iproute2/tc ¬ª make: *** [all] Erreur 2 vdautrem@paranux2:~/Desktop/git/iproute2$
Vincent Dautremont wrote:> Hi, > i''m still having problems about getting tc to compile, it seams to be a > glibc, or yacc or bison problem and i''m totally stranger to that, i can > only understand that it quits after a double free !!! > Can anyone translate this log in a solution ? > Thank you. > Vincent.Hmm ISTR some mention of yacc/bison and ematch once - what version are you using? I can build with these two - andy@noki:~/Kern-test/iproute2$ bison --version bison (GNU Bison) 2.2 andy@amd /mnt/hdc5/Kern-test]$ bison --version bison (GNU Bison) 1.875 Are you building for 64bit CPU? Also why do you need to build, a new kernel? If not your distro should have tc already If you do have a new (and at least configured) kernel tree see below.> -----here is my bash output---- > vdautrem@paranux2:~/Desktop/git$ git clone git://git.kernel.org/pub/ > scm/linux/kernel/git/shemminger/iproute2.git > Generating pack... > Done counting 3328 objects. > Deltifying 3328 objects. > 100% (3328/3328) done > Total 3328 (delta 2120), reused 3141 (delta 1939) > vdautrem@paranux2:~/Desktop/git$ ls > iproute2 > vdautrem@paranux2:~/Desktop/git$ make > make: *** Pas de cibles spécifiées et aucun makefile n''a été > trouvé. Arrêt. > vdautrem@paranux2:~/Desktop/git$ cd iproute2/You forgot before make you need to - export KERNEL_INCLUDE=/full/path/to/your/linux-2.6.20.3/include/> vdautrem@paranux2:~/Desktop/git/iproute2$ makeAndy.
Thanks for your reply Andy, but i finally found out what went wrong: I don''t know why, i installed the "bison++" package that seams to contain the bison command as an alias of the "bison++" program and that bring me to the error i had, so i just installed the bison package to replace it,installed the "flex" package after it, and now the compilation works great. I need to compile tc because i''m trying to write an elastic token bucket kernel module and i hope i will get it started and configured by tc. Thanks to everyone that helped me. Vincent. Le 26 mars 07 à 21:06, Andy Furniss a écrit :> Vincent Dautremont wrote: >> Hi, >> i''m still having problems about getting tc to compile, it seams to >> be a glibc, or yacc or bison problem and i''m totally stranger to >> that, i can only understand that it quits after a double free !!! >> Can anyone translate this log in a solution ? >> Thank you. >> Vincent. > > Hmm ISTR some mention of yacc/bison and ematch once - what version > are you using? > > I can build with these two - > > andy@noki:~/Kern-test/iproute2$ bison --version > bison (GNU Bison) 2.2 > > andy@amd /mnt/hdc5/Kern-test]$ bison --version > bison (GNU Bison) 1.875 > > Are you building for 64bit CPU? Also why do you need to build, a > new kernel? If not your distro should have tc already > > If you do have a new (and at least configured) kernel tree see below. > >> -----here is my bash output---- >> vdautrem@paranux2:~/Desktop/git$ git clone git://git.kernel.org/ >> pub/ scm/linux/kernel/git/shemminger/iproute2.git >> Generating pack... >> Done counting 3328 objects. >> Deltifying 3328 objects. >> 100% (3328/3328) done >> Total 3328 (delta 2120), reused 3141 (delta 1939) >> vdautrem@paranux2:~/Desktop/git$ ls >> iproute2 >> vdautrem@paranux2:~/Desktop/git$ make >> make: *** Pas de cibles sp√©cifi√©es et aucun makefile n''a √©t√© >> trouv√©. Arr√™t. >> vdautrem@paranux2:~/Desktop/git$ cd iproute2/ > > You forgot before make you need to - > > export KERNEL_INCLUDE=/full/path/to/your/linux-2.6.20.3/include/ > >> vdautrem@paranux2:~/Desktop/git/iproute2$ make > > Andy.