Re: I can't get TCNG to compile!!!

Linux Advanced Routing and Traffic Control

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

 



hi,

i have had the same problem ...

after running ./configure, edit the "config" file and change the line
with 

KFULLVERSION=2.4.21-9

to just 

KFULLVERSION=2.4.21

without the "-" or "smp" -- these symbols cause problems.

make and enjoy

cheers

charles




On Mon, 2004-01-26 at 23:39, jradke@xxxxxxxxxxxx wrote:
> Help! I can't get TCNG to compile!!! It did this on 2 different
> machines! Here are the errors:
>  
> --------------------------------------------
> Kernel: 2.4.22
> [root@localhost tcng]# uname -a
> Linux localhost.localdomain 2.4.22-1.2149.nptl #1 Wed Jan 7 13:08:26
> EST
> 
> #if KFULLVERSIONNUM >= 0x20416  /* gratuitous interface change in
> 2.4.22 :-(
> */
> ERROR:
> ake -f Makefile.unclean tcsim
> make[2]: Entering directory `/home/jradke/tcng/tcsim'
> cc -E -g -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -I../shared -Iklib -Iklib/include
> -Iulib/iproute2/include -I. -DVERSION=\"`cat ../VERSION`\"
> -DTOPDIR=\"/home/jradke/tcng\" -DTCC_CMD=\"/home/jradke/tcng/bin/tcc\"
> -DKFULLVERSION=\"2.4.22-1.2149.nptlcustom\" -DKFULLVERSIONNUM=`printf
> "0x%02x%02x%02x" 2 4 22`-1.2149.nptlcustom -DIVERSION=\"010824\" -I.
> -M *.c >.depend || \
> 
>                   { rm -f .depend; exit 1; }
> trace.c:41:5: too many decimal points in number
> make[2]: *** [.depend] Error 1
> make[2]: Leaving directory `/home/jradke/tcng/tcsim'
> make[1]: *** [tcsim] Error 2
> make[1]: Leaving directory `/home/jradke/tcng/tcsim'
> make: *** [all] Error 1
> 
> 
> --------------------------------------------
> Kernel: 2.6.1
> ERROR:
> 
> klib/include/linux/errno.h:4:31: asm-generic/errno.h: No such file or
> directory
> make[2]: *** [.depend] Error 1
> make[2]: Leaving directory `/home/jradke/tcng/tcsim'
> make[1]: *** [tcsim] Error 2
> make[1]: Leaving directory `/home/jradke/tcng/tcsim'
> make: *** [all] Error 1
>  
> 
>  
>  
> 

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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