public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Template compilation
@ 1998-05-07 10:22 Alexander Sclearuc
  1998-05-07 17:39 ` JC Loredo-Osti
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexander Sclearuc @ 1998-05-07 10:22 UTC (permalink / raw)
  To: egcs

Hi,

I try to compile a simple template example (see attachments)
and I get the next error:
    Undefined			first referenced
      symbol  			    in file
    ostream & operator<<<int>(ostream &, array1<int> const &)template.o
    a.out: fatal error: Symbol referencing errors. No output written to a.out
    collect2: ld returned 1 exit status

My system is SCO 5.0.2 and I use egcs-1.0.2 (build by me too:(
with no flags on command line

The standard C++ compiler for SCO (CC) compiles this example with
no problems.

What is the problem? 

PS. I haven't programmed in C++ for more than 2 years, so, may
be I really forgot C++;) But not the basics;)

-- 
Alexander Sclearuc                      Phone: (373) 2 21 20 96
NetInfo S.R.L.				Fax:   (373) 2 21 20 96
Chisinau 				       (373) 2 24 00 83
Moldova, Republic of			mailto:avs@netinfo.moldova.net

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1998-05-09  0:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-07 10:22 Template compilation Alexander Sclearuc
1998-05-07 17:39 ` JC Loredo-Osti
1998-05-07 17:39 ` Alexandre Oliva
1998-05-08  7:00   ` Alexander Sclearuc
1998-05-09  0:06     ` Martin von Loewis
1998-05-07 22:44 ` Robert Lipe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).