=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [bsd.prefs.mk] The package mppe-lkm-0.0.4nb2 misses DESTDIR support.
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for mppe-lkm-0.0.4nb2
--- ppp_mppe_compress.o ---
--- lkm_mppe.o ---
--- ppp_mppe_compress.o ---
#   compile  mppe-lkm/ppp_mppe_compress.o
--- lkm_mppe.o ---
#   compile  mppe-lkm/lkm_mppe.o
--- 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
--- lkm_mppe.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    lkm_mppe.c
--- ppp_mppe_compress.o ---
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')
*** [ppp_mppe_compress.o] Error code 1
--- lkm_mppe.o ---
lkm_mppe.c:32:23: error: sys/param.h: No such file or directory
lkm_mppe.c:33:23: error: sys/systm.h: No such file or directory
lkm_mppe.c:34:22: error: sys/conf.h: No such file or directory
lkm_mppe.c:35:22: error: sys/exec.h: No such file or directory
lkm_mppe.c:36:21: error: sys/lkm.h: No such file or directory
lkm_mppe.c:38:21: error: sys/tty.h: No such file or directory
lkm_mppe.c:39:24: error: sys/ttycom.h: No such file or directory
lkm_mppe.c:41: error: expected declaration specifiers or '...' before string constant
cc1: warnings being treated as errors
lkm_mppe.c:41: warning: data definition has no type or storage class
lkm_mppe.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
lkm_mppe.c:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'
lkm_mppe.c: In function 'mppe_lkm_load':
lkm_mppe.c:57: error: 'NULL' undeclared (first use in this function)
lkm_mppe.c:57: error: (Each undeclared identifier is reported only once
lkm_mppe.c:57: error: for each function it appears in.)
lkm_mppe.c:65: error: 'ENODEV' undeclared (first use in this function)
lkm_mppe.c: In function 'mppe_lkm_unload':
lkm_mppe.c:82: error: 'EBUSY' undeclared (first use in this function)
lkm_mppe.c:87: error: 'NULL' undeclared (first use in this function)
lkm_mppe.c:89: error: 'ENODEV' undeclared (first use in this function)
*** [lkm_mppe.o] Error code 1
2 errors

make: stopped in /scratch/net/mppe-lkm/work/mppe-lkm
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/net/mppe-lkm
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/mppe-lkm
