* [LARTC] [tcng] make test errors
@ 2002-07-22 17:59 raptor
2002-07-25 19:01 ` raptor
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: raptor @ 2002-07-22 17:59 UTC (permalink / raw)
To: lartc
tcng-8t on Mandrake 8.2
Below are the errors I got..
errors--------------------------------------------
--> in
$a = { $x = 13; 7; };
field foo = raw if $a = $a;
--> out
<stdin>:17: warning: unused variable x
--> ref
<stdin>:1: warning: unused variable x
make test ---------------------------------
..............
bare words for strings are forbidden: PASSED
quoted strings for strings are okay: PASSED
bare words for warning labels are forbidden: PASSED (warning: output differs)
Standard output:
| <stdin>:17: syntax error near "nounused"
Reference output:
| <stdin>:1: syntax error near "nounused"
quoted strings for warning labels are okay: PASSED
............
.......
bucket: can define variables: PASSED
bucket: can use with conform, count: PASSED
bucket: policer parameters are refused: PASSED (warning: output differs)
Standard output:
| <stdin>:17: unrecognized parameter "mtu"
Reference output:
| <stdin>:1: unrecognized parameter "mtu"
bucket: "bucket" is no synonym for "police" after filters: PASSED
bucket: tc does not dump buckets: PASSED
bucket: tc does not dump buckets (sneaky): PASSED
...........
compound construct with multiple assignments: PASSED
compound construct must end with semicolon: PASSED (warning: output differs)
Standard output:
| <stdin>:17: syntax error near "}"
Reference output:
| <stdin>:1: syntax error near "}"
compound construct may end with multiple semicolons: PASSED
compound construct requires semicolon after assignment: PASSED (warning: output differs)
Standard output:
| <stdin>:17: syntax error near "$x"
Reference output:
| <stdin>:1: syntax error near "$x"
compound construct allows multiple semicolons after assignment: PASSED
compound construct warns about unused variables: FAILED
File: tests/compound
Command: tcc -c 2>&1
Input: _in.26670
Output: _out.26670
Reference: _ref.26670
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* [LARTC] [tcng] make test errors
2002-07-22 17:59 [LARTC] [tcng] make test errors raptor
@ 2002-07-25 19:01 ` raptor
2002-07-25 22:17 ` Werner Almesberger
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: raptor @ 2002-07-25 19:01 UTC (permalink / raw)
To: lartc
tcng8t, Mandrake 8.2(upgraded from 8.1), patched with htb_patch
_out =======
OK
UNSPEC
UNSPEC
_ref========
OK
UNSPEC
UNSPEC
_in is empty
========
((X.nl & 0xf0) >> 2) & 0xf0 works: PASSED
((X.nl & 0xf0) >> 2) & 0xf0 works: PASSED
((X.nl << 2) & 0xf0) >> 3 works: PASSED
Additive headers at external interface (C): FAILED
Standard error:
| input in flex scanner failed
File: tests/additive
Command: LD_LIBRARY_PATH=. tcsim -v -Xc,-tif:c tests/lib/additive.tcsim | sed '/.* c .*returns /{s///;s/ (.*//;p;};d'
Input: _in.11911
Output: _out.11911
Reference: _ref.11911
scripts/runtests.sh: line 2: 11935 Broken pipe cat
scripts/run-all-tests: line 14: 13671 Broken pipe cat $n
make: *** [test] Error 1
Meanwhile on two Mandrake's 8.2 when I try "make rpm" it don't work ..... if I try "checkinstall make install" i also can't make .rpm...
.............OOOPS the kernel is 2.4.8 may be this is why this happen (will updated /usr/src to the 2.4.18 to see if it works).......................
raptor
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] [tcng] make test errors
2002-07-22 17:59 [LARTC] [tcng] make test errors raptor
2002-07-25 19:01 ` raptor
@ 2002-07-25 22:17 ` Werner Almesberger
2002-07-25 22:54 ` Werner Almesberger
2002-07-26 18:42 ` raptor
3 siblings, 0 replies; 5+ messages in thread
From: Werner Almesberger @ 2002-07-25 22:17 UTC (permalink / raw)
To: lartc
raptor@unacs.bg wrote:
> 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 ?
> Meanwhile on two Mandrake's 8.2 when I try "make rpm" it don't work .....
Hmm, how does it fail ?
> if I try "checkinstall make install" i also can't make .rpm...
What is "checkinstall" ?
> .............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
--
_________________________________________________________________________
/ Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net /
/_http://icapeople.epfl.ch/almesber/_____________________________________/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] [tcng] make test errors
2002-07-22 17:59 [LARTC] [tcng] make test errors raptor
2002-07-25 19:01 ` raptor
2002-07-25 22:17 ` Werner Almesberger
@ 2002-07-25 22:54 ` Werner Almesberger
2002-07-26 18:42 ` raptor
3 siblings, 0 replies; 5+ messages in thread
From: Werner Almesberger @ 2002-07-25 22:54 UTC (permalink / raw)
To: lartc
raptor@unacs.bg wrote:
> --> out
> <stdin>:17: warning: unused variable x
> --> ref
> <stdin>:1: warning: unused variable x
Your cpp seems to count the lines of a file included with -include
as lines of the main source file. Which version of cpp does this ?
(cpp --version and/or cpp -v </dev/null 2>&1 | grep CPP )
- Werner
--
_________________________________________________________________________
/ Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net /
/_http://icapeople.epfl.ch/almesber/_____________________________________/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] [tcng] make test errors
2002-07-22 17:59 [LARTC] [tcng] make test errors raptor
` (2 preceding siblings ...)
2002-07-25 22:54 ` Werner Almesberger
@ 2002-07-26 18:42 ` raptor
3 siblings, 0 replies; 5+ messages in thread
From: raptor @ 2002-07-26 18:42 UTC (permalink / raw)
To: lartc
|> 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/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-07-26 18:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-22 17:59 [LARTC] [tcng] make test errors raptor
2002-07-25 19:01 ` raptor
2002-07-25 22:17 ` Werner Almesberger
2002-07-25 22:54 ` Werner Almesberger
2002-07-26 18:42 ` raptor
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.