Hello,
My problem is like this :
I have the C procedure in a .so file. I have the prototype declaration in a header file.
How should the declaration of the procedure be given in my pas file?What will be the types of the parameters(C or pascal)?
Regards, Anuradha
peter@gerwinski.de wrote:
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
-- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-20000707 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: http://www.gerwinski.de/pubkeys/ - AntiSpam: http://spam.abuse.net
-- S.Anuradha Generic Data Tools, Alcatel Chennai. Alcanet : 2-757-7123