Re: [tcng] make test errors

Linux Advanced Routing and Traffic Control

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

 







|> Additive headers at external interface (C): FAILED
|>   Standard error:
|>   | input in flex scanner failed
|
|Does changing the line
|  tcsim -v -Xc,-tif:c tests/lib/additive.tcsim | \
|to
|  tcsim -v -Xc,-tif:c tests/lib/additive.tcsim -I tests/lib | \  
|help ?

]- doesn't help :"[, will make the whole procedure again.. and some research so I can give more meaningful results

|> Meanwhile on two Mandrake's 8.2 when I try "make rpm" it don't work .....
|
|Hmm, how does it fail ?

]- This is on MDK8.1 -upgraded-> MDK8.2 ... the pure MDK 8.2 results I will post when I go to work ..
I see now the problem may be 'cause I patch them with htb_patch :")

make rpm===============
<snip>
.............
cc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I../shared -DVERSION=\"`cat ../VERSION`\" -DTOPDIR=\"/arh/compile/tcng/rpm/BUILD/tcng\"   -c -o ext_io.o ext_io.c
cc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I../shared -DVERSION=\"`cat ../VERSION`\" -DTOPDIR=\"/arh/compile/tcng/rpm/BUILD/tcng\"   -c -o ext_dump.o ext_dump.c
cc -g -o tcc lex.yy.o y.tab.o tcc.o util.o error.o var.o data.o param.o device.o registry.o sprintf.o qdisc.o q_ingress.o q_cbq.o q_dsmark.o q_fifo.o q_gred.o q_prio.o q_htb.o q_red.o q_sfq.o q_tbf.o csp.o filter.o f_if.o f_fw.o f_route.o f_rsvp.o f_tcindex.o police.o tc.o op.o field.o named.o if_u32.o if_c.o if_ext.o iflib_actdb.o target.o location.o iflib_comb.o iflib_off.o iflib_misc.o iflib_red.o iflib_act.o iflib_arith.o iflib_not.o iflib_bit.o iflib_cheap.o iflib_newbit.o ext_all.o ext.o ext_io.o ext_dump.o -lfl -lm -L../shared -ltcngmisc 
cc: q_htb.o: No such file or directory
make[2]: *** [tcc] Error 1
make[2]: Leaving directory `/arh/compile/tcng/rpm/BUILD/tcng/tcc'
make[1]: *** [tcc] Error 2
make[1]: Leaving directory `/arh/compile/tcng/rpm/BUILD/tcng'
error: Bad exit status from /var/tmp/rpm-tmp.2941 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.2941 (%build)
make: *** [tcc-rpms] Error 1
</snip>



|> if I try "checkinstall make install" i also can't make .rpm...
|
|What is "checkinstall" ?

]- It seems that I cant open their site(it seems to be down!!) at the moment here is it :
http://asic-linux.com.mx/~izto/checkinstall/
In short the idea is instead of doing "make install" to invoke "checkinstall make install" and then checkinstall-program captures/intercepts which file operations and other stuff .... so that in u can create .rpm, .deb or slack-tgz packges....
All this happen in interactive mode..

I have used it many times for building .rpm's

|> .............OOOPS the kernel is 2.4.8 may be this is why this happen
|
|tcng should work with kernels as far back as 2.4.3. But the RPM
|build process looks for 2.4.18, yes. (It will happily take any
|other compatible kernel source tree if you change the name,
|though.)
|
|- Werner
]- raptor :")
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
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