[Samba] Compilation Error during make

John Blac johnblac at gmail.com
Thu Dec 11 00:37:11 MST 2014


Hi Everyone,

I'm getting error when compiling Samba 4.1 on AIX. Any ideas on the errors
below? Thanks!

# make

        WAF_MAKE=1  ./buildtools/bin/waf build

Waf: Entering directory `/root/samba-4.1.12/bin'

    Selected embedded Heimdal build

[  43/3712] Generating smbd/build_options.c

[3228/3712] Linking default/lib/talloc/libtalloc.so

[3233/3712] Linking default/lib/tdb/tdb1-run-3G-file

[3232/3712] Linking default/lib/tdb/libtdb.so

[3230/3712] Linking default/source4/heimdal_build/libroken-samba4.so

ld: 0706-012 The -h flag is not recognized.

ld: 0706-005 Cannot find or open file: libtalloc.so.2

        ld:open(): No such file or directory

collect2: error: ld returned 255 exit status

ld: 0711-224 WARNING: Duplicate symbol: global destructors keyed to
65535_0___dso_handle

ld: 0711-224 WARNING: Duplicate symbol: .__init_aix_libgcc_cxa_atexit

ld: 0711-224 WARNING: Duplicate symbol: .global destructors keyed to
65535_0___dso_handle

ld: 0711-224 WARNING: Duplicate symbol: __dso_handle

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.

ld: 0706-012 The -h flag is not recognized.

ld: 0706-005 Cannot find or open file: libroken-samba4.so.19

        ld:open(): No such file or directory

collect2: error: ld returned 255 exit status

ld: 0706-012 The -h flag is not recognized.

ld: 0706-005 Cannot find or open file: libtdb.so.1

        ld:open(): No such file or directory

collect2: error: ld returned 255 exit status

Waf: Leaving directory `/root/samba-4.1.12/bin'

Build failed:

-> task failed (err #1):

        {task: cc_link talloc_1.o -> libtalloc.so}

-> task failed (err #1):

        {task: cc_link
base64_3.o,ct_3.o,hex_3.o,bswap_3.o,dumpdata_3.o,emalloc_3.o,ecalloc_3.o,getarg_3.o,get_window_size_3.o,getdtablesize_3.o,h_errno_3.o,issuid_3.o,net_read_3.o,net_write_3.o,parse_time_3.o,parse_units_3.o,vis_3.o,strlwr_3.o,strsep_copy_3.o,strsep_3.o,strupr_3.o,strpool_3.o,estrdup_3.o,erealloc_3.o,simple_exec_3.o,strcollect_3.o,rtbl_3.o,rand_3.o,cloexec_3.o,xfree_3.o,replace_3.o,closefrom_3.o,resolve_3.o,socket_3.o,roken_gethostby_3.o,strerror_r_3.o
-> libroken-samba4.so}

-> task failed (err #1):

        {task: cc_link
check_1.o,error_1.o,tdb_1.o,traverse_1.o,freelistcheck_1.o,lock_1.o,dump_1.o,freelist_1.o,io_1.o,open_1.o,transaction_1.o,hash_1.o,summary_1.o,rescue_1.o
-> libtdb.so}

make: The error code from the last command is 1.





Stop.


-Lester


More information about the samba mailing list