[Samba] Samba4 git pull (11/28/2013) won't compile on FreeBSD 9.2

Pccom Frank pccom.frank at gmail.com
Thu Nov 28 13:10:20 MST 2013


Hi, David!
I installed a port libinotify, it compiled a little bit more, but still get
errors as following:

.....
[3645/3880] Linking default/source4/lib/policy/py-policy.so
[3646/3880] Linking default/source4/ntvfs/libntvfs.so
default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_setup':
inotify.c:(.text+0x508): undefined reference to `inotify_init'
default/source4/ntvfs/sysdep/inotify_1.o: In function `watch_destructor':
inotify.c:(.text+0x8d4): undefined reference to `inotify_rm_watch'
default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_watch':
inotify.c:(.text+0x9ad): undefined reference to `inotify_add_watch'
inotify.c:(.text+0xa06): undefined reference to `inotify_rm_watch'
inotify.c:(.text+0xaa5): undefined reference to `inotify_rm_watch'
Waf: Leaving directory `/usr/local/samba-master/bin'
Build failed:  -> task failed (err #1):
        {task: cc_link
inotify_1.o,vfs_smb2_6.o,vfs_ipc_12.o,ipc_rap_12.o,rap_server_12.o,pvfs_acl_1.o,pvfs_acl_xattr_3.o,vfs_cifs_5.o,vfs_simple_7.o,svfs_util_7.o,vfs_unixuid_1.o,sys_lease_3.o,sys_notify_2.o,ntvfs_base_1.o,ntvfs_generic_1.o,ntvfs_interface_1.o,ntvfs_util_1.o,pvfs_acl_nfs4_4.o,server_info_1.o,share_info_1.o,vfs_print_11.o,vfs_cifs_posix_9.o,svfs_util_9.o,vfs_posix_5.o,pvfs_util_5.o,pvfs_search_5.o,pvfs_dirlist_5.o,pvfs_fileinfo_5.o,pvfs_unlink_5.o,pvfs_mkdir_5.o,pvfs_open_5.o,pvfs_read_5.o,pvfs_flush_5.o,pvfs_write_5.o,pvfs_fsinfo_5.o,pvfs_qfileinfo_5.o,pvfs_setfileinfo_5.o,pvfs_rename_5.o,pvfs_resolve_5.o,pvfs_shortname_5.o,pvfs_lock_5.o,pvfs_oplock_5.o,pvfs_wait_5.o,pvfs_seek_5.o,pvfs_ioctl_5.o,pvfs_xattr_5.o,pvfs_streams_5.o,pvfs_notify_5.o,pvfs_sys_5.o,xattr_system_5.o,vfs_nbench_14.o,init_1.o,brlock_1.o,brlock_tdb_1.o,opendb_1.o,opendb_tdb_1.o,notify_1.o
-> libntvfs.so}
gmake: *** [all] Error 1
root at hq:/usr/local/samba-master #

Any ideas?


On Thu, Nov 28, 2013 at 1:20 PM, David Disseldorp <ddiss at suse.de> wrote:

> On Thu, 28 Nov 2013 13:04:02 -0500
> Pccom Frank <pccom.frank at gmail.com> wrote:
>
> > Hi, David!
> >
> > I went /usr/ports/devel/talloc
> > and did a make deinstall clean
> > Then I did a ./configure --bundled-libraries=talloc
> > gmake.
>
> Good, looks like we're past the talloc issue.
>
> > Still the errors like this:
> >
> > .....
> > [3625/3880] Linking
> default/source4/dsdb/samdb/ldb_modules/libldb-aclread.so
> > [3626/3880] Linking default/source4/librpc/python-epmapper.so
> > [3627/3880] Linking default/source4/ntvfs/posix/python-posix-eadb.so
> > [3628/3880] Linking
> > default/source4/dsdb/samdb/ldb_modules/libldb-secrets-tdb-sync.so
> > [3629/3880] Linking default/source4/ntvfs/libntvfs.so
> > default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_setup':
> > inotify.c:(.text+0x508): undefined reference to `inotify_init'
> > default/source4/ntvfs/sysdep/inotify_1.o: In function `watch_destructor':
> > inotify.c:(.text+0x8d4): undefined reference to `inotify_rm_watch'
> > default/source4/ntvfs/sysdep/inotify_1.o: In function `inotify_watch':
> > inotify.c:(.text+0x9ad): undefined reference to `inotify_add_watch'
> > inotify.c:(.text+0xa06): undefined reference to `inotify_rm_watch'
> > inotify.c:(.text+0xaa5): undefined reference to `inotify_rm_watch'
> > Waf: Leaving directory `/usr/local/samba-master/bin'
> > Build failed:  -> task failed (err #1):
>
> inotify was Linux specific last time I checked. Does your FreeBSD system
> offer a sys/inotify.h header file?
>
> Cheers, David
>


More information about the samba-technical mailing list