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 » Community » U++ community news and announcements » Upp 705-dev3 released
Re: Compiling on Linux... [message #9845 is a reply to message #9733] Sat, 02 June 2007 13:42 Go to previous messageGo to previous message
waxblood is currently offline  waxblood
Messages: 95
Registered: January 2007
Member
atmks wrote on Mon, 28 May 2007 20:29


hi
im using ubuntu too(6.06) and i can compile...
try other version of gcc, my is:
$ gcc --version
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

and im using uppsrc from svn



My is 4.1.2. 4.0 version is no longer available in Feisty.
With 3.4 it displays the same asm clobbering error.
With 3.3 it succeeds compiling Cpu.cpp and all the required files, but in the linking phase displays this (I'm still using 705-dev3 sources on Xubuntu Feisty)

/home/da/upp/out/CancellamiPure2/GCC.Debug.Gui.Main.Shared.S o/main.o:(.gnu.linkonce.d._ZTI15CancellamiPure2+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
/home/da/upp/out/CancellamiPure2/GCC.Debug.Gui.Main.Shared.S o/main.o: In function `operator delete(void*)':
main.cpp:(.gnu.linkonce.t._ZdlPv+0x39): undefined reference to `__cxa_call_unexpected'
/home/da/upp/out/CancellamiPure2/GCC.Debug.Gui.Main.Shared.S o/main.o:(.gnu.linkonce.d._ZTI25WithCancellamiPure2LayoutIN3 U
pp9TopWindowEE+0x0): undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info'
/home/da/upp/out/CancellamiPure2/GCC.Debug.Gui.Main.Shared.S o/main.o:(.gnu.linkonce.d._ZTI28CancellamiPure2Layout__layid +
0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/home/da/upp/out/CancellamiPure2/GCC.Debug.Gui.Main.Shared.S o/main.o:(.gnu.linkonce.d.DW.ref.__gxx_personality_v0+0x0): u
ndefined reference to `__gxx_personality_v0'
/home/da/upp/out/Core/GCC.Debug.Gui.Shared.So/$blitz.o: In function `Upp::Stream::LoadError()':
$blitz.cpp:(.text+0xdab4): undefined reference to `__cxa_allocate_exception'
$blitz.cpp:(.text+0xdad0): undefined reference to `__cxa_throw'
/home/da/upp/out/Core/GCC.Debug.Gui.Shared.So/$blitz.o: In function `Upp::Load(Upp::Callback1<Upp::Stream&>, Upp::Stream&
)':
$blitz.cpp:(.text+0x11d3d): undefined reference to `__cxa_begin_catch'
$blitz.cpp:(.text+0x11da9): undefined reference to `__cxa_end_catch'
$blitz.cpp:(.text+0x11dce): undefined reference to `__cxa_end_catch'
/home/da/upp/out/Core/GCC.Debug.Gui.Shared.So/$blitz.o: In function `Upp::ValueArray::ValueArray[not-in-charge](Upp::Valu
e const&)':
$blitz.cpp:(.text+0x1ff52): undefined reference to `__dynamic_cast'
/home/da/upp/out/Core/GCC.Debug.Gui.Shared.So/$blitz.o: In function `Upp::ValueArray::ValueArray[in-charge](Upp::Value co
nst&)':
$blitz.cpp:(.text+0x2000e): undefined reference to `__dynamic_cast'
/home/da/upp/out/Core/GCC.Debug.Gui.Shared.So/$blitz.o: In function `.L6400':
$blitz.cpp:(.text+0x2a1ae): undefined reference to `__cxa_allocate_exception'
$blitz.cpp:(.text+0x2a1df): undefined reference to `__cxa_free_exception'
$blitz.cpp:(.text+0x2a209): undefined reference to `__cxa_throw'
$blitz.cpp:(.text+0x2a283): undefined reference to `__cxa_allocate_exception'
$blitz.cpp:(.text+0x2a2bd): undefined reference to `__cxa_free_exception'
$blitz.cpp:(.text+0x2a2ea): undefined reference to `__cxa_throw'
$blitz.cpp:(.text+0x2a364): undefined reference to `__cxa_allocate_exception'
$blitz.cpp:(.text+0x2a39e): undefined reference to `__cxa_free_exception'
$blitz.cpp:(.text+0x2a3c8): undefined reference to `__cxa_throw'
$blitz.cpp:(.text+0x2a455): undefined reference to `__cxa_begin_catch'
$blitz.cpp:(.text+0x2a47c): undefined reference to `__cxa_end_catch'
$blitz.cpp:(.text+0x2a48f): undefined reference to `__cxa_end_catch'

note that these are only the first lines, but the problem is always the same, missing references to __cxa???????????

BTW, to force Upp using a particular version of GCC, I had to write in Setup->Build methods->Compiler name field
gcc -V 3.3
I've previously tried to set Debug options to
-V 3.3 -O0
but it tells me -V 3.3 must go at the beginning of the command line.

Where is the right place to specify compiler's version in Upp? A dedicated field would be more appropriate.

Explicative popups on fields labels would be useful, too.

Ciao,
David


[Updated on: Sat, 02 June 2007 13:53]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: When release new dev
Next Topic: Please test your printer...
Goto Forum:
  


Current Time: Sun Jul 06 11:49:59 CEST 2025

Total time taken to generate the page: 0.03576 seconds