Problems in compiling Kute traffic generator v 1.4 on Fedora 13
I am getting following errors when i run "make" to compile kute traffic generator:
[root@localhost kute-1.4]# make make modules make[1]: Entering directory `/kute-1.4' make -C /lib/modules/2.6.33.3-85.fc13.i686.PAE/build SUBDIRS=/kute-1.4 modules make[2]: Entering directory `/usr/src/kernels/2.6.33.3-85.fc13.i686.PAE' CC [M] /kute-1.4/kute_snd.o /kute-1.4/kute_snd.c: In function ‘build_udp_packet’: /kute-1.4/kute_snd.c:388: warning: passing argument 1 of ‘ip_route_output_key’ from incompatible pointer type include/net/route.h:113: note: expected ‘struct net *’ but argument is of type ‘struct rtable **’ /kute-1.4/kute_snd.c:388: warning: passing argument 2 of ‘ip_route_output_key’ from incompatible pointer type include/net/route.h:113: note: expected ‘struct rtable **’ but argument is of type ‘struct flowi *’ /kute-1.4/kute_snd.c:388: error: too few arguments to function ‘ip_route_output_key’ /kute-1.4/kute_snd.c:439: error: ‘struct sk_buff’ has no member named ‘dst’ /kute-1.4/kute_snd.c:444: error: ‘struct sk_buff’ has no member named ‘mac’ /kute-1.4/kute_snd.c:446: error: ‘struct sk_buff’ has no member named ‘nh’ /kute-1.4/kute_snd.c:447: error: ‘struct sk_buff’ has no member named ‘h’ /kute-1.4/kute_snd.c: In function ‘slow_output’: /kute-1.4/kute_snd.c:521: error: ‘struct sk_buff’ has no member named ‘mac’ /kute-1.4/kute_snd.c:521: error: ‘struct sk_buff’ has no member named ‘mac’ /kute-1.4/kute_snd.c: In function ‘fast_output’: /kute-1.4/kute_snd.c:538: error: ‘struct net_device’ has no member named ‘xmit_lock’ /kute-1.4/kute_snd.c:539: error: ‘struct net_device’ has no member named ‘xmit_lock_owner’ /kute-1.4/kute_snd.c:548: error: ‘struct net_device’ has no member named ‘hard_start_xmit’ /kute-1.4/kute_snd.c:554: error: ‘struct net_device’ has no member named ‘xmit_lock_owner’ /kute-1.4/kute_snd.c:555: error: ‘struct net_device’ has no member named ‘xmit_lock’ /kute-1.4/kute_snd.c: In function ‘send_udp_packet’: /kute-1.4/kute_snd.c:571: error: ‘struct sk_buff’ has no member named ‘nh’ /kute-1.4/kute_snd.c:718:27: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /kute-1.4/kute_snd.c: In function ‘init_module’: /kute-1.4/kute_snd.c:718: error: ‘INIT_WORK’ undeclared (first use in this function) /kute-1.4/kute_snd.c:718: error: (Each undeclared identifier is reported only once /kute-1.4/kute_snd.c:718: error: for each function it appears in.) /kute-1.4/kute_snd.c:719:30: error: macro "PREPARE_WORK" passed 3 arguments, but takes just 2 /kute-1.4/kute_snd.c:719: error: ‘PREPARE_WORK’ undeclared (first use in this function) make[3]: *** [/kute-1.4/kute_snd.o] Error 1 make[2]: *** [_module_/kute-1.4] Error 2 make[2]: Leaving directory `/usr/src/kernels/2.6.33.3-85.fc13.i686.PAE' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/kute-1.4' make: *** [all] Error 2 Kindly help me. Thanks in advance. |
a link would help
is it this http://caia.swin.edu.au/genius/tools/kute/ "KUTE works only with Linux 2.6 (tested up to 2.6.16) and so far has been tested only with Ethernet hardware. " if so it will need a rewrite to get complaint with gcc 4.5 it might build on fedora 13 with the legacy gcc34 |
Thanks for the help.
Can you please tell me that what I need to do to install gcc3.4 on fedora. Like should I remove my current gcc and which dependencies I would need for gcc3.4 and if possible tell their versions. |
it is in the default yum fedora repo
? have you read the fedora docs ?????? http://docs.fedoraproject.org/en-US/index.html Code:
yum search gcc and the legacy gcc34 is DESIGNED to be installed along with gcc4.5 i take it that you have never used Linux before ????? |
Yes I am reasonably comfortable with linux.
I have to compile using "make" command. So, then I will need to change default gcc to gcc34? I tried by removing gcc4.5 and gcc3.4 was not working then. |
I mean I have used linux before and comfortable with it but little problem in compiling this older software.
|
Quote:
this is fedora DO NOT REMOVE gcc 4.5 but install the legacy gcc34 alongside it it was made to do this !!! it is in the fedora default repo look for it !!! Code:
yum search gcc also there is a whole group you need to install read " man yum " you need to install the legacy software development group using groupinstall Code:
yum grouplist you might want to read the fedora documentation -- they have a very well maintained wiki and project http://docs.fedoraproject.org/en-US/index.html --- also be advised -- fedora is a very bad choice for a server it has a very short life spam 13 months also seeing as it is a "bleeding/cutting edge" distro NOT EVERY older program will run on it . |
Thanks for your your concern.
I installed the legacy software development group, but, it still doesn't work, giving the same problem. Can you please tell me some other way. |
Quote:
i am reading the readme ( did you know that the readme was last edited on" Tue 06 Mar 2007 08:11:23 PM EST" -- in 2007 . and most of the code was last updated in 2006 there are patches for VERY VERY old kernels but not any for new ones . rewrite the code to work on a modern os . or find something else from the readme Quote:
|
Hi mnaveed29,
am facing the same problem, did you manage to find a solution? |
Facing same problem
This KUTE-1.4 sucks...
Having same problem as persists in the thread, Has anybody found some work around? |
Post #11, @sac14 : Welcome to LQ.
Kute requires kernel-2.6.16 or an earlier 2.6.xx. Fedora 5 has kernel-2.6.15, and may be OK with Kute. |
All times are GMT -5. The time now is 02:00 PM. |