I just installed gpc on a DEC Alpha computer with DEC Unix (OSF) version 4.0e. The installation with gcc 2.8.1 ran without error, and gpc answers as follows :
zenon(~)31: gpc -v Reading specs from /usr/local/lib/gcc-lib/alphaev56-dec-osf4.0e/2.8.1/specs gpc version 19990118, based on gcc-2.8.1
Program compiling runs correctly. However, when trying to execute any generated load image, the error message is always the same :
internal error: duplicate constructor
Is there any explanation? Did I get the correct versions of gpc and gcc?
Olivier Lecarme wrote:
internal error: duplicate constructor
Hmm...
Maybe something has changed. Please edit `parse.y' and search for "DEC Alpha happy". This takes you to some `__init_Foo' strings.
Please change them to something different (e.g. by dropping the leading `__'), re-install GPC and tell me whether this has any effect.
Greetings,
Peter
The change suggested by Peter Gerwinski results in a systematic parsing error before `Program', thus I came back to the string __init_ in parse.y.
The change suggested by Frank Heckenbach removes the initial problem.
Many thanks !
On Sat, 12 Feb 2000, Peter Gerwinski wrote:
Olivier Lecarme wrote:
internal error: duplicate constructor
Hmm...
Maybe something has changed. Please edit `parse.y' and search for "DEC Alpha happy". This takes you to some `__init_Foo' strings. Please change them to something different (e.g. by dropping the leading `__'), re-install GPC and tell me whether this has any effect.
Please do not take offense, this is just a joke:
This set of instructions must be preserved somewhere as the finest example of voodoo debugging technique in the history of computer science. One glance at it and I was reduced to incoherent belly laughs on the floor.
Perhaps I am not at my most rational when dialing-in to work at 0900 on a Sunday morning. Wish I had those federally-mandated six weeks of vacation (to start) like you lucky Germans.
Gruesse an Deutschland!
+--------------------> | Nick Geovanis Indeed I tremble for my country when | IT Computing Svcs I reflect that God is just: that his | Northwestern Univ justice cannot sleep forever... V n-geovanis@nwu.edu - Thomas Jefferson, 1781