Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Link error GCC32 on ubuntu 8.10 x64
Link error GCC32 on ubuntu 8.10 x64 [message #23957] Thu, 10 December 2009 10:21 Go to next message
paolob is currently offline  paolob
Messages: 6
Registered: July 2009
Promising Member
Hi
I try to compile with GCC32 on my ubuntu 8.10 x64
bat linker say error :
any idea ?

Linking...
/pub/USR/upp/out/Core/GCC32.Gui.Shared/Core.a(WString.o): In function `Upp::WString::operator std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >()
const':
WString.cpp:(.text._ZNK3Upp7WStringcvSbIwSt11char_traitsIwES aIwEEEv+0x5): undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>
>::_Rep::_S_empty_rep_storage'
WString.cpp:(.text._ZNK3Upp7WStringcvSbIwSt11char_traitsIwES aIwEEEv+0x2a): undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t
> >::_Rep::_S_empty_rep_storage'
WString.cpp:(.text._ZNK3Upp7WStringcvSbIwSt11char_traitsIwES aIwEEEv+0xaa): undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t
> >::_Rep::_S_empty_rep_storage'
/pub/USR/upp/out/Core/GCC32.Gui.Shared/Core.a(Convert.o): In function `Upp::Scan(unsigned int, Upp::String const&, Upp::Value const&)':
Convert.cpp:(.text._ZN3Upp4ScanEjRKNS_6StringERKNS_5ValueE+0 x3dc): undefined reference to `__cxa_get_exception_ptr'
/pub/USR/upp/out/Core/GCC32.Gui.Shared/Core.a(t.o): In function `Upp::LoadLngFile(char const*)':
t.cpp:(.text._ZN3Upp11LoadLngFileEPKc+0x244): undefined reference to `__cxa_get_exception_ptr'
collect2: ld returned 1 exit status

There were errors. (3:51.72)
Re: Link error GCC32 on ubuntu 8.10 x64 [SOLVED] [message #23964 is a reply to message #23957] Thu, 10 December 2009 23:30 Go to previous message
paolob is currently offline  paolob
Messages: 6
Registered: July 2009
Promising Member
HI

1. I haven't use BLIZT

2. I have change 2 lines adding & in catch(CParser::Error)

in Core/Convert.cpp line 268
from
catch(CParser::Error &) {}
to
catch(CParser::Error &) {}

and Core/t.cpp line 374
from
catch(CParser::Error) {
to
catch(CParser::Error &) {

and ALL WORK !

bye

[Updated on: Thu, 10 December 2009 23:33]

Report message to a moderator

Previous Topic: Console encoding for localized compilers
Next Topic: Syntax for environment variable in compiler/linker options?
Goto Forum:
  


Current Time: Tue Nov 12 15:15:23 CET 2019

Total time taken to generate the page: 0.01392 seconds