[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile problem on Solaris
From: |
Dmitri A. Sergatskov |
Subject: |
Re: compile problem on Solaris |
Date: |
Mon, 21 Apr 2003 11:49:17 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 |
John W. Eaton wrote:
The file doc/interpreter/munge-texi.cc is a small (< 200 lines)
self-contained C++ program that I think uses only standard C++
features. I'd guess that something is wrong with your compiler
installation. Can you compile it with
g++ munge-texi.cc
?
This one works:
address@hidden interpreter]$ g++ munge-texi.cc -o munge-test
and this one fails:
address@hidden interpreter]$ g++ -O munge-texi.cc -o munge-test2
Undefined first referenced
symbol in file
std::__default_alloc_template<(bool)1, (int)0>::_S_force_new/var/tmp//ccAWNXuu.o
ld: fatal: Symbol referencing errors. No output written to munge-test2
collect2: ld returned 1 exit status
Interesting....
jwe
Dmitri
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------