de ce nu sa incerce sa asambleze cu gcc... da nu asta e problema tractoristu' Vasile pt. domunu' ing.Adrian Costescu
PS: scuze ing. Torvalds Linus daca citesti lista asta. ----- Original Message ----- From: "Adrian Costescu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 25, 2004 8:33 AM Subject: [rlug] Re: problema compilare htb > On Sunday 25 April 2004 18:29, Cosmin Dumitru wrote: > ce gcc are fedora cela? > incearca sa-l compilezi cu alt gcc (2.95 spre exemplu'). > > fedora core2 teste 1.91 > > incerc sa compilez htb-tools conform arny.ro/htb iata problema > > > > > > [EMAIL PROTECTED] htb_util-0.2.4-pre1_cv-1_quantum-1536-sin]# make > > flex -i parse_cfg.l > > gcc -O3 -Wall -g -I./include -I./include-glibc -include > > ./include-glibc/glibc-bugs.h -I/usr/src/linux/include > > -DVERSION='"0.2.4-pre1_cv-1_quantum-1536-sin"' -c lex.yy.c lex.yy.c: In > > function `yylex': > > lex.yy.c:988: warning: label `find_rule' defined but not used > > parse_cfg.l: At top level: > > lex.yy.c:2331: warning: `yy_flex_realloc' defined but not used > > lex.yy.c:1818: warning: `yyunput' defined but not used > > ar rcs lib/libnetlink.a lib/ll_map.o lib/libnetlink.o > > gcc -O3 -Wall -g -I./include -I./include-glibc -include > > ./include-glibc/glibc-bugs.h -I/usr/src/linux/include > > -DVERSION='"0.2.4-pre1_cv-1_quantum-1536-sin"' lists.o lex.yy.o q_parser.c > > -o q_parser gcc q_show.c -O3 -Wall -g -I./include -I./include-glibc > > -include ./include-glibc/glibc-bugs.h -I/usr/src/linux/include > > -DVERSION='"0.2.4-pre1_cv-1_quantum-1536-sin"' -L./lib -lnetlink -ldl > > lists.o lex.yy.o -o q_show In file included from > > /usr/src/linux/include/linux/in.h:241, > > from include-glibc/netinet/in.h:7, > > from q_show.c:19: > > /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel > > header; include <endian.h> instead! In file included from > > /usr/src/linux/include/linux/byteorder/little_endian.h:11, from > > /usr/include/asm/byteorder.h:35, > > from /usr/src/linux/include/linux/in.h:241, > > from include-glibc/netinet/in.h:7, > > from q_show.c:19: > > /usr/src/linux/include/linux/byteorder/swab.h:133: error: syntax error > > before "__u16" /usr/src/linux/include/linux/byteorder/swab.h:146: error: > > syntax error before "__u32" > > /usr/src/linux/include/linux/byteorder/swab.h:160: error: syntax error > > before "__u64" In file included from > > /usr/src/linux/include/linux/config.h:4, > > from /usr/include/asm/bitops.h:8, > > from q_show.c:25: > > /usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in > > userspace In file included from /usr/include/asm/bitops.h:8, > > from q_show.c:25: > > /usr/src/linux/include/linux/config.h:6:2: #error including kernel header > > in userspace; use the glibc headers instead! In file included from > > q_show.c:25: > > /usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not > > available on all architectures. /usr/include/asm/bitops.h:328:2: warning: > > #warning Using kernel headers in userspace: atomicity not guaranteed In > > file included from q_show.c:28: > > /usr/src/linux/include/linux/inetdevice.h: In function `inet_make_mask': > > /usr/src/linux/include/linux/inetdevice.h:175: warning: implicit > > declaration of function `htonl' /usr/src/linux/include/linux/inetdevice.h: > > In function `inet_mask_len': /usr/src/linux/include/linux/inetdevice.h:181: > > warning: implicit declaration of function `ntohl' make: *** [all] Error 1 > > > > --- > > Detalii despre listele noastre de mail: http://www.lug.ro/ > > -- > ing.Adrian Costescu > PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE4506831 > > > --- > Detalii despre listele noastre de mail: http://www.lug.ro/ > --- Detalii despre listele noastre de mail: http://www.lug.ro/
