[LARTC] Compiling HTB2 on RH7.2

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

Just tried to compile HTB2 on a fresh RedHat 7.2 OS with the kernel-dev
packages installed.
I applied the patch, told menuconfig to compile HTB as a module, make
dep and then a make modules. After some time I get the following
erroroutput:

---- snipp ----
gcc -D__KERNEL__ -I/usr/src/linux-2.4.7-10/include -Wall -Wstrict-proto
types -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno
-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DMO
DULE -DMODVERSIONS -include
/usr/src/linux-2.4.7-10/include/linux/modversions.h   -c -o sch_htb.o
sch_htb.c
sch_htb.c:1215: parse error before string constant
sch_htb.c:1215: warning: type defaults to `int' in declaration of
`MODULE_LICENSE'
sch_htb.c:1215: warning: function declaration isn't a prototype
sch_htb.c:1215: warning: data definition has no type or storage class
make[2]: *** [sch_htb.o] Fehler 1
make[2]: Verlassen des Verzeichnisses
Verzeichnis »/usr/src/linux-2.4.7-10/net/sched«
make[1]: *** [_modsubdir_sched] Fehler 2
make[1]: Verlassen des Verzeichnisses
Verzeichnis »/usr/src/linux-2.4.7-10/net«
make: *** [_mod_net] Fehler 2
---- snapp ----

The Kernel is the one lieing in /usr/src/linux-2.4 (2.4.7-10). Does
anyone know how to compile HTB for RH7.2?

Greetings, Nils



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux