Compile error in server.c
Esh, Andrew
Andrew_Esh at adaptec.com
Tue Mar 25 22:42:44 GMT 2003
Maybe use the "-A" option to cvs update, to clear any sticky tags that might
be applied to your files. Such tags would prevent the latest code from being
downloaded.
-----Original Message-----
From: James Willard [mailto:james at whispering.org]
Sent: Tuesday, March 25, 2003 3:52 PM
To: 'Jelmer Vernooij'
Cc: samba-technical at samba.org
Subject: RE: Compile error in server.c
I promise you, I did everything that I said I did, including running
make clean, make distclean, cvs update -d -P, autoconf, and ./configure.
Is there something you would like for me to look at? My include/config.h
does not have that #define, despite having rm'd include/config.h and
running ./configure again.
James
-----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:41 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: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()
More information about the samba-technical
mailing list