[NFS] Compileing nfs-utils 1.1.5 on RHEL4 fails in tcpwrapper.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want to upgrade nfs-utils from 1.0.6 to 1.1.5, so I have downloaded the source code form sourceforge.net and issue the following ./configure command

./configure --disable-nfsv4 --disable-static --with-statduser=rpcuser --disable-gss

Which finishes without errors. But then when I make I get the following

make[2]: Entering directory `/usr/local/src/nfs-utils-1.1.5/support/misc'
gcc -DHAVE_CONFIG_H -I. -I../../support/include   -I/usr/include -D_GNU_SOURCE -Wall -Wstrict-prototypes  -pipe -g -O2 -MT tcpwrapper.o -MD -MP -MF .deps/tcpwrapper.Tpo -c -o tcpwrapper.o tcpwrapper.c
tcpwrapper.c: In function `haccess_add':
tcpwrapper.c:117: warning: implicit declaration of function `TAILQ_EMPTY'
tcpwrapper.c:119: error: syntax error before "else"
tcpwrapper.c: At top level:
tcpwrapper.c:121: error: syntax error before '}' token
tcpwrapper.c: In function `haccess_lookup':
tcpwrapper.c:131: warning: implicit declaration of function `TAILQ_FOREACH'
tcpwrapper.c:131: error: `list' undeclared (first use in this function)
tcpwrapper.c:131: error: (Each undeclared identifier is reported only once
tcpwrapper.c:131: error: for each function it appears in.)
tcpwrapper.c:131: error: syntax error before '{' token
make[2]: *** [tcpwrapper.o] Error 1
make[2]: Leaving directory `/usr/local/src/nfs-utils-1.1.5/support/misc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/nfs-utils-1.1.5/support'
make: *** [all-recursive] Error 1

I have found the TAILQ_ definitions in utils/idmapd/queue.h but most importantly in /usr/include/sys/queue.h which tcpwrapper.c should have picked up.

Can anubody help? I'm not subscribed to the list so please make sure to CC me.

Thanks
Giulio


Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851    VAT Reg No 778499447





------------------------------------------------------------------------------
_______________________________________________
NFS maillist  -  NFS@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@xxxxxxxxxxxxxxxxxxxxx is being discontinued.
Please subscribe to linux-nfs@xxxxxxxxxxxxxxx instead.
    http://vger.kernel.org/vger-lists.html#linux-nfs

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux