Giulio Guarnone wrote:

> I've a static library (not open source) implementing a protocol. I don't
> know with what compiler was compiled, I know only that is the Linux
> version, so I try to link it with my program but I always fail.

Explain what you mean by "fail". What happens? How do you try?

> I've used the "ar xv <library>.a" to obtain *.o files and then I've
> create both a static and a dynamic library but the result library didn't
> work.

Waht do you mean by a "static library"? The .a file already is a static
library. And a dynamic one can only be created if the compiler was told to
generate position independant code.

_______________________________________________
Help-gplusplus mailing list
Help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to