Yes, now the program is compiling successfully under RHIDE.
I never did get automake to work right, so I ended up separately compiling the grx20 unit. Then I got errors because, regardless what I told RHIDE, gpc couldn't find grx20.o (it was in gpc\bin). I moved it to the same directory as the test program, and then things compiled fine. I don't know offhand whether entering 'grx20' in the library options made a difference - didn't tamper with success.
Nice graphics. What a relief to see them at last! Toby