=> Bootstrap dependency digest>=20010302: found digest-20080510 ===> Building for mppe-lkm-0.0.4nb2 # compile mppe-lkm/ppp_mppe_compress.o cc -O2 -mcmodel=kernel -ffreestanding -fno-strict-aliasing -Wno-pointer-sign -Werror -nostdinc -I. -I/scratch/net/mppe-lkm/work/mppe-lkm -isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem /usr/src/sys/../common/include -D_KERNEL -D_LKM -c ppp_mppe_compress.c ppp_mppe_compress.c:23:23: error: sys/cdefs.h: No such file or directory ppp_mppe_compress.c:24:23: error: sys/param.h: No such file or directory ppp_mppe_compress.c:25:23: error: sys/types.h: No such file or directory ppp_mppe_compress.c:26:23: error: sys/systm.h: No such file or directory ppp_mppe_compress.c:27:24: error: sys/malloc.h: No such file or directory ppp_mppe_compress.c:28:22: error: sys/mbuf.h: No such file or directory ppp_mppe_compress.c:32:26: error: net/ppp_defs.h: No such file or directory ppp_mppe_compress.c:33:26: error: net/ppp-comp.h: No such file or directory ppp_mppe_compress.c:35:22: error: sys/sha1.h: No such file or directory ppp_mppe_compress.c:36:30: error: crypto/arc4/arc4.h: No such file or directory ppp_mppe_compress.c:71: error: field 'stats' has incomplete type ppp_mppe_compress.c:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c:95: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c:99: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P' ppp_mppe_compress.c: In function 'GetNewKeyFromSHA': ppp_mppe_compress.c:124: error: 'SHA1_CTX' undeclared (first use in this function) ppp_mppe_compress.c:124: error: (Each undeclared identifier is reported only once ppp_mppe_compress.c:124: error: for each function it appears in.) ppp_mppe_compress.c:124: error: expected ';' before 'Context' ppp_mppe_compress.c:140: error: 'Context' undeclared (first use in this function) ppp_mppe_compress.c: In function 'mppe_alloc': ppp_mppe_compress.c:189: error: 'NULL' undeclared (first use in this function) ppp_mppe_compress.c:191: error: 'M_DEVBUF' undeclared (first use in this function) ppp_mppe_compress.c:191: error: 'M_NOWAIT' undeclared (first use in this function) cc1: warnings being treated as errors ppp_mppe_compress.c:191: warning: cast to pointer from integer of different size ppp_mppe_compress.c: In function 'mppe_free': ppp_mppe_compress.c:220: error: 'M_DEVBUF' undeclared (first use in this function) ppp_mppe_compress.c: In function 'mppe_init': ppp_mppe_compress.c:242: error: 'u_char' undeclared (first use in this function) ppp_mppe_compress.c:242: error: 'ptr' undeclared (first use in this function) ppp_mppe_compress.c:254: error: 'M_DEVBUF' undeclared (first use in this function) ppp_mppe_compress.c:254: error: 'M_NOWAIT' undeclared (first use in this function) ppp_mppe_compress.c:254: warning: assignment makes pointer from integer without a cast ppp_mppe_compress.c:255: error: 'NULL' undeclared (first use in this function) ppp_mppe_compress.c: At top level: ppp_mppe_compress.c:332: warning: 'struct mbuf' declared inside parameter list ppp_mppe_compress.c:332: warning: its scope is only this definition or declaration, which is probably not what you want ppp_mppe_compress.c: In function 'mppe_compress': ppp_mppe_compress.c:338: error: 'NULL' undeclared (first use in this function) ppp_mppe_compress.c:339: error: expected expression before 'unsigned' ppp_mppe_compress.c:339: warning: assignment makes pointer from integer without a cast ppp_mppe_compress.c:370: error: 'M_DONTWAIT' undeclared (first use in this function) ppp_mppe_compress.c:370: error: 'MT_DATA' undeclared (first use in this function) ppp_mppe_compress.c:380: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:384: error: 'MHLEN' undeclared (first use in this function) ppp_mppe_compress.c:388: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:389: error: 'MLEN' undeclared (first use in this function) ppp_mppe_compress.c:398: error: expected expression before 'unsigned' ppp_mppe_compress.c:398: warning: assignment makes pointer from integer without a cast ppp_mppe_compress.c:405: error: 'PPP_COMP' undeclared (first use in this function) ppp_mppe_compress.c:407: error: 'PPP_HDRLEN' undeclared (first use in this function) ppp_mppe_compress.c:430: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:437: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:442: error: expected expression before 'unsigned' ppp_mppe_compress.c:442: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:443: error: expected expression before 'unsigned' ppp_mppe_compress.c:443: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:445: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:447: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:449: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:453: error: expected expression before 'unsigned' ppp_mppe_compress.c:453: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:454: error: expected expression before 'unsigned' ppp_mppe_compress.c:454: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:456: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:458: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:464: error: expected expression before 'unsigned' ppp_mppe_compress.c:464: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:465: error: expected expression before 'unsigned' ppp_mppe_compress.c:465: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:467: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:468: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:469: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:471: error: dereferencing pointer to incomplete type ppp_mppe_compress.c: In function 'mppe_comp_stats': ppp_mppe_compress.c:495: error: dereferencing pointer to incomplete type ppp_mppe_compress.c: At top level: ppp_mppe_compress.c:521: warning: 'struct mbuf' declared inside parameter list ppp_mppe_compress.c: In function 'mppe_decompress': ppp_mppe_compress.c:531: error: 'DECOMP_ERROR' undeclared (first use in this function) ppp_mppe_compress.c:534: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:534: error: 'PPP_HDRLEN' undeclared (first use in this function) ppp_mppe_compress.c:537: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:541: error: expected expression before 'unsigned' ppp_mppe_compress.c:541: warning: assignment makes pointer from integer without a cast ppp_mppe_compress.c:578: error: 'DECOMP_FATALERROR' undeclared (first use in this function) ppp_mppe_compress.c:640: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:640: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:644: error: 'M_DONTWAIT' undeclared (first use in this function) ppp_mppe_compress.c:644: error: 'MT_DATA' undeclared (first use in this function) ppp_mppe_compress.c:645: error: 'NULL' undeclared (first use in this function) ppp_mppe_compress.c:653: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:657: error: 'MHLEN' undeclared (first use in this function) ppp_mppe_compress.c:661: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:662: error: 'MLEN' undeclared (first use in this function) ppp_mppe_compress.c:671: error: expected expression before 'unsigned' ppp_mppe_compress.c:671: warning: assignment makes pointer from integer without a cast ppp_mppe_compress.c:680: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:710: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:715: error: expected expression before 'unsigned' ppp_mppe_compress.c:715: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:716: error: expected expression before 'unsigned' ppp_mppe_compress.c:716: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:718: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:720: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:722: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:726: error: expected expression before 'unsigned' ppp_mppe_compress.c:726: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:727: error: expected expression before 'unsigned' ppp_mppe_compress.c:727: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:729: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:731: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:737: error: expected expression before 'unsigned' ppp_mppe_compress.c:737: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:738: error: expected expression before 'unsigned' ppp_mppe_compress.c:738: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:740: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:741: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:742: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:744: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:750: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:758: error: 'DECOMP_OK' undeclared (first use in this function) ppp_mppe_compress.c: At top level: ppp_mppe_compress.c:768: warning: 'struct mbuf' declared inside parameter list ppp_mppe_compress.c: In function 'mppe_incomp': ppp_mppe_compress.c:773: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:774: error: dereferencing pointer to incomplete type ppp_mppe_compress.c:775: error: dereferencing pointer to incomplete type ppp_mppe_compress.c: At top level: ppp_mppe_compress.c:788: error: variable 'ppp_mppe' has initializer but incomplete type ppp_mppe_compress.c:789: warning: excess elements in struct initializer ppp_mppe_compress.c:789: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:790: warning: excess elements in struct initializer ppp_mppe_compress.c:790: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:791: warning: excess elements in struct initializer ppp_mppe_compress.c:791: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:792: warning: excess elements in struct initializer ppp_mppe_compress.c:792: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:793: warning: excess elements in struct initializer ppp_mppe_compress.c:793: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:794: warning: excess elements in struct initializer ppp_mppe_compress.c:794: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:795: warning: excess elements in struct initializer ppp_mppe_compress.c:795: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:796: warning: excess elements in struct initializer ppp_mppe_compress.c:796: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:797: warning: excess elements in struct initializer ppp_mppe_compress.c:797: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:798: warning: excess elements in struct initializer ppp_mppe_compress.c:798: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:799: warning: excess elements in struct initializer ppp_mppe_compress.c:799: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:800: warning: excess elements in struct initializer ppp_mppe_compress.c:800: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:801: warning: excess elements in struct initializer ppp_mppe_compress.c:801: warning: (near initialization for 'ppp_mppe') ppp_mppe_compress.c:802: warning: excess elements in struct initializer ppp_mppe_compress.c:802: warning: (near initialization for 'ppp_mppe') *** Error code 1 Stop. make: stopped in /scratch/net/mppe-lkm/work/mppe-lkm *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/mppe-lkm *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/mppe-lkm