LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-17-2003, 03:11 PM   #1
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Rep: Reputation: 30
BLFS: nfs-utils-0.2 will not compile; rpmisc.o:218 ...


I am still trying to get my NFS client going on my LFS machine. When I try to compile the nfs-utils-0.2, I get errors refering to the file rpcmisc.c at several lines, 218 on down.

What could be going wrong?
 
Old 06-17-2003, 04:39 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
What is the error message it displays?
 
Old 06-17-2003, 05:29 PM   #3
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Original Poster
Rep: Reputation: 30
Here is the error output:

rpcmisc.c: In function `rpc_logcall':
rpcmisc.c:218: warning: implicit declaration of function `localtime'
rpcmisc.c:218: warning: assignment makes pointer from integer without a cast
rpcmisc.c:220: dereferencing pointer to incomplete type
rpcmisc.c:220: dereferencing pointer to incomplete type
rpcmisc.c:220: dereferencing pointer to incomplete type
rpcmisc.c:221: dereferencing pointer to incomplete type
rpcmisc.c:221: dereferencing pointer to incomplete type
rpcmisc.c:221: dereferencing pointer to incomplete type
make[2]: *** [rpcmisc.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2

Note my other post about NFS. It turns out that the mount is now working, but the /etc/rc.d/init.d/nfsclient script is not running at boot. If I run it manually, I can mount remote directories. But, I get the following errors when I run that script manually:

./nfsclient: /usr/bin/sleep: No such file or directory
./nfsclient: /usr/sbin/rpc.statd: No such file or directory

My first suspicion is that these are what is missing from the programs from this bad compile.

Isn't there some program you have to run to get a script going in that directory? Or is everything in there just run automatically? At the NFS hints no such preparation was mentioned:

http://hints.linuxfromscratch.org/hints/nfs.txt
 
Old 06-21-2003, 08:56 AM   #4
matthew_carson
LQ Newbie
 
Registered: Jan 2002
Location: England, UK
Distribution: RH7.2 & MDK8.1
Posts: 3

Rep: Reputation: 0
Thumbs up nfs fault

Hi,
I've been experiencing the same fault myself ... but thank God someone knows how to fix it !

Here's the solution :
http://archive.linuxfromscratch.org/...3/04/0340.html

:@ Whew! That man Chris Linden sure knows his stuff !

{ happy nfs building }

Matthew.
 
Old 06-22-2003, 04:29 PM   #5
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Original Poster
Rep: Reputation: 30
Thanks! Yes, that seemed to do it.

In summary, the correction is to open the support/nfs/rpcmisc.c file in the nfs-utils build directory with an editor and add the line "#includes <time.h>" to the list of includes.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GIMP Compile Problem, LFS 6.0 & BLFS 5.1 drowbot Linux From Scratch 2 12-10-2004 01:37 PM
wireless utils maxware Linux - Wireless Networking 3 10-14-2004 09:03 AM
Misc Utils Ben Sytko Linux - Software 4 03-11-2004 02:03 PM
Has anybody tried linux on Fuego 218 laptop? captainstorm Linux - Newbie 2 07-14-2003 07:17 AM
nfs-utils install problem Griffon26 Linux - Software 1 11-03-2001 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration