[Samba] Samba4 git pull(11/30/2013) link error on FreeBSD 9.2

Volker Lendecke Volker.Lendecke at SerNet.DE
Sun Dec 1 05:34:03 MST 2013


On Sat, Nov 30, 2013 at 12:31:26PM -0500, Pccom Frank wrote:
> ....
> [3591/3880] Linking default/source4/librpc/python-unixinfo.so
> [3592/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}
> *** [all] Error code 1
> 
> Stop in /usr/local/samba-master.
> root at hq:/usr/local/samba-master #
> 
> root at hq:/usr/local/samba-master # uname -a
> FreeBSD hq.pccom.ca 9.2-STABLE FreeBSD 9.2-STABLE #7: Fri Oct  4 19:00:49
> EDT 2013     root at pccom.ca:/usr/obj/usr/src/sys/frank  amd64
> 
> Samba4.0.12 from port works with Bind99.
> 
> Any one can help? Tell me how I can help?

On an old 9.0 box I can't reproduce this. What does your
bin/config.log say about inotify? Do you have an inotify
header somewhere in your system?

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list