Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!lavaca.uh.edu!jetson.uh.edu!hista From: hista@jetson.uh.edu Newsgroups: comp.lang.c++ Subject: installation problem with g++ on sun4 Message-ID: <8300.279d3d9c@jetson.uh.edu> Date: 23 Jan 91 13:39:07 GMT Organization: University of Houston Lines: 31 Hi netters, I am having a rather stupid problem in installing g++. The makefile always gets stuck at the same point. Here is the point, and the reason it gives for bombing: gcc -c -g -DGATHER_STATISTICS -O -B../gcc-test/ -I. -I. -I./config -DPARSE_OUTPUT=\"//g++/cplus-tab.out\" cplus-tab.c cplus-parse.y: In function init_parse: cplus-parse.y:3099: `yytname' undeclared (first use this function) cplus-parse.y:3099: (Each undeclared identifier is reported only once cplus-parse.y:3099: for each function it appears in.) cplus-parse.y: In function print_parse_statistics: cplus-parse.y:3136: `yytname' undeclared (first use this function) cplus-parse.y:3165: `yyrline' undeclared (first use this function) *** Error code 1 make: Fatal error: Command failed for target `cplus-tab.o' Because of this error, the rest of my installation is getting hampered. Any suggestions on how to get around this problem? As I see it, the two variables it complains about -- yytname and yyrline -- are in the search path or link path for the compiler. I am getting desperate to find a solution. Any suggestions would be appreciated. Thanks in advance. Aashish University of Houston /&&-------------------------------------------------------------------&&/ /&& E-mail at : hista@jane.uh.edu &&/ /&& OR malhotra@cs.uh.edu &&/ /&&-------------------------------------------------------------------&&/