Click to See Complete Forum and Search --> : Linux Problem


Kohinoor24
September 25th, 2002, 09:05 AM
I have an Archive named LIBPJT.A under linux & dll for it for windows.
I also have a pjt.h header file.As it contained C-Functions,I used the "Extern c" To call it from the c++ code & it worked fine under windows.


Under Linux,I put the Library in the path /home/Kohinoor/LIBPJT.A
The Linker options,I gave as follows:

LinkOptions= "-L.-L/opt/gcc3/lib -lpthread -lstdc++ -lgcc_s -L/home/Kohinoor -lPJT -oToken_exe"

But it is showing compile Errors.Is there anything wrong in the LinkOptions or could any one tell the reason..
Thanks in advance

PaulWendt
September 25th, 2002, 09:12 AM
Is it showing compile errors or link errors? Why don't you show
us the error message so that we can try to help you?

Kohinoor24
September 25th, 2002, 09:30 AM
Thank you very much For the said help.Iam glad to hear that.Iam about to leave the office. I will need ur help tommorow as Iam compiling a project under Linux & as u know Iam not an Linux Expert :)
(This post was about another application which Iam stopping by today.I will be going ahead with it only after the new one gets compiled under linux.)

Thank u for ur help by the way.

PaulWendt
September 25th, 2002, 09:51 AM
Well now I'm confused because I didn't help at all due to lack of
data. Perhaps you meant this for a different thread?

Kohinoor24
September 26th, 2002, 04:08 AM
I said Thanks for offering the help:)