Bug 8103 - mount 2.9u cannot be compiled without -DHAVE_NFS
Summary: mount 2.9u cannot be compiled without -DHAVE_NFS
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: aboot
Version: 4.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Cristian Gafton
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-01-02 05:51 UTC by Duane Voth
Modified: 2008-05-01 15:37 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2000-01-02 05:59:22 UTC


Attachments (Terms of Use)

Description Duane Voth 2000-01-02 05:51:56 UTC
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 05:59:59 UTC
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.