Mail Archives: djgpp/2000/01/23/15:42:13
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 -