delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/30/17:03:25

From: fist1000 AT aol DOT com (Fist1000)
Newsgroups: comp.os.msdos.djgpp
Subject: STLport & DJGPP 2.8
Lines: 14
NNTP-Posting-Host: ladder06.news.aol.com
X-Admin: news AT aol DOT com
Date: 30 Jul 1999 20:45:19 GMT
Organization: AOL http://www.aol.com
Message-ID: <19990730164519.13318.00005026@ng-fr1.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I've been attempting to compile a simple string example, but get hung up on
linker errors of this nature:

        C:\TEMP\cccizqqk(.text+0x5c8):test.cc: undefined reference to
`__node_alloc<false, 0>::_S_start_free'.

I get probably a few dozen of them. This seemed to be the static instantiation
problem detailed in the GCC README on the STLport site, but I've put #define
__PUT_STATIC_DATA_MEMBERS_HERE in the code, as suggested (at the top of my
program, before all header files), and still I get the same problem.

Has anyone else encountered similar problems and has insight into what I'm
doing incorrectly?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019