[LARTC] Compiling HTB2 on RH7.2

Linux Advanced Routing and Traffic Control

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I usually patch my kernel into RH 7.2 with some differents patches.
>From my experience: never user the kernel sources from redhat.
It is too complicated, or impossible, to patch that sources in the most 
cases.

I patch HTB (not HTB2) over a 2.4.17 without problems, and, of course, I 
use RH 7.2 :-)

- -- 
+-------------------------------------------------------------------+
| Luis Miguel Cruz.                                                 |
|                                                                   |
|  [ADPSOFT] http://www.adpsoft.com                                 |
|  "Connecting your business"                                       |
|                                                                   |
|  irc.irc-hispano.org -> #redhat                                   |
|  http://www.flcnet.es/tbe/luismi                                  |
|  Canal IRC para usuarios RedHat Linux                             |
|								    |
|  Public Key: http://www.flcnet.es/tbe/luismi/nadie/luismi_adp.asc |
+-------------------------------------------------------------------+

On Tue, 30 Apr 2002, Nils Lichtenfeld wrote:

> 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
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjzO95cACgkQvQHLTzrFJlfyVwCfeqyP4Fuj3synE/CzmAmA2qqZ
rdkAnROTdn0DvYMbxgCloT4ty+AiPHzB
=Y/Mo
-----END PGP SIGNATURE-----



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