* cxx compiler error
@ 1997-11-21 19:06 Matt Moore
0 siblings, 0 replies; 2+ messages in thread
From: Matt Moore @ 1997-11-21 19:06 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------=_NextPart_000_003B_01BCF5B8.96CC72E0", Size: 1436 bytes --]
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
------=_NextPart_000_003B_01BCF5B8.96CC72E0
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
Content-ID: <Pine.BSF.3.91.971121135046.5115C@shemp.bucks.edu>
Has anyone seen a problem like this? This is a pretty simple program
and compiles and runs fine under g++. We're using DU 4.0b and CXX v5.5.
>When compileing the cxx file below, the student received the following
>message:
>
>Assertion failure: Compiler internal error - please submit problem report
>GEM ASSERTION, Compiler internal error - please sumbit problem report
>Fatal error in:/usr/lib/cmplrs/cxx/gemc_cxx Terminated
#include <iostream.h>
int main()
{
int x=0;
while (x < 100)
{
x = x++;
cout << "X = " << x << endl;
}
}
-----------------------------------------------------------------------
Matt Moore N3LPH Bucks County Community College
E-mail: moorem@bucks.edu Swamp Road Newtown PA 18940
-----------------------------------------------------------------------
Windows 95: A 32-bit patch for a 16-bit GUI shell running on top of an
8-bit operating system written for a 4-bit processor by a 2-bit company
who cannot stand 1 bit of competition.
------=_NextPart_000_003B_01BCF5B8.96CC72E0--
^ permalink raw reply [flat|nested] 2+ messages in thread* cxx compiler error
@ 2001-06-01 16:55 Noboom2
0 siblings, 0 replies; 2+ messages in thread
From: Noboom2 @ 2001-06-01 16:55 UTC (permalink / raw)
To: tru64-unix-managers
Hello all-
Has anyone successfully used C++ under Tru64 to build a library and then
include that C++ library in subsequent links? I had no problem building the
library, but when I try to use it I'm getting a bunch of linker errors (which
appear below). I've called this on in to Compaq, but they were unable to
solve the problem. It looks like my library may be pulling in something from
the standard C++ library, but when subsequent programs try to link to the
same they fail. I have a work around of just including the source of
everything in one .cpp (or .C) file, but I'd rather not have to continue
working this way.
Thanks for any responses, and I will summarize to the list.
# make
cxx -lmynewlib myprog.C -g -DPROMPT -I/usr/local/adm/include
-L/usr/local/adm/lib \
-o myprog -lldapssl40 -lpq -lsecurity -lmynewlib
ld:
Unresolved:
is_valid_form(char*)
get_single_ptree_record(const char*, char*)
std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(void)
std::basic_ifstream<char, std::char_traits<char> >::open(const char*, int,
long)
std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream(void)
std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>
>::basic_ostringstream(int)
std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>
>::str(void) const
std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>
>::~basic_ostringstream(void)
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_RWclone(void)
_RWrwstd::rw_extract_string(std::basic_istream<char, std::char_traits<char>
>&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&,
std::char_traits<char>)
std::getline(std::basic_istream<char, std::char_traits<char> >&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char)
*** Exit 1
Stop.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-06-01 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-21 19:06 cxx compiler error Matt Moore
-- strict thread matches above, loose matches on Subject: below --
2001-06-01 16:55 Noboom2
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox