When I compiled grx.pas, I have grx.o and grx20.gpi. So, I tried to renamed grx20.gpi in grx.gpi and now the message is: gpc --automake -o fgraph fgraph.p -lgrx20X -lX11 ld: fatal: library -llibgrx20X: not found ld: fatal: File processing errors. No output written to fgraph collect2: ld returned 1 exit status
I have corrected in grx.pas "unit GRX20" in "unit GRX" but the error message is still the same...
Nathalie ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Nathalie Jarosz wrote:
gpc --automake -o fgraph fgraph.p -lgrx20X -lX11 ld: fatal: library -llibgrx20X: not found ld: fatal: File processing errors. No output written to fgraph collect2: ld returned 1 exit status
I have corrected in grx.pas "unit GRX20" in "unit GRX"
Yes, that was necessary.
but the error message is still the same...
This means that GPC cannot locate your `libgrx20X.a'. Where is it installed on your computer? If it is, say, in `/usr/local/src/grx/lib/unix/' then your command line reads:
gpc -L /usr/local/src/grx/lib/unix --automake -o fgraph fgraph.p -lgrx20X -lX11
Hope this helps,
Peter