Subject: Build failure
To: #List NetBSD current users <current-users@NetBSD.ORG>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 01/07/2004 20:59:38
Sources updated via cvs just a couple hours ago.
build.sh fails in libkafs with following:
# compile libkafs/afskrb.o
/usr/obj/tools.i386/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Werror -DKRB4 -I/usr/release/destdir-i386/usr/include/kerberosIV -I. -I/usr/src/crypto/dist/heimdal/lib/kafs -I/usr/release/destdir-i386/usr/include/krb5 -I/usr/src/include/heimdal -I/usr/src/libroken -I/usr/src/crypto/dist/heimdal/lib/roken -DHAVE_CONFIG_H -DKRB4 -nostdinc -isystem /usr/release/destdir-i386/usr/include -c /usr/src/crypto/dist/heimdal/lib/kafs/afskrb.c -o afskrb.o.tmp
/usr/src/crypto/dist/heimdal/lib/kafs/afskrb.c: In function `afslog_uid_int':
/usr/src/crypto/dist/heimdal/lib/kafs/afskrb.c:90: warning: implicit declaration of function `kafs_settoken_rxkad'
*** Failed target: afskrb.o
*** Failed command: /usr/obj/tools.i386/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Werror -DKRB4 -I/usr/release/destdir-i386/usr/include/kerberosIV -I. -I/usr/src/crypto/dist/heimdal/lib/kafs -I/usr/release/destdir-i386/usr/include/krb5 -I/usr/src/include/heimdal -I/usr/src/libroken -I/usr/src/crypto/dist/heimdal/lib/roken -DHAVE_CONFIG_H -DKRB4 -nostdinc -isystem /usr/release/destdir-i386/usr/include -c /usr/src/crypto/dist/heimdal/lib/kafs/afskrb.c -o afskrb.o.tmp
*** Error code 1
Stop.
nbmake: stopped in /usr/src/lib/libkafs
I looked at the source, and afskrb.c #includes kafs_locl.h which in turn
#includes kafs.h which defines kafs_settoken_rxkad() so I'm baffled.
Anyone else seen this?
----------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Network Engineer | FA29 0E3B 35AF E8AE 6651 | paul@whooppee.com |
| & World Cruiser | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
----------------------------------------------------------------------