Kurt Pfeifle
2003-May-15 18:05 UTC
[Samba] CVS-HEAD -- make error: "smbd/vfs.c:267: `static_init_vfs' undeclared (first use in this function)"
I configured "--with-vfs" -- "make" produced this error: [....] Compiling smbd/vfs.c smbd/vfs.c: In function `vfs_init_custom': smbd/vfs.c:267: `static_init_vfs' undeclared (first use in this function) smbd/vfs.c:267: (Each undeclared identifier is reported only once smbd/vfs.c:267: for each function it appears in.) make: *** [smbd/vfs.o] Error 1 SuSE-8.0, gcc-2.95.3 Cheers, Kurt
Jelmer Vernooij
2003-May-15 18:16 UTC
[Samba] CVS-HEAD -- make error: "smbd/vfs.c:267: `static_init_vfs' undeclared (first use in this function)"
On Thu, May 15, 2003 at 08:05:18PM +0200, Kurt Pfeifle wrote about '[Samba] CVS-HEAD -- make error: "smbd/vfs.c:267: `static_init_vfs' undeclared (first use in this function)"':> I configured "--with-vfs" -- "make" produced this error:There is no such option in 3.0/HEAD. Are you sure you have regenerated configure by running ./autogen.sh?> [....] > Compiling smbd/vfs.c > smbd/vfs.c: In function `vfs_init_custom': > smbd/vfs.c:267: `static_init_vfs' undeclared (first use in this function) > smbd/vfs.c:267: (Each undeclared identifier is reported only once > smbd/vfs.c:267: for each function it appears in.) > make: *** [smbd/vfs.o] Error 1Can you check whether 'static_init_vfs' is defined in include/config.h ? Jelmer -- Jelmer Vernooij <jelmer@nl.linux.org> - http://jelmer.vernstok.nl/ -------------- 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/attachments/20030515/07a4adc8/attachment.bin
Kurt Pfeifle
2003-May-15 19:57 UTC
[Samba] CVS-HEAD -- make error: "smbd/vfs.c:267: `static_init_vfs' undeclared (first use in this function)"
Jelmer Vernooij wrote:> On Thu, May 15, 2003 at 08:05:18PM +0200, Kurt Pfeifle wrote about '[Samba] CVS-HEAD -- make error: "smbd/vfs.c:267: `static_init_vfs' undeclared (first use in this function)"': > >>I configured "--with-vfs" -- "make" produced this error: > > There is no such option in 3.0/HEAD.Thanks Jelmer. I had happened to copy'n'paste the wrong "./configure..." line.. Thanks for noticing...