[mira_talk] Re: Call for testers: source code for MIRA 2.9.x

Hi Bastien,

I think I found the problem. Boost puts the libraries in /usr/lib64 and creates no symlink in /usr/lib.
Configure searches in /usr/lib and not /usr/lib64.

The make ran fine. I will test the program itself tomorrow.

-Raj


Bastien Chevreux wrote:
On Montag 22 Juni 2009 Saravanaraj Ayyampalayam wrote:
I have run into problems compiling MIRA on Open SuSe 11.0 (64bit).
[...]

(Open)SUSE was my primary development platform for the last 9 years, so it should work ... somehow.

g++ -pthread -I/usr/include -DPUBLICQUIET -DAJ_Linux64   -O2
-funroll-loops -L../io/ -L../util/ -L../errorhandling/ -L../mira
-L../examine/ -L../EdIt/ -L../caf/ -L../knn_abi373 -L../knn_alf
-L/usr/lib -static -o mira_101 mira_101.o -lmira  -lEdIt -lExamine
-lmsupport -lestass -lerrorhandling  -lutil -ldptools -lfio -lcaf
-lKNN_abi373 -lm -lexpat

../mira/libmira.a(skim.o): In function `Skim::Skim()':
skim.C:(.text+0x53e1): undefined reference to
[...]

Hmmmm. The Boost thread library is not linked. The above line should read:

g++ -pthread -I/usr/include -DPUBLICQUIET -DAJ_Linux64   -O2 -funroll-loops -
L../io/ -L../util/ -L../errorhandling/ -L../mira -L../examine/ -L../EdIt/ -
L../caf/ -L../knn_abi373 -L../knn_alf -L/usr/lib -static -o mira_101 mira_101.o -lmira -lEdIt -lExamine -lmsupport -lestass -lerrorhandling -
lutil -ldptools -lfio -lcaf -lKNN_abi373 -lm -lexpat -lboost_thread-mt

Note the additional "-lboost_thread-mt" at the end. This points to a problem in the configure tests for the thread library (they always have been a bit shaky).

Can you please also send me the output of:
  ./configure (WHATEVEROPTIONSYOUUSE) >&clog.txt

I'll see whether I can find something.

Regards,
  Bastien





--
You have received this mail because you are subscribed to the mira_talk mailing 
list. For information on how to subscribe or unsubscribe, please visit 
http://www.chevreux.org/mira_mailinglists.html

Other related posts: