Compile error in server.c

Jelmer Vernooij jelmer at samba.org
Tue Mar 25 21:41:15 GMT 2003


On Tue, Mar 25, 2003 at 04:29:01PM -0500, James Willard wrote about 'RE: Compile error in server.c':
> 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

Are you really sure you've reran configure ? My include/config.h
contains:

/* Static init functions */
#define static_init_rpc { rpc_srv_init(); rpc_spoolss_init();}

Jelmer


> -----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()

-- 
Jelmer Vernooij                                      <jelmer at samba.org>
~/.plan: 
poptify smbmount and others
smb_register_vfs()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030325/fcff14e9/attachment.bin


More information about the samba-technical mailing list