s3/s4 WAF: charset build problem on CentOS 5

Matthias Dieter Wallnöfer mdw at samba.org
Mon Sep 12 07:39:29 MDT 2011


Hi Andrew and others,

do you have a clue why the WAF build fails on my CentOS 5 system? Is the 
linking order somehow wrong?
> default/lib/util/charset/CP437_6.o: In function `init_samba_module':
> /root/samba/bin/../lib/util/charset/CP437.c:135: multiple definition 
> of `init_samba_module'
> default/lib/util/charset/weird_4.o:/root/samba/bin/../lib/util/charset/weird.c:129: 
> first defined here
> default/lib/util/charset/CP850_5.o: In function `init_samba_module':
> /root/samba/bin/../lib/util/charset/CP850.c:120: multiple definition 
> of `init_samba_module'
> default/lib/util/charset/weird_4.o:/root/samba/bin/../lib/util/charset/weird.c:129: 
> first defined here
> collect2: ld gab 1 als Ende-Status zurück
> Waf: Leaving directory `/root/samba/bin'
> Build failed:  -> task failed (err #1):
>     {task: cc_link 
> crc32_1.o,md5_1.o,hmacmd5_1.o,md4_1.o,arcfour_1.o,sha256_1.o,hmacsha256_1.o,aes_1.o,rijndael-alg-fst_1.o,weird_4.o,iconv_1.o,dynconfig_1.o,talloc_stack_1.o,smb_threads_1.o,xfile_1.o,data_blob_1.o,util_file_1.o,time_1.o,rbtree_1.o,rfc1738_1.o,select_1.o,genrand_1.o,fsusage_1.o,blocking_1.o,become_daemon_1.o,signal_1.o,system_1.o,params_1.o,util_1.o,util_id_1.o,util_net_1.o,util_strlist_1.o,util_paths_1.o,idtree_1.o,debug_1.o,fault_1.o,base64_1.o,util_str_1.o,util_str_common_1.o,substitute_1.o,ms_fnmatch_1.o,server_id_1.o,dprintf_1.o,parmlist_1.o,bitmap_1.o,CP437_6.o,CP850_5.o,codepoints_2.o,convert_string_2.o,util_str_2.o,util_unistr_w_2.o,charcnv_2.o,pull_push_2.o,util_unistr_2.o 
> -> libsamba-util.so}
> make: *** [all] Fehler 1



More information about the samba-technical mailing list