[Samba] Problem building samba 4.0.0beta7 on Solaris 10

Tom Crummey tom at ee.ucl.ac.uk
Wed Aug 29 07:13:20 MDT 2012


Hello,

I've been trying to build samba 4.0.0 beta7 on Solaris 10 without success.

I'm using gcc 4.4.0.

The problems I'm encountering are compilation errors where include files
are not being found:

[1177/3379] Compiling source4/ntvfs/posix/python/pyposix_eadb.c
../source4/ntvfs/posix/python/pyposix_eadb.c:24:24: error: tdb_compat.h:
No such file or directory
Waf: Leaving directory `/usr/local/src/samba-4.0.0beta7/bin'
Build failed:  -> task failed (err #1):
        {task: cc pyposix_eadb.c -> pyposix_eadb_10.o}
gmake: *** [all] Error 1

and an undefined symbol:

[3203/3379] Linking default/lib/ntdb/ntdbtorture
Undefined                       first referenced
 symbol                             in file
err                                 default/lib/ntdb/tools/ntdbtorture_3.o
ld: fatal: Symbol referencing errors. No output written to
/usr/local/src/samba-4.0.0beta7/bin/default/lib/ntdb/ntdbtorture
collect2: ld returned 1 exit status
Waf: Leaving directory `/usr/local/src/samba-4.0.0beta7/bin'
Build failed:  -> task failed (err #1):
        {task: cc_link
ntdbtorture_3.o,ilog_2.o,hash_1.o,replace_2.o,timegm_2.o,snprintf_2.o,strptime_2.o,getpass_2.o,getifaddrs_2.o,xattr_2.o,debug_4.o,str_4.o,tally_5.o,likely_10.o,check_1.o,free_1.o,hash_1.o,io_1.o,lock_1.o,open_1.o,summary_1.o,ntdb_1.o,transaction_1.o,traverse_1.o
-> ntdbtorture}


I had submitted a bug report (Bug ID 9064) which was against beta4, but
I've updated it with the above information. I'd be grateful either for a
full fix or pointers to what to change to make it work.

Thanks,


-- 
Tom.

--------------------------------------------------------------------------
 Tom Crummey, Infrastructure Manager,         EMAIL: tom at ee.ucl.ac.uk
 Dept. of Electronic and Electrical Engineering,
 University College London, Roberts Building,   TEL: +44 (0)20 7679 3898
 Torrington Place,                              FAX: +44 (0)20 7388 9325
 London, UK, WC1E 7JE.
--------------------------------------------------------------------------


More information about the samba mailing list