|
|
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   |
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
|
|
|
 |
|
Upp 705-dev3 released
By: unodgs on Thu, 24 May 2007 23:07
|
 |
|
Re: Upp 705-dev2 released
By: michael on Thu, 24 May 2007 23:17
|
 |
|
Re: Upp 705-dev2 released
By: unodgs on Thu, 24 May 2007 23:42
|
 |
|
Re: Upp 705-dev3 released
By: Ulti on Fri, 25 May 2007 01:56
|
 |
|
Re: Upp 705-dev3 released
By: unodgs on Fri, 25 May 2007 09:49
|
 |
 |
Re: Upp 705-dev3 released
By: Novo on Fri, 25 May 2007 20:59
|
 |
|
Re: Upp 705-dev3 released
By: unodgs on Sun, 27 May 2007 22:11
|
 |
|
Compiling on Linux...
|
 |
|
Re: Compiling on Linux...
By: mirek on Mon, 28 May 2007 11:03
|
 |
|
Re: Compiling on Linux...
By: atmks on Mon, 28 May 2007 20:29
|
 |
|
Re: Compiling on Linux...
By: atmks on Mon, 28 May 2007 20:58
|
 |
|
Re: Compiling on Linux...
By: Zardos on Mon, 28 May 2007 21:36
|
 |
|
Re: Compiling on Linux...
By: atmks on Tue, 29 May 2007 16:55
|
 |
|
Re: Compiling on Linux...
By: Zardos on Tue, 29 May 2007 23:14
|
 |
|
Re: Compiling on Linux...
By: mirek on Mon, 28 May 2007 22:49
|
 |
|
Re: Compiling on Linux...
|
 |
|
Re: Compiling on Linux...
By: atmks on Sun, 03 June 2007 09:35
|
 |
|
Re: Compiling on Linux...
|
 |
|
Re: Compiling on Linux...
By: ebojd on Wed, 06 June 2007 14:12
|
 |
|
Re: Compiling on Linux...
|
 |
|
Re: Compiling on Linux...
By: mirek on Fri, 08 June 2007 09:19
|
 |
|
Re: Compiling on Linux...
|
 |
|
Re: Compiling on Linux...
|
 |
|
Re: Compiling on Linux...
By: mirek on Sun, 10 June 2007 00:02
|
 |
|
Re: Compiling on Linux...
By: piotr5 on Wed, 20 June 2007 14:40
|
 |
|
Re: Compiling on Linux...
By: piotr5 on Mon, 25 June 2007 13:55
|
 |
|
Re: Compiling on Linux...
|
 |
|
Re: Upp 705-dev3 released
By: ebojd on Fri, 29 June 2007 20:28
|
 |
|
Re: Upp 705-dev3 released
|
 |
|
Re: Upp 705-dev3 released
By: ebojd on Fri, 29 June 2007 23:21
|
 |
|
Re: Upp 705-dev3 released
By: ebojd on Mon, 02 July 2007 15:18
|
 |
|
SVN sync from UVS [was: Upp 705-dev3 released]
By: ebojd on Mon, 02 July 2007 15:38
|
 |
|
Re: Upp 705-dev3 released
By: mirek on Mon, 02 July 2007 18:02
|
 |
|
Re: Upp 705-dev3 released
By: ebojd on Mon, 02 July 2007 21:54
|
 |
|
Re: Upp 705-dev3 released
|
 |
|
svn will be updated in the next week. on monday i'll finally get the new computer.. btw opera mini i
By: unodgs on Sat, 07 July 2007 10:25
|
Goto Forum:
Current Time: Sun Jul 06 11:49:59 CEST 2025
Total time taken to generate the page: 0.03576 seconds
|
|
|