delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/23/15:42:13

From: "Nathaniel" <nathaniel37 AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <388b2c83 AT news-in DOT pcmagic DOT net> <tjhm8scr68v86m9r7c2ifv4aa0d1bkq0je AT 4ax DOT com>
Subject: Re: RSXNTDJ and (of course) the STL
Date: Sun, 23 Jan 2000 11:01:46 -0800
Lines: 74
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: ppp-198-77-150-192.dialup.pcmcomm.com
Message-ID: <388b5010@news-in.pcmagic.net>
X-Trace: 23 Jan 2000 11:01:36 -0800, ppp-198-77-150-192.dialup.pcmcomm.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Oh, sorry,

Here is a very simple source:

#include <windows.h>
#include <string>

void main()
{
 string testString = "This might not work!!";
}

and here is a snippet of what the linker says:

_alloc_template<false, 0>::_S_free_list'
c:/djgpp/tmp\ccX65PhA.o(.text+0x2af):test.cpp: undefined reference to
`__default
_alloc_template<false, 0>::_S_start_free'
c:/djgpp/tmp\ccX65PhA.o(.text+0x2b4):test.cpp: undefined reference to
`__default
_alloc_template<false, 0>::_S_start_free'
c:/djgpp/tmp\ccX65PhA.o(.text+0x2c0):test.cpp: undefined reference to
`__default
_alloc_template<false, 0>::_S_end_free'
c:/djgpp/tmp\ccX65PhA.o(.text+0x2f2):test.cpp: undefined reference to
`__default
_alloc_template<false, 0>::_S_end_free'
c:/djgpp/tmp\ccX65PhA.o(.text+0x30a):test.cpp: undefined reference to
`__default
_alloc_template<false, 0>::_S_start_free'
c:/djgpp/tmp\ccX65PhA.o(.text+0x313):test.cpp: undefined reference to
`__default
_alloc_template<false, 0>::_S_heap_size'
c:/djgpp/tmp\ccX65PhA.o(.text+0x318):test.cpp: undefined reference to
`__default
_alloc_template<false, 0>::_S_start_free'
c:/djgpp/tmp\ccX65PhA.o(.text+0x324):test.cpp: undefined reference to
`__default
_alloc_template<false, 0>::_S_end_free'
c:/djgpp/tmp\ccX65PhA.o(.text+0x3a9):test.cpp: undefined reference to
`__default
_alloc_template<false, 0>::_S_free_list'
c:/djgpp/tmp\ccX65PhA.o(.text+0xcb7):test.cpp: undefined reference to
`__default
_alloc_template<false, 0>::_S_free_list'
c:/djgpp/tmp\ccX65PhA.o(.text+0xd5b):test.cpp: undefined reference to
`__default
_alloc_template<false, 0>::_S_free_list'

thanks,
Nathaniel
nathaniel37 AT yahoo DOT com

Damian Yerrick <MYNAMEISd_yerrick AT hotmail DOT comNO2CANNEDHAM> wrote in message
news:tjhm8scr68v86m9r7c2ifv4aa0d1bkq0je AT 4ax DOT com...
> On Sun, 23 Jan 2000 08:30:04 -0800, "Nathaniel"
> <nathaniel37 AT yahoo DOT com> wrote:
>
> >When I use DJGPP and RSXNTDJ, and I try to link something with gccw32, it
> >gives me a bunch of errors when I tryed to use the string object.
> >It is all 'undefined reference' problems.
> >
> >Don't see how that could be.
> >any ideas?
>
> Not yet, but if you post some short source code and the exact error
> message *copied from the console window*, we may be able to help.
>
> --
> Damian Yerrick  http://yerricde.tripod.com/
> View full sig at http://www.rose-hulman.edu/~yerricde/sig.html
> Comment on story ideas at http://home1.gte.net/frodo/quickjot.html


- Raw text -


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