Nathalie Jarosz wrote:
Actually, I would like to use a fonction named "genbet" in the randlib.c. For that, I have made a little program beta.pas:
unit beta; interface {$L /usr/local/include/randlib.h}
{$L randlib }
Undefined first referenced symbol in file main
Add the `-c' option to this compilation.
And for the second one: test.p:4: object file `/usr/local/include/randlib.o' not found test.p:4: object file `/usr/local/include/randlib.o' not found
See above. If you keep getting error messages, make sure that `randlib.a' is found (it is when it is located in /usr/lib or in /usr/local/lib/).
Hope this helps,
Peter