Re: [LARTC] I can't get TCNG to compile!!!

2004-01-27 Thread [EMAIL PROTECTED]
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, [EMAIL PROTECTED] wrote:
 Help! I can't get TCNG to compile!!! It did this on 2 different
 machines! Here are the errors:
  
 
 Kernel: 2.4.22
 [EMAIL PROTECTED] 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 / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] I can't get TCNG to compile!!!

2004-01-26 Thread rubens

./configure --no-tcsim
will make your life easier if you just want tcc (compiler) not tcsim
(simulator)


Rubens


On Mon, 26 Jan 2004 [EMAIL PROTECTED] wrote:

 Help! I can't get TCNG to compile!!! It did this on 2 different machines!
 Here are the errors:

 
 Kernel: 2.4.22
 [EMAIL PROTECTED] 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 / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/