[ltt-dev] ust-0.15: make error

Mathieu Desnoyers compudj at krystal.dyndns.org
Fri Aug 26 11:02:52 EDT 2011


* Zvi Vered (veredz72 at gmail.com) wrote:
> Hi,
>
> Should I add:  -L$HOME/GNU/ust-0.15     to LDFLAGS ?

Try also with -L$HOME/GNU/ust-0.15/libust

(and wherever your libust .so are located within the build tree)

possibly -L$HOME/GNU/ust-0.15/.libs/
or
possibly -L$HOME/GNU/ust-0.15/libust/.libs/

Thanks,

Mathieu

>
> Thanks,
> Zvika.
>
> ----- Original Message ----- From: "Mathieu Desnoyers" 
> <compudj at krystal.dyndns.org>
> To: "Zvi Vered" <veredz72 at gmail.com>
> Cc: <ltt-dev at lists.casi.polymtl.ca>
> Sent: Friday, August 26, 2011 13:12
> Subject: Re: [ltt-dev] ust-0.15: make error
>
>
>> * Zvi Vered (veredz72 at gmail.com) wrote:
>>> Hello,
>>>
>>> I'm, trying to build ust-0.15 under Centos6.0 (kernel 2.6.32.71, gcc  
>>> 4.4.4)
>>>
>>> The ./configure stage is OK. Attached config.log
>>> The attached build_ust.sh is the script used to run ./configure
>>>
>>> But when I ran "make" I got:
>>>
>>> [zvivered at localhost ust-0.15]$ make
>>> make  all-recursive
>>> make[1]: Entering directory `/home/zvivered/GNU/ust-0.15'
>>> Making all in snprintf
>>> make[2]: Entering directory `/home/zvivered/GNU/ust-0.15/snprintf'
>>> make[2]: Nothing to be done for `all'.
>>> make[2]: Leaving directory `/home/zvivered/GNU/ust-0.15/snprintf'
>>> Making all in libustcomm
>>> make[2]: Entering directory `/home/zvivered/GNU/ust-0.15/libustcomm'
>>>   CC     libustcomm_la-ustcomm.lo
>>>   CCLD   libustcomm.la
>>> make[2]: Leaving directory `/home/zvivered/GNU/ust-0.15/libustcomm'
>>> Making all in libustctl
>>> make[2]: Entering directory `/home/zvivered/GNU/ust-0.15/libustctl'
>>>   CC     libustctl_la-libustctl.lo
>>>   CCLD   libustctl.la
>>> /usr/bin/ld: libustctl.so.0: No such file: No such file or directory
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [libustctl.la] Error 1
>>> make[2]: Leaving directory `/home/zvivered/GNU/ust-0.15/libustctl'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/home/zvivered/GNU/ust-0.15'
>>> make: *** [all] Error 2
>>>
>>> It seems make looks for  libustctl.so.0
>>> But in this stage,  libustctl.so.0 was not created. It is created only
>>> after "make install"
>>>
>>> when I added --disable-shared, I made some progress.
>>> Is it a wise step ?
>>
>> I've seen your build script has:
>>
>> export LDFLAGS="-Wl,-rpath $HOME/GNU/urcu/lib -I$HOME/GNU/urcu/lib 
>> -L$HOME/GNU/urcu/lib"
>>
>> Please try adding the full path to your ust-0.15 build tree in the -L
>> options of your LDFLAGS override.
>>
>> Best regards,
>>
>> Mathieu
>>
>>>
>>> Thanks,
>>> Zvika.
>>
>>
>>
>>> _______________________________________________
>>> ltt-dev mailing list
>>> ltt-dev at lists.casi.polymtl.ca
>>> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>>
>>
>> -- 
>> Mathieu Desnoyers
>> Operating System Efficiency R&D Consultant
>> EfficiOS Inc.
>> http://www.efficios.com 
>

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list