I am trying to compile a program in Pascal with GPC, that uses command lines. I use the module you can find on the GPC's manual. When compile my program i get the next messages: "undefined reference to '_p_paramcount'" "undefined reference to '_p_paramstr'" I use a machine under LINUX and GPC 2.95.2 I would appreciate if somebody can help me. I know is a simple question for you but not for me ;) Thank you.
CJ wrote:
I am trying to compile a program in Pascal with GPC, that uses command lines. I use the module you can find on the GPC's manual. When compile my program i get the next messages: "undefined reference to '_p_paramcount'" "undefined reference to '_p_paramstr'" I use a machine under LINUX and GPC 2.95.2 I would appreciate if somebody can help me. I know is a simple question for you but not for me ;)
Which version (2.95.2 is the GCC version; try `gpc -v')? In any remotely current version, the functions ParamCount and ParamStr are provided automatically. The module recommended in old versions is no more necessary, so simply try to compile without it.
Frank