HAVE_VOP_POLL

Per Boussard T/ED Per.Boussard at era-t.ericsson.se
Sat Apr 18 17:49:04 CEST 1998


The HAVE_VOP_POLL looks like an autoconfigured variable, but...

backslash$> find . -type f -exec grep HAVE_VOP_POLL {} \; -print
#ifdef HAVE_VOP_POLL
./xfs/bsd/xfs_dev.c
#define HAVE_VOP_POLL 1
#define HAVE_VOP_POLL 1
./xfs/bsd/xfs_locl.h
#ifdef HAVE_VOP_POLL
#ifdef HAVE_VOP_POLL
./xfs/bsd/xfs_vnodeops.c

I don't know how common platforms without VOP_POLL are, but my NetBSD1.2
doesn't want to build arla-0.5 since it doesn't have things of that kind. 
I'm trying to figure out how that should be autoconfigured, but I don't
have enough platforms to examine that right now. Maybe a check for
/usr/include/sys/poll.h might do? Comments? 

Just to clarify what happens --

backslash$> pwd
/home/erapbou/software/build/arla-0.5/xfs/bsd
backslash$> make
gcc -c  -DHAVE_CONFIG_H -I. -I. -I/usr/src/sys/arch -I/usr/src/sys
-I../../include -I./../../include  -I./../include  -I/usr/athena/include
-DDEBUG -DDIAGNOSTIC  -DKERNEL -D_KERNEL -DLKM -D_LKM
-DACTUALLY_LKM_NOT_KERNEL -g  -Wall -Wno-unused xfs_dev.c
xfs_dev.c: In function `xfs_devpoll':
xfs_dev.c:318: `POLLRDNORM' undeclared (first use this function)
xfs_dev.c:318: (Each undeclared identifier is reported only once
xfs_dev.c:318: for each function it appears in.)
*** Error code 1

Stop.

/Per
---
Per Boussard, KI/ERA/T/ED          Office: +46 8 404 55 11
UNIX System Administrator          Fax: +46 8 757 55 50
Ericsson Radio Systems AB          Home: +46 8 570 349 67
S-164 80 STOCKHOLM, SWEDEN         Email: Per.Boussard at era-t.ericsson.se






More information about the Arla-drinkers mailing list