Util-Linux make error
mccrosky at ualberta.ca
Fri Jan 12 08:10:05 PST 2001
I had the same problem last time I built a system on my ppc. I don't
remember exactly what I did, but here's the gist: Look through
nfsmount.c for include statements, one of them, possibly nfsmount.h,
refers to a document that was autogenerated by sunrpc and says so at the
top. In it you will find define statements that define variables that
have -very- similar names to NFS_FHSIZE and NFS_PORT. Insert another
define statement for each of these defining the variable listed in your
error to the value of the similarly named variable. Then compile,
should work fine.
Of course I haven't tried mounting anything via nfs with this system,
this may have messed something up. Anyone know of a non-evil solution
to this problem?
"Cynthia E. Carter" wrote:
> I received this error while installing util-linux in chroot environment using
> the backend proflle. Can you tell me what I need to do to correct this.
> nfsmount.c: In function `nfsmount':
> nfsmount.c:647: `NFS_FHSIZE' undeclared (first use in this function)
> nfsmount.c:647: (Each undeclared identifier is reported only once
> nfsmount.c:647: for each function it appears in.)
> nfsmount.c:665: warning: unreachable code at beginning of switch statement
> nfsmount.c:699: `NFS_PORT' undeclared (first use in this function)
> make: *** [nfsmount.o] Error 1
> make: Leaving directory `/usr/src/util-linux-2.10o/mount'
> make: *** [all] Error 1
> Return value of system() is 512.
> Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message
More information about the lfs-dev