On Tuesday 25 April 2006 06:35, Maura Edeweiss Monville wrote:
On Mon, 24 Apr 2006, Roger Oberholtzer wrote:
On Mon, 2006-04-24 at 05:18 -0500, Maura Edeweiss Monville wrote:
i> > > ar x libxxx.a
Actually I get nothing out of this command:
mauede@linux:/home/mokhov/restricted/mars15/linux/lib> ar x libm15gui_linux.a mauede@linux:/home/mokhov/restricted/mars15/linux/lib>
Meaning that you get no .o files created? This does not sound correct. The command won't list anyhthing. It just extracts the files in the archive. Are you sure the library is OK? What do you get for:
ar tv libm15gui_linux.a
I get the following:
mauede@linux:/home/mokhov/restricted/mars15/linux/lib> ar tv libm15gui_linux.a rw-r--r-- 1000/100 49288 Apr 24 12:49 2006 m15gui.o
So, 'ar x libm15gui_linux' must have produced a file called m15gui.o. Right? What does file m15gui.o say? What happens if you remove the -lm15gui_linux option from your compile command and replace it with m15gui..o ? After you have gotten m15gui..o out of the archive (ar x libm15gui_linux.a) and put it where the compiler can find it.
If that lists nothing then your library is not what it should be.
Did you ever tell if you have the source for the library?
Yes I do have the source of Tcl/Tk 8.3. It's public stuff. Anyone can download that from the Tcl Tk site
I did not mean the Tcl/Tk source. I meant your Monte Carlo stuff. My point is: why are you not simply compiling the Monte Carlo stuff locally instead of using a library with an uncertain pedigree?
It's because it generates all the .h and .a files that the Monte Carlo program needs and stores them in the right place. I do not know how to do that if I use anothe Tcl/Tk distribution.
What is the 'it' that produces these files? Do you mean to say that the source is not distributed? Only a library? -- Roger Oberholtzer OPQ Systems AB