* Zvi Vered ([email protected]) 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" > <[email protected]> > To: "Zvi Vered" <[email protected]> > Cc: <[email protected]> > Sent: Friday, August 26, 2011 13:12 > Subject: Re: [ltt-dev] ust-0.15: make error > > >> * Zvi Vered ([email protected]) 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@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 >>> [email protected] >>> 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 _______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
