has anyone succeded to compile it? i didn't: _________________________________________________________________________________________ cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/src/sys/netgraph/bw_filt.c In file included from /usr/src/sys/netgraph/bw_filt.c:75: /usr/src/sys/netgraph/bw_filt.h:80: error: variable `bw_filt_par_fields' has initializer but incomplete type /usr/src/sys/netgraph/bw_filt.h:81: error: extra brace group at end of initializer /usr/src/sys/netgraph/bw_filt.h:81: error: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.h:82: error: extra brace group at end of initializer /usr/src/sys/netgraph/bw_filt.h:82: error: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.h:83: error: extra brace group at end of initializer /usr/src/sys/netgraph/bw_filt.h:83: error: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.h:84: error: extra brace group at end of initializer /usr/src/sys/netgraph/bw_filt.h:84: error: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.h:85: error: extra brace group at end of initializer /usr/src/sys/netgraph/bw_filt.h:85: error: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.h:86: error: extra brace group at end of initializer /usr/src/sys/netgraph/bw_filt.h:86: error: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.h:87: error: extra brace group at end of initializer /usr/src/sys/netgraph/bw_filt.h:87: error: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.h:88: error: extra brace group at end of initializer /usr/src/sys/netgraph/bw_filt.h:88: error: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.h:89: error: extra brace group at end of initializer /usr/src/sys/netgraph/bw_filt.h:89: error: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.h:90: error: extra brace group at end of initializer /usr/src/sys/netgraph/bw_filt.h:90: error: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.h:91: error: extra brace group at end of initializer /usr/src/sys/netgraph/bw_filt.h:91: error: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.h:92: error: extra brace group at end of initializer /usr/src/sys/netgraph/bw_filt.h:92: error: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.h:93: warning: excess elements in struct initializer /usr/src/sys/netgraph/bw_filt.h:93: warning: (near initialization for `bw_filt_par_fields') /usr/src/sys/netgraph/bw_filt.c:104: warning: initialization from incompatible pointer type /usr/src/sys/netgraph/bw_filt.c:106: warning: initialization from incompatible pointer type /usr/src/sys/netgraph/bw_filt.c:107: warning: initialization from incompatible pointer type /usr/src/sys/netgraph/bw_filt.c:551: error: conflicting types for 'bw_filt_constructor' /usr/src/sys/netgraph/bw_filt.c:88: error: previous declaration of 'bw_filt_constructor' was here /usr/src/sys/netgraph/bw_filt.c:551: error: conflicting types for 'bw_filt_constructor' /usr/src/sys/netgraph/bw_filt.c:88: error: previous declaration of 'bw_filt_constructor' was here /usr/src/sys/netgraph/bw_filt.c: In function `bw_filt_constructor': /usr/src/sys/netgraph/bw_filt.c:574: error: structure has no member named `private' /usr/src/sys/netgraph/bw_filt.c: In function `bw_filt_newhook': /usr/src/sys/netgraph/bw_filt.c:607: error: structure has no member named `private' /usr/src/sys/netgraph/bw_filt.c:611: error: structure has no member named `private' /usr/src/sys/netgraph/bw_filt.c:614: error: structure has no member named `private' /usr/src/sys/netgraph/bw_filt.c:617: error: structure has no member named `private' /usr/src/sys/netgraph/bw_filt.c:620: error: structure has no member named `private' /usr/src/sys/netgraph/bw_filt.c: At top level: /usr/src/sys/netgraph/bw_filt.c:633: error: conflicting types for 'bw_filt_rcvmsg' /usr/src/sys/netgraph/bw_filt.c:89: error: previous declaration of 'bw_filt_rcvmsg' was here /usr/src/sys/netgraph/bw_filt.c:633: error: conflicting types for 'bw_filt_rcvmsg' /usr/src/sys/netgraph/bw_filt.c:89: error: previous declaration of 'bw_filt_rcvmsg' was here /usr/src/sys/netgraph/bw_filt.c: In function `bw_filt_rcvmsg': /usr/src/sys/netgraph/bw_filt.c:634: error: structure has no member named `private' /usr/src/sys/netgraph/bw_filt.c: At top level: /usr/src/sys/netgraph/bw_filt.c:796: error: conflicting types for 'bw_filt_rcvdata' /usr/src/sys/netgraph/bw_filt.c:93: error: previous declaration of 'bw_filt_rcvdata' was here /usr/src/sys/netgraph/bw_filt.c:796: error: conflicting types for 'bw_filt_rcvdata' /usr/src/sys/netgraph/bw_filt.c:93: error: previous declaration of 'bw_filt_rcvdata' was here /usr/src/sys/netgraph/bw_filt.c: In function `bw_filt_rcvdata': /usr/src/sys/netgraph/bw_filt.c:797: error: structure has no member named `node' /usr/src/sys/netgraph/bw_filt.c:809: warning: implicit declaration of function `NG_FREE_DATA' /usr/src/sys/netgraph/bw_filt.c:809: warning: nested extern declaration of `NG_FREE_DATA' /usr/src/sys/netgraph/bw_filt.c:819: warning: nested extern declaration of `NG_FREE_DATA' /usr/src/sys/netgraph/bw_filt.c:809: warning: redundant redeclaration of 'NG_FREE_DATA' /usr/src/sys/netgraph/bw_filt.c:809: warning: previous implicit declaration of 'NG_FREE_DATA' was here /usr/src/sys/netgraph/bw_filt.c:828: warning: invalid application of `sizeof' to a void type /usr/src/sys/netgraph/bw_filt.c:828: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:828: error: request for member `used_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:830: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:830: error: request for member `options' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:834: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:834: error: request for member `allocated_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:834: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:834: error: request for member `used_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:834: error: dereferencing pointer to incomplete type /usr/src/sys/netgraph/bw_filt.c:837: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:837: error: request for member `used_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:837: error: dereferencing pointer to incomplete type /usr/src/sys/netgraph/bw_filt.c:842: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:842: error: request for member `used_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:842: error: dereferencing pointer to incomplete type /usr/src/sys/netgraph/bw_filt.c:845: warning: nested extern declaration of `NG_FREE_DATA' /usr/src/sys/netgraph/bw_filt.c:809: warning: redundant redeclaration of 'NG_FREE_DATA' /usr/src/sys/netgraph/bw_filt.c:809: warning: previous implicit declaration of 'NG_FREE_DATA' was here /usr/src/sys/netgraph/bw_filt.c:848: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:848: error: request for member `used_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:848: error: dereferencing pointer to incomplete type /usr/src/sys/netgraph/bw_filt.c:849: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:849: error: request for member `used_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:850: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:850: error: request for member `used_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:850: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:850: error: request for member `used_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:850: error: dereferencing pointer to incomplete type /usr/src/sys/netgraph/bw_filt.c:851: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:851: error: request for member `allocated_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:851: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:851: error: request for member `used_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:858: warning: invalid application of `sizeof' to a void type /usr/src/sys/netgraph/bw_filt.c:858: error: dereferencing pointer to incomplete type /usr/src/sys/netgraph/bw_filt.c:861: warning: nested extern declaration of `NG_FREE_DATA' /usr/src/sys/netgraph/bw_filt.c:809: warning: redundant redeclaration of 'NG_FREE_DATA' /usr/src/sys/netgraph/bw_filt.c:809: warning: previous implicit declaration of 'NG_FREE_DATA' was here /usr/src/sys/netgraph/bw_filt.c:864: warning: invalid application of `sizeof' to a void type /usr/src/sys/netgraph/bw_filt.c:864: error: dereferencing pointer to incomplete type /usr/src/sys/netgraph/bw_filt.c:865: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:865: error: request for member `used_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:865: warning: invalid application of `sizeof' to a void type /usr/src/sys/netgraph/bw_filt.c:865: error: dereferencing pointer to incomplete type /usr/src/sys/netgraph/bw_filt.c:866: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:866: error: request for member `allocated_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:866: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:866: error: request for member `used_len' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:870: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:870: error: request for member `options' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:870: error: dereferencing pointer to incomplete type /usr/src/sys/netgraph/bw_filt.c:871: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:871: error: request for member `options' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:876: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:876: error: request for member `options' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:882: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:882: error: request for member `options' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:887: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:887: error: request for member `options' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:887: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:887: error: request for member `options' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c:888: warning: dereferencing `void *' pointer /usr/src/sys/netgraph/bw_filt.c:888: error: request for member `options' in something not a structure or union /usr/src/sys/netgraph/bw_filt.c: In function `bw_filt_rmnode': /usr/src/sys/netgraph/bw_filt.c:902: error: structure has no member named `private' /usr/src/sys/netgraph/bw_filt.c:904: error: structure has no member named `flags' /usr/src/sys/netgraph/bw_filt.c:905: warning: implicit declaration of function `ng_cutlinks' /usr/src/sys/netgraph/bw_filt.c:905: warning: nested extern declaration of `ng_cutlinks' /usr/src/sys/netgraph/bw_filt.c:913: warning: implicit declaration of function `ng_unname' /usr/src/sys/netgraph/bw_filt.c:913: warning: nested extern declaration of `ng_unname' /usr/src/sys/netgraph/bw_filt.c:914: error: structure has no member named `private' /usr/src/sys/netgraph/bw_filt.c:915: warning: implicit declaration of function `ng_unref' /usr/src/sys/netgraph/bw_filt.c:915: warning: nested extern declaration of `ng_unref' /usr/src/sys/netgraph/bw_filt.c: In function `bw_filt_disconnect': /usr/src/sys/netgraph/bw_filt.c:939: error: structure has no member named `private' /usr/src/sys/netgraph/bw_filt.c:940: error: structure has no member named `private' /usr/src/sys/netgraph/bw_filt.c:942: error: structure has no member named `node' /usr/src/sys/netgraph/bw_filt.c:943: warning: implicit declaration of function `ng_rmnode' /usr/src/sys/netgraph/bw_filt.c:943: warning: nested extern declaration of `ng_rmnode' /usr/src/sys/netgraph/bw_filt.c:943: error: structure has no member named `node' /usr/src/sys/netgraph/bw_filt.c: At top level: /usr/src/sys/netgraph/bw_filt.h:80: error: storage size of `bw_filt_par_fields' isn't known /usr/src/sys/netgraph/bw_filt.c:88: warning: 'bw_filt_constructor' used but never defined /usr/src/sys/netgraph/bw_filt.c:89: warning: 'bw_filt_rcvmsg' used but never defined /usr/src/sys/netgraph/bw_filt.c:93: warning: 'bw_filt_rcvdata' used but never defined /usr/src/sys/netgraph/bw_filt.c:551: warning: 'bw_filt_constructor' defined but not used /usr/src/sys/netgraph/bw_filt.c:633: warning: 'bw_filt_rcvmsg' defined but not used /usr/src/sys/netgraph/bw_filt.c:796: warning: 'bw_filt_rcvdata' defined but not used *** Error code 1
Stop in /usr/obj/usr/src/sys/WITH_NG_ATM. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"