From: Chris Lingard
(chris_at_stockwith.co.uk)
Date: Mon Apr 07 2003 -
15:32:35 MDT
Daniel Brewer wrote:
> Hi there,
>
> I am having a problem getting nfs compiled. I
have compiled
> tcp_wrappers and portmap fine
the problems I get occur when I try to
> compile
nfs-utils. Here is the error:
>
> gcc -Os -march=athlon-xp -pipe -D_GNU_SOURCE
-DHAVE_TCP_WRAPPER
> -I../../support/include
-Wall -pipe -DVERSION="\"nfs-utils 0.2.1\""
> -c
-o rpcmisc.o rpcmisc.c
> 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
>
> Any ideas what is going on?
You need to add lots of #include <time.h>
Put it in a local header if you can, or just add it to rpcmisc.c
Chris
-- Unsubscribe: send email to listar@linuxfromscratch.org and put 'unsubscribe blfs-support' in the subject header of the message
This archive was generated by Hypermail