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

Pccom Frank pccom.frank at gmail.com
Thu Nov 28 11:04:02 MST 2013


Hi, David!

I went /usr/ports/devel/talloc
and did a make deinstall clean
Then I did a ./configure --bundled-libraries=talloc
gmake.
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):
        {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,
tvfs_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_
fs_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
,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_notif
ock_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 #



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

> On Thu, 28 Nov 2013 12:34:58 -0500
> Pccom Frank <pccom.frank at gmail.com> wrote:
>
> > Hi, David!
> > I did a ./configure --bundled-libraries=talloc
> > Then gmake. Still errors as following:
>
> Hmm, someone with better Waf skills should be able to point out the
> right argument.
>
> >
> > ......
> > [2852/3880] Compiling source3/locking/brlock.c
> > ../source3/locking/brlock.c: In function 'brl_get_locks_readonly_parser':
> > ../source3/locking/brlock.c:2071: error: expected expression before
> 'struct'
> > ../source3/locking/brlock.c:2071: warning: assignment makes pointer from
> > integer without a cast
> > ../source3/locking/brlock.c: In function 'brl_get_locks_readonly':
> > ../source3/locking/brlock.c:2127: error: expected expression before
> 'struct'
> > ../source3/locking/brlock.c:2127: warning: assignment makes pointer from
> > integer without a cast
> > Waf: Leaving directory `/usr/local/samba-master/bin'
> > Build failed:  -> task failed (err #1):
> >         {task: cc brlock.c -> brlock_91.o}
> > gmake: *** [all] Error 1
> > root at hq:/usr/local/samba-master #
> >
> > my talloc is:
> > talloc-2.0.8        Hierarchical pool based memory allocator
>
> Yes, that's too old. talloc_pooled_object() went in with 2.1.0.
> I'd suggest simply removing talloc for now.
>
> Cheers, David
>


More information about the samba mailing list