LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Samba 4 alpha14 compilation error on Slackware64-13.1 (http://www.linuxquestions.org/questions/slackware-14/samba-4-alpha14-compilation-error-on-slackware64-13-1-a-858970/)

KamasCZ 01-27-2011 03:41 AM

Samba 4 alpha14 compilation error on Slackware64-13.1
 
Hello everyone,
I'm trying to compile Samba 4 on Slackware64. I used tarbal version alpha14, but
make fails before end of the process saying:
Code:

[2152/2372] Linking default/source4/heimdal_build/libasn1-samba4.so
/lib64/libcom_err.a(error_message.o): In function `fini_et_lock':
error_message.c:(.text+0x2c): undefined reference to `sem_destroy'
/lib64/libcom_err.a(error_message.o): In function `setup_et_lock':
error_message.c:(.text+0x53): undefined reference to `sem_init'
/lib64/libcom_err.a(error_message.o): In function `et_list_unlock':
error_message.c:(.text+0x18): undefined reference to `sem_post'
/lib64/libcom_err.a(error_message.o): In function `et_list_lock':
error_message.c:(.text+0x8f): undefined reference to `sem_wait'
collect2: ld returned 1 exit status
Waf: Leaving directory `/usr/src/samba-4.0.0alpha14/source4/bin'
Build failed:  -> task failed (err #1):
        {task: cc_link asn1_rfc2459_asn1_65.o,der_get_60.o,der_put_60.o,der_free_60.o,der_format_60.o,der_length_60.o,der_copy_60.o,der_cmp_60.o,extra_60.o,timegm_60.o,asn1_err_60.o,asn1_cms_asn1_80.o,asn1_krb5_asn1_70.o,asn1_pkinit_asn1_75.o -> libasn1-samba4.so}
make: *** [all] Error 1

Has anoyone here similar trouble? Or can you determine what I'm doing wrong from the error message?
I think I'm missing some libs or so, but I cannot find any help other than for Debian, and I'm Slackware guy :-)

Complete configure and make output can be foung here:
http://www.servis-it.net/data/samba-configure
http://www.servis-it.net/data/samba-make

Thank you for your reply.

ponce 01-28-2011 04:16 AM

if can be of help, this building error seems to manifest from alpha14 (with the code in git is the same), alpha13 builds fine: maybe you can try that until it gets fixed.

KamasCZ 01-28-2011 05:00 AM

Quote:

Originally Posted by ponce (Post 4240339)
if can be of help, this building error seems to manifest from alpha14 (with the code in git is the same), alpha13 builds fine: maybe you can try that until it gets fixed.

Thank you,
alpha13 works yust fine for me.


All times are GMT -5. The time now is 05:53 PM.