I've been trying to get past a little problem when building gpc from version 20050331. I'm running hp-ux 11i v1 and normally use gcc 4.0.2, but for building, I'm using gcc 3.4.3. When I try to build gpc, make balks at this point.

`echo /opt/hp-gcc-src/gcc-3.4.3/gcc/xgcc -B/opt/hp-gcc-src/gcc-3.4.3/gcc/ -B/usr/local/hppa2.0w-hp-hpux11.11/bin/ -B/usr/local/hppa2.0w-hp-hpux11.11/lib/ -isystem /usr/local/hppa2.0w-hp-hpux11.11/include -isystem /usr/local/hppa2.0w-hp-hpux11.11/sys-include  | sed 's,^\([^ ]*[/\][^/\]*\)gcc,\1gpc,;s/^gcc$/gpc/' ` -I. -W -Wall -Wmissing-prototypes -Wmissing-declarations -O2   --unit-path=/opt/hp-gcc-src/gcc-3.4.3/gcc/p/rts --automake --print-needed-options "endian.pas" 2> "needed-options" || true
if grep '^[^-]' "needed-options" > /dev/null; then echo "needed-options: `cat "needed-options"`" >&2; rm -f "needed-options"; false; else true; fi
needed-options: endian.pas:37: error: module/unit interface `error' could not be imported
make: *** [needed-options] Error 1

I saw a very similar problem in the archives where someone mentioned patching the Makefile for the RTSSTAGESTUFF, but it would appear that the Makefile is already what is recommended to change it to. How do I get past this. I know I haven't much further to go and I really hate hp Pascal!  8-)


Many thanks,

Bruce.