[Samba] compile samba v3.0.9 vfs-errors

Bastian.Zacher at aspect-online.de Bastian.Zacher at aspect-online.de
Mon Dec 13 08:14:57 GMT 2004


Hello NG,

found a thread with almost my current problem. There wasn't any solution 
out there.
Maybe anything has changed?

I want install samba v3.0.9 on an old rh linux v7.1. Currently there's no 
chance to
update the core system. But while compiling it breaks with many 
"vfs"-errors as shown
below:

..SNIP..
modules/vfs_shadow_copy.po(.text+0x6e2): undefined reference to 
`debug_add_class'
modules/vfs_shadow_copy.po(.text+0x700): undefined reference to 
`DEBUGLEVEL_CLASS'
modules/vfs_shadow_copy.po(.text+0x70e): undefined reference to 
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_shadow_copy.po(.text+0x73d): undefined reference to `dbghdr'
modules/vfs_shadow_copy.po(.text+0x764): undefined reference to 
`DEBUGLEVEL_CLASS'
modules/vfs_shadow_copy.po(.text+0x772): undefined reference to 
`DEBUGLEVEL_CLASS_ISSET'
modules/vfs_shadow_copy.po(.text+0x799): undefined reference to `dbghdr'
modules/vfs_shadow_copy.po(.text+0x7c0): undefined reference to `dbgtext'
Compiling modules/CP850.c with -fPIC
Building plugin bin/CP850.so
modules/CP850.po: In function `init_module':
modules/CP850.po(.text+0x1c5): undefined reference to 
`smb_register_charset'
Compiling modules/CP437.c with -fPIC
Building plugin bin/CP437.so
modules/CP437.po: In function `init_module':
modules/CP437.po(.text+0x1c5): undefined reference to 
`smb_register_charset'
..END..

Here are the first lines of the posting found in
http://lists.samba.org/archive/samba/2004-October/094787.html :

> Hi all,
>
> sorry for the long posting.
>
> Samba 2.2.x is outdated. Trying to switch to 3.0.7 with no success. The 
> vfs layer is one of my current problems. Googled some time for an 
> solution for this:
> 
> [2004/10/21 20:04:00, 0] smbd/server.c:main(760)
>    smbd version 3.0.7 started.
>    Copyright Andrew Tridgell and the Samba Team 1992-2004
> [2004/10/21 22:12:07, 0] smbd/server.c:main(760)
>    smbd version 3.0.7 started.
>    Copyright Andrew Tridgell and the Samba Team 1992-2004
> [2004/10/21 22:12:12, 0] smbd/vfs.c:vfs_init_custom(256)
>    Can't find a vfs module [vscan-oav]
> 
> The module is there, configuration in smb.conf is correct, but there 
> were many compile errors with _any_ vfs module.
> Must be a link failure, but how can I resolve this?
> 
> [public]
>     comment = public directory on test2
>     path = /public
>     public = yes
>     create mode = 0777
>     directory mode = 0777
>     browseable = yes
>     writeable = yes
>     level2 oplocks = no
>     blocking locks = no
>     oplocks = no
>     hide files = /desktop.ini/Thumbs.db/
>     vfs object = vscan-oav
>     vscan-oav: config-file = /etc/samba/vscan-oav.conf
> 
> Here are the compile errors with the normal vfs modules from samba 
tarball:
> ...

Thanks for your help,

bastian


More information about the samba mailing list