[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Library Issue
From: |
Paul Pluzhnikov |
Subject: |
Re: Library Issue |
Date: |
Sun, 22 Apr 2007 15:26:25 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
Brian C <brianc@no.sp.a.m.dynamissoftware.com> writes:
> Ok, well, I did speak too soon. I was compiling a different project (oops).
>
> The project in question did have the link line the way that website
> specified, so nothing was changed, therefore, still get the
> error. Here's the code:
>
> g++ ./getscores.o -L/dynamis/lib -ldex -lmascot -o /dynamis/bin/getscores
This link line is incorrect, because (as is clear from your original
error message) libmascot depends on libdex, and therefore libdex
must *follow* libmascot on the link line. The correct link line
(assuming libdex doesn't in turn depend on libmascot) is:
g++ ./getscores.o -L/dynamis/lib -lmascot -ldex -o /dynamis/bin/getscores
[I also conclude that you either didn't pay too much attention
while reading my explanation, or that it is still confusing even
though I've tried to make it cristal clear :[
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
- Library Issue, Brian C, 2007/04/22
- Re: Library Issue, Paul Pluzhnikov, 2007/04/22
- Re: Library Issue, Brian C, 2007/04/22
- Re: Library Issue, Robert Heller, 2007/04/22
- Re: Library Issue, Brian C, 2007/04/22
- Re: Library Issue,
Paul Pluzhnikov <=
- Re: Library Issue, Brian C, 2007/04/22
- Re: Library Issue, Paul Pluzhnikov, 2007/04/23
- Re: Library Issue, Brian C, 2007/04/23