Compile error in server.c

James Willard james at whispering.org
Tue Mar 25 21:29:01 GMT 2003


Yes I did that about an hour ago, but just to be absolutely sure I went
ahead and did the following again just about 2 minutes ago:

cvs update -d -P
cd source
make clean && ./configure && make

Then I received the error once again:

Compiling smbd/server.c
smbd/server.c: In function `main':
smbd/server.c:862: `static_init_rpc' undeclared (first use in this
function)
smbd/server.c:862: (Each undeclared identifier is reported only once
smbd/server.c:862: for each function it appears in.)
make: *** [smbd/server.o] Error 1


Thanks,

James Willard
james at whispering.org


-----Original Message-----
From: samba-technical-bounces+james=whispering.org at lists.samba.org
[mailto:samba-technical-bounces+james=whispering.org at lists.samba.org] On
Behalf Of Jelmer Vernooij
Sent: Tuesday, March 25, 2003 4:23 PM
To: James Willard
Cc: samba-technical at samba.org
Subject: Re: Compile error in server.c
Importance: High


On Tue, Mar 25, 2003 at 04:19:12PM -0500, James Willard wrote about 'RE:
Compile error in server.c':
> Well, that's what I was saying I did. I first did just a 'make clean' 
> and rebuilt, but then I went further and did a 'make distclean', 
> followed by 'autoconf', './configure', and 'make'. Both ways result in

> the compile error.

Have you tried that again lately after doing a 'cvs update -dP .' ? 
It really should work now...

Jelmer

> -----Original Message-----
> From: Jelmer Vernooij [mailto:jelmer at vernstok.dyndns.org] On Behalf Of

> Jelmer Vernooij
> Sent: Tuesday, March 25, 2003 4:15 PM
> To: James Willard
> Cc: samba-technical at samba.org
> Subject: Re: Compile error in server.c
> Importance: High


> On Tue, Mar 25, 2003 at 04:12:04PM -0500, James Willard wrote about 
> 'Compile error in server.c':
> > I'm getting an error when trying to compile the HEAD branch of 
> > Samba.
> > I've been following it in CVS since, well, since it was created. The

> > problem suddenly appeared about a week or two ago and I've been 
> > updating daily ever since to see if it would go away. Despite a
'make 
> > distclean', removing config.h, and rebuilding, the error still
exists:

> > Compiling smbd/server.c
> > smbd/server.c: In function `main':
> > smbd/server.c:862: `static_init_rpc' undeclared (first use in this
> > function)
> > smbd/server.c:862: (Each undeclared identifier is reported only once
> > smbd/server.c:862: for each function it appears in.)
> > make: *** [smbd/server.o] Error 1
> make clean &&  ./configure && make should fix this.

> Jelmer

> --
> Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
> 22:13:59 up 8 days,  4:28, 24 users,  load average: 0.14, 0.29, 0.25

-- 
Jelmer Vernooij                                      <jelmer at samba.org>
~/.plan: 
poptify smbmount and others
smb_register_vfs()



More information about the samba-technical mailing list