Bug 8104 - mount 2.9u cannot be compiled without -DHAVE_NFS
mount 2.9u cannot be compiled without -DHAVE_NFS
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: mount (Show other bugs)
6.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-01-02 00:52 EST by Duane Voth
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-01-16 11:33:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Duane Voth 2000-01-02 00:52:43 EST
umount.c in the mount-2.9u-4.src.rpm package complains with the following
when compiled without the -DHAVE_NFS define:

gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -I./lib   umount.c
umount.c: In function `umount_one':
umount.c:235: warning: implicit declaration of function `perror'
umount.c:238: warning: implicit declaration of function `printf'
umount.c:267: warning: implicit declaration of function `fprintf'
umount.c:267: `stderr' undeclared (first use in this function)
umount.c:267: (Each undeclared identifier is reported only once
umount.c:267: for each function it appears in.)
umount.c: In function `main':
umount.c:419: `EOF' undeclared (first use in this function)
umount.c:428: `stdout' undeclared (first use in this function)
umount.c:449: `stderr' undeclared (first use in this function)
make: *** [umount.o] Error 1

If you leave DEFINES=-DHAVE_NFS in the spec file, everything is
fine.
Comment 1 Bernhard Rosenkraenzer 2000-01-16 11:33:59 EST
Should be fixed in 2.10d (rawhide)

Note You need to log in before you can comment on or make changes to this bug.