On Tue, Jan 11, 2000 at 10:21:15AM +1100, Rogers, John wrote:
> Hi all,
> I have trouble when I run "make", on OpenLinux 2.2.
> The following listing is the result I got when I tried to compile LICQ but I
> get simular result with other programs. The configure script seems to run
> and finish O.K .I upgraded/reinstall EGCS (glibc 2.69) and make (gnu 3.77)
> and still get the same result. I really dont know where to start with this,
> any Ideas ?
> /usr/include/g++/stl_vector.h:150: instantiated from here
> /usr/include/g++/stl_vector.h:354: Internal compiler error.
> /usr/include/g++/stl_vector.h:354: Please submit a full bug report to
> `[EMAIL PROTECTED]'.
> /usr/include/g++/stl_vector.h:354: See
> <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
I'd start by following the instructions given. Really. Fill out the bug
report. The people at cygnus will take it, and make the compiler better.
Second, I'd upgrade to the lastest version of g++. C++ is a real tricky
language to compile, and g++ hasn't had template support for that long.
If you are using EGCS as your compiler, that's several revisions old.
EGCS was a cygnus fork from gcc, but now everything is all merged back
together, and gcc 2.95.2 is current.
To get a newer gcc installed on your system, you've got a couple of
choices. I recommend the first a lot, but don't use rpm's so I don't
know how well it works. Redhat 6.1 has rpms for gcc 2.95.2 and you could
try installing those. They're here:
ftp://rpmfind.net/linux/rawhide/1.0/i386/RedHat/RPMS/gcc-c++-2.95.2-3.i386.rpm
ftp://rufus.w3.org/linux/RPM/rawhide/1.0/i386/RedHat/RPMS/gcc-2.95.2-3.i386.rpm
Or.. If you want to make sure it'll work on _your_ system, you could grab the
source, and build it yourself. It's fun. I swear :-)
ftp://gcc.gnu.org/pub/gcc/releases/gcc-2.95.2/gcc-2.95.2.tar.bz2
greg
(who's been trying very hard to build a linux->irix cross compiler,
and then a irix->irix compiler from that. Unsuccessfully.)
--
this is not here