ca sa iti mearga trebuie sa scoti -I/usr/src/linux din Makefile
On Sun, 2004-04-25 at 18:29, Cosmin Dumitru wrote:
> 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/
-- 
KobrAs <[EMAIL PROTECTED]>

-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAjAKqrhUF4+f2+rARAoVzAJ9284mmsVixihnfP4L1nD4BbIaqmQCdE4N+
LGvQxYxSm+tAlxi9dyZqWXQ=
=bMbH
-----END PGP SIGNATURE-----



--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui