Magnus Jonneryd <[EMAIL PROTECTED]> writes:

> 5. All of the above are compiled and the object-files are inserted in to a   
>    library (libStuff.a). No trouble compiling.

What are the compile lines you use and how are you constructing
the libStuff.a ?

> 6. Lastly I define a main-method, in which i instantiate an object of class 
>    F, and tries to link with the library, now it starts to get odd. The
>    linker says there are some undefined references in F to members in E,

What is the failing link line and what is the *exact* error message?

Be sure main.o *preceedes* libStuff.a on the link line. Gory details
on why this matters can be found here:
 http://webpages.charter.net/ppluzhnikov/linker.html

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
Help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to