Subject: skey build fail on netbsd -current
To: None <pkgsrc-users@NetBSD.org>
From: Brandon Lee <lee.bran@gmail.com>
List: pkgsrc-users
Date: 10/21/2007 17:30:56
Hi,

I was trying to build the skey pkg from pkgsrc and got the below error
on my netbsd 4.99.34.  Any idea?

===> Building for skey-1.1.5nb2
cc -O2 -DHAVE_CONFIG_H  -DSENDMAIL=\"/usr/sbin/sendmail\"
-DSKEYKEYS=\"/usr/pkg/etc/skeykeys\"   -c -o skeylogin.o skeylogin.c
In file included from config.h:157,
                 from skeylogin.c:36:
defines.h:67:15: warning: extra tokens at end of #ifdef directive
cc -O2 -DHAVE_CONFIG_H  -DSENDMAIL=\"/usr/sbin/sendmail\"
-DSKEYKEYS=\"/usr/pkg/etc/skeykeys\"   -c -o skeysubr.o skeysubr.c
In file included from config.h:157,
                 from skeysubr.c:24:
defines.h:67:15: warning: extra tokens at end of #ifdef directive
cc -O2 -DHAVE_CONFIG_H  -DSENDMAIL=\"/usr/sbin/sendmail\"
-DSKEYKEYS=\"/usr/pkg/etc/skeykeys\"   -c -o put.o put.c
In file included from config.h:157,
                 from put.c:18:
defines.h:67:15: warning: extra tokens at end of #ifdef directive
cc -O2 -DHAVE_CONFIG_H  -DSENDMAIL=\"/usr/sbin/sendmail\"
-DSKEYKEYS=\"/usr/pkg/etc/skeykeys\"   -c -o errx.o errx.c
In file included from config.h:157,
                 from errx.c:34:
defines.h:67:15: warning: extra tokens at end of #ifdef directive
cc -O2 -DHAVE_CONFIG_H  -DSENDMAIL=\"/usr/sbin/sendmail\"
-DSKEYKEYS=\"/usr/pkg/etc/skeykeys\"   -c -o md4c.o md4c.c
In file included from config.h:157,
                 from md4c.c:32:
defines.h:67:15: warning: extra tokens at end of #ifdef directive
cc -O2 -DHAVE_CONFIG_H  -DSENDMAIL=\"/usr/sbin/sendmail\"
-DSKEYKEYS=\"/usr/pkg/etc/skeykeys\"   -c -o md5c.o md5c.c
In file included from config.h:157,
                 from md5c.c:33:
defines.h:67:15: warning: extra tokens at end of #ifdef directive
cc -O2 -DHAVE_CONFIG_H  -DSENDMAIL=\"/usr/sbin/sendmail\"
-DSKEYKEYS=\"/usr/pkg/etc/skeykeys\"   -c -o rmd160.o rmd160.c
In file included from config.h:157,
                 from rmd160.c:25:
defines.h:67:15: warning: extra tokens at end of #ifdef directive
cc -O2 -DHAVE_CONFIG_H  -DSENDMAIL=\"/usr/sbin/sendmail\"
-DSKEYKEYS=\"/usr/pkg/etc/skeykeys\"   -c -o rmd160hl.o rmd160hl.c
In file included from config.h:157,
                 from rmd160hl.c:21:
defines.h:67:15: warning: extra tokens at end of #ifdef directive
rmd160hl.c: In function 'RMD160File':
rmd160hl.c:55: error: argument 'filename' doesn't match prototype
/usr/include/rmd160.h:51: error: prototype declaration
gmake: *** [rmd160hl.o] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/security/skey
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/skey


-- 
./Brandon