comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Cc: nma@12000.org
Subject: Re: error running openGL/Ada demo from GLOBE_3D using GNAT 2012
Date: Sun, 15 Jul 2012 19:11:40 -0700 (PDT)
Date: 2012-07-15T19:11:40-07:00	[thread overview]
Message-ID: <e2981cdf-9beb-4e97-8ed3-92b3e0c2cf22@googlegroups.com> (raw)
In-Reply-To: <jttlu9$emq$1@speranza.aioe.org>

Hi Nasser!

> Now the bad news :) For the other demo, globe_3d_demo_linux, the
> above trick does not work. The error is a build error. Even
> though I did gnatclean few times and rebuild things again
> and again.
> 
> &gt;LIBGL_ALWAYS_INDIRECT=1 ./globe_3d_demo_linux
> 
> ./globe_3d_demo_linux: Symbol `system__restrictions__run_time_restrictions&#39; has different size in shared object, consider re-linking
> 
> ./globe_3d_demo_linux: Symbol `ada__strings__unbounded__unbounded_stringT&#39; has different size in shared object, consider re-linking
> 
> ./globe_3d_demo_linux: symbol lookup error: ./globe_3d_demo_linux: undefined symbol: __gnat_eh_personality
> 
> I do not know why mini demo works OK, but not this one. So, I think
> there is still a library issue here?

The executable freshly built is called "globe_3d_demo".
Unless you've renamed it, "globe_3d_demo_linux" is still the old 2011 file with fragile shared object linking :-) .

NB: the .gpr for next release has now "-static", so you would not get this message in a similar situation.



  reply	other threads:[~2012-07-18  9:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-14  6:47 error running openGL/Ada demo from GLOBE_3D using GNAT 2012 Nasser M. Abbasi
2012-07-14 14:16 ` gautier_niouzes
2012-07-14 17:59   ` Nasser M. Abbasi
2012-07-14 19:40     ` gautier_niouzes
2012-07-14 19:56       ` Nasser M. Abbasi
2012-07-14 20:06         ` Nasser M. Abbasi
2012-07-14 20:59           ` gautier_niouzes
2012-07-14 21:29             ` Nasser M. Abbasi
2012-07-15  3:44             ` Nasser M. Abbasi
2012-07-15  5:14               ` gautier_niouzes
2012-07-15  5:54                 ` Nasser M. Abbasi
2012-07-16  2:11                   ` gautier_niouzes [this message]
2012-07-16  2:21                     ` Nasser M. Abbasi
2012-07-16  9:07                       ` gautier_niouzes
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox