 |
|
 |
|
Next: RSS Feed Aggravation
|
| Author |
Message |
External

Since: Sep 11, 2006 Posts: 5
|
(Msg. 1) Posted: Mon Sep 11, 2006 2:00 am
Post subject: Codecvt linker error Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)
|
|
|
Hello,
Can someone help me out to resolve the following error in Codewarrior.
Link Error : Undefined symbol: ?id%?$codecvt%_WDH%std%%2V0locale%2%A
'class std::locale::id std::codecvt<wchar_t, char, int>::id' in
lfile.obj
Actually my code does not use "codecvt". Can you also clarify what are
those special symbols in the error? Does it tell something to me? How
to analyze these symbols?
I run codewarrior7.1 with PDK4.0 on Windows to generate binary (nlm)
for Netware...
Thanks for your time...
Regards,
hem >> Stay informed about: Codecvt linker error |
|
| Back to top |
|
 |  |
External

Since: Apr 25, 2004 Posts: 974
|
(Msg. 2) Posted: Mon Sep 11, 2006 10:55 pm
Post subject: Re: Codecvt linker error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article ,
"hem" wrote:
> Hello,
>
> Can someone help me out to resolve the following error in Codewarrior.
>
> Link Error : Undefined symbol: ?id%?$codecvt%_WDH%std%%2V0locale%2%A
> 'class std::locale::id std::codecvt<wchar_t, char, int>::id' in
> lfile.obj
>
> Actually my code does not use "codecvt". Can you also clarify what are
> those special symbols in the error? Does it tell something to me? How
> to analyze these symbols?
>
> I run codewarrior7.1 with PDK4.0 on Windows to generate binary (nlm)
> for Netware...
You are probably doing something that involves conversion between
std::strings and std::wstrings, causing C++ to generate a call to the >> Stay informed about: Codecvt linker error |
|
| Back to top |
|
 |  |
External

Since: Sep 11, 2006 Posts: 5
|
(Msg. 3) Posted: Tue Sep 12, 2006 7:00 am
Post subject: Re: Codecvt linker error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Thanks for your attention to the post...
I use some third party libraries and which are causing the problems...
Can I resolve those errors somehow now?
Thanks,
hem
David Phillip Oster wrote:
> In article ,
> "hem" wrote:
>
> > Hello,
> >
> > Can someone help me out to resolve the following error in Codewarrior.
> >
> > Link Error : Undefined symbol: ?id%?$codecvt%_WDH%std%%2V0locale%2%A
> > 'class std::locale::id std::codecvt<wchar_t, char, int>::id' in
> > lfile.obj
> >
> > Actually my code does not use "codecvt". Can you also clarify what are
> > those special symbols in the error? Does it tell something to me? How
> > to analyze these symbols?
> >
> > I run codewarrior7.1 with PDK4.0 on Windows to generate binary (nlm)
> > for Netware...
>
> You are probably doing something that involves conversion between
> std::strings and std::wstrings, causing C++ to generate a call to the >> Stay informed about: Codecvt linker error |
|
| Back to top |
|
 |  |
External

Since: Apr 25, 2004 Posts: 974
|
(Msg. 4) Posted: Tue Sep 12, 2006 11:55 am
Post subject: Re: Codecvt linker error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
> David Phillip Oster wrote:
> > In article ,
> > "hem" wrote:
> >
> > > Hello,
> > >
> > > Can someone help me out to resolve the following error in Codewarrior.
> > >
> > > Link Error : Undefined symbol: ?id%?$codecvt%_WDH%std%%2V0locale%2%A
> > > 'class std::locale::id std::codecvt<wchar_t, char, int>::id' in
> > > lfile.obj
> > >
> > > Actually my code does not use "codecvt". Can you also clarify what are
> > > those special symbols in the error? Does it tell something to me? How
> > > to analyze these symbols?
> > >
> > > I run codewarrior7.1 with PDK4.0 on Windows to generate binary (nlm)
> > > for Netware...
> >
> > You are probably doing something that involves conversion between
> > std::strings and std::wstrings, causing C++ to generate a call to the
In article ,
"hem" wrote:
> Thanks for your attention to the post...
>
> I use some third party libraries and which are causing the problems...
>
> Can I resolve those errors somehow now?
>
> Thanks,
> hem
>
I've never hit this exact problem, (and in fact my last posting on this
thread wasn't finished) but I see that the Metrowerks Standard Library
includes a file called localeimp that might cure your problem (and that
file is conditionally included from <codecvt>.
Are your #define'ed symbols set up correctly?)
Since this is a problem with a third-party library, can you get in touch
with them? >> Stay informed about: Codecvt linker error |
|
| Back to top |
|
 |  |
External

Since: Sep 11, 2006 Posts: 5
|
(Msg. 5) Posted: Sun Sep 17, 2006 11:22 pm
Post subject: Re: Codecvt linker error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
I could resolve the error after including <localeimp> in my code...I
could also resolve many linker errors by removing inconsistent file
endings...
Thanks for your help David...
Regards,
Hem
David Phillip Oster wrote:
> > David Phillip Oster wrote:
> > > In article ,
> > > "hem" wrote:
> > >
> > > > Hello,
> > > >
> > > > Can someone help me out to resolve the following error in Codewarrior.
> > > >
> > > > Link Error : Undefined symbol: ?id%?$codecvt%_WDH%std%%2V0locale%2%A
> > > > 'class std::locale::id std::codecvt<wchar_t, char, int>::id' in
> > > > lfile.obj
> > > >
> > > > Actually my code does not use "codecvt". Can you also clarify what are
> > > > those special symbols in the error? Does it tell something to me? How
> > > > to analyze these symbols?
> > > >
> > > > I run codewarrior7.1 with PDK4.0 on Windows to generate binary (nlm)
> > > > for Netware...
> > >
> > > You are probably doing something that involves conversion between
> > > std::strings and std::wstrings, causing C++ to generate a call to the
>
> In article ,
> "hem" wrote:
>
> > Thanks for your attention to the post...
> >
> > I use some third party libraries and which are causing the problems...
> >
> > Can I resolve those errors somehow now?
> >
> > Thanks,
> > hem
> >
>
> I've never hit this exact problem, (and in fact my last posting on this
> thread wasn't finished) but I see that the Metrowerks Standard Library
> includes a file called localeimp that might cure your problem (and that
> file is conditionally included from <codecvt>.
>
> Are your #define'ed symbols set up correctly?)
>
> Since this is a problem with a third-party library, can you get in touch
> with them? >> Stay informed about: Codecvt linker error |
|
| Back to top |
|
 |  |
External

Since: Dec 16, 2005 Posts: 4
|
(Msg. 6) Posted: Sat Sep 23, 2006 7:55 pm
Post subject: Re: Codecvt linker error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article ,
"hem" wrote:
> I could resolve the error after including <localeimp> in my code
Perhaps #include <locale> would be a more portable solution. <localimp>
is an implementation-specific header. <locale> will include it, and
will likely work as well on other platforms.
-Howard >> Stay informed about: Codecvt linker error |
|
| Back to top |
|
 |  |
| Related Topics: | linker error - Hello all, I am using CodeWarrior version 5. I am trying to include sys/time.h file in a C project for gettimeofday function. I went to Std C Console Debug Settings->Access Paths, included sys directory. Project compiles without a hit...
CW Linker error only on Some macs - During our link we get a linker error from CW that states that it can not copy a resource file and the link fails. I checked the status of the file and it is not read-only. This project builds fine on 5 other macs but this particular mac and one other on...
libmysys.a linker bus error - I'm trying to use the MySQL C API for version 4.1.0 alpha, and linking libmysys.a into my application causes the MW linker to crash with a bus error. Does anyone know what I can do about this? Thanks.
Mwcc linker error - Hi there, I am using CW9.0 on MAC OS 10.2.8 and mwcc/mwld comman line to do following: I have a directory wich contains following: encrypt.c decrypt.c main.c <-- Main function libone.a libtwo.a When I do following on command line: mwcc -I. -flag..
CW 9[.3] internal linker error - Link Error : Internal Linker Error File 'SYM.c' Line 157 -localid 131160 > n_type_translation 147 file: 'gli_string.cpp' Any clues as to what the heck this is? I've tried Google and the MW web site to no avail. The error occurs sporadically a... |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|