Hi We're having a problem when compiling while trying to use pexec. I'm looking for suggestions/fixes if anyone has one?
The compile error is: ------------------------ [09:44:46] sdis:~/sdis >gpc sort.pas sort.pas: In function `program_Sort': sort.pas:11: undeclared identifier `Pexecute' (first use this function) sort.pas:11: (Each undeclared identifier is reported only once sort.pas:11: for each function it appears in.) sort.pas:12: undeclared identifier `Pexecute_one' (first use this function) sort.pas:12: undeclared identifier `Pexecute_search' (first use this function) sort.pas:12: undeclared identifier `Pexecute_verbose' (first use this function) [09:44:55] sdis:~/sdis >
My versions are: ------------------------ [09:23:29] root:~ >gpc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1/specs gpc version 19990118, based on gcc-2.8.1
[09:23:32] root:~ >gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs gcc version 2.95.2 19991024 (release) [09:23:39] root:~ >
Sitting on an Ultra 10 Sparc running Solaris 2.7
tam axtlp@uaa.alaska.edu
Tam Pikey wrote:
We're having a problem when compiling while trying to use pexec. I'm looking for suggestions/fixes if anyone has one?
`--automake', as usual.
Frank
Thank you for the information, but unfortunately that didn't work.
$ gpc --automake sort.pas sort.pas: In function `program_Sort': sort.pas:11: undeclared identifier `Pexecute' (first use this function) sort.pas:11: (Each undeclared identifier is reported only once sort.pas:11: for each function it appears in.) sort.pas:12: undeclared identifier `Pexecute_one' (first use this function) sort.pas:12: undeclared identifier `Pexecute_search' (first use this function) sort.pas:12: undeclared identifier `Pexecute_verbose' (first use this function) $
-----Original Message----- From: Frank Heckenbach [mailto:frank@g-n-u.de] Sent: Sunday, January 20, 2002 5:46 AM To: axtlp@uaa.alaska.edu; gpc@gnu.de Subject: Re: help: invoking Pexecute problem
Tam Pikey wrote:
We're having a problem when compiling while trying to use
pexec. I'm
looking for suggestions/fixes if anyone has one?
`--automake', as usual.
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
Nicola Girardi wrote:
Tam Pikey wrote:
$ gpc --automake sort.pas
[snip]
sort.pas:11: undeclared identifier `Pexecute' (first use this function)
[snip]
Are you sure you are including the unit in which PExecute is? :)
uses Pipe;
The unit has changed (and AFAIR his last mail, he's using a rather old GPC version). Formerly, PExecute was in the RTS, and even earlier it was itw own unit (uses PExecute).
But anyway, I'll need more information to give more hints such as a (stripped-down) example that exhibits the problem. (However, since I don't have auch an old GPC readily available, I'm not even sure if I can help then.)
Frank
In article 002201c1a050$17890c90$0272e589@whit, Tam Pikey axtlp@uaa.alaska.edu writes
We're having a problem when compiling while trying to use pexec. I'm looking for suggestions/fixes if anyone has one?
My versions are:
[09:23:29] root:~ >gpc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.8.1/specs gpc version 19990118, based on gcc-2.8.1
That is a very old version of gpc. I'd suggest upgrading to the latest beta version.