Bug 8103 - mount 2.9u cannot be compiled without -DHAVE_NFS
mount 2.9u cannot be compiled without -DHAVE_NFS
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: aboot (Show other bugs)
4.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-01-02 00:51 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-02 00:59:22 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:51:56 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 Duane Voth 2000-01-02 00:59:59 EST
Whoops, wrong OS version...  created 8104 to get it right,
deleteing this one.

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