Subject: Problems compiling net/sharity-light
To: None <netbsd-help@netbsd.org>
From: Daniel Bolgheroni <dbolgheroni@unifei.edu.br>
List: netbsd-help
Date: 05/12/2004 12:45:08
Hi,

I'm trying to compile net/sharity-light package from pkgsrc to mount a
samba partition, but I'm getting the following error related to NFS (?):

# make install

(...)

gcc  -c -I. -I.. -Wall -O2 -DNETBSD mount.c
mount.c: In function `mount_and_dispatch':
mount.c:160: `NFS_PROGRAM' undeclared (first use in this function)
mount.c:160: (Each undeclared identifier is reported only once
mount.c:160: for each function it appears in.)
mount.c:160: `NFS_VERSION' undeclared (first use in this function)
*** Error code 1

Stop.
make: stopped in
/usr/pkgsrc/net/sharity-light/work/Sharity-Light.1.2/nfs*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/sharity-light/work/Sharity-Light.1.2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/sharity-light
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/sharity-light
#

Must I recompile kernel with NFS server (or client) enabled? What's
wrong?

Thank you.