comp.lang.ada
 help / color / mirror / Atom feed
From: "Alexander Camek" <Alexander.Camek@Elektrobit.com>
Subject: Re: Undefined reference to glib_E
Date: Mon, 26 Mar 2007 15:43:27 +0200
Date: 2007-03-26T15:43:27+02:00	[thread overview]
Message-ID: <newscache$gfjifj$j2p$1@pleione.3soft.de> (raw)
In-Reply-To: 20070326151427.296f7b0e@cube.tz.axivion.com

"Stefan Bellon" <sbellon@sbellon.de> schrieb im Newsbeitrag 
news:20070326151427.296f7b0e@cube.tz.axivion.com...
> Alexander Camek wrote:
>
>> with "common";
>> with "framework";
>>
>> project images is
>>  for Library_Name use "images";
>>  for Library_Dir  use "lib";
>>  for Object_Dir   use "obj";
>>  for Library_Kind use "dynamic";
>>  for Source_Dirs  use (".", "bind");
>>  for Languages    use ("Ada", "C");
>>  for Library_Interface use
>>   ("base_images", "generic_images", "images");
>>
>>  package Linker   renames Common.Linker;
>>  package Compiler renames Common.Compiler;
>>  package Builder  renames Common.Builder;
>>  package Ide      renames Common.Ide;
>>
>> end images;
>>
>> When I do a static linking, everything works fine, but the dynamic
>> linkage has this undefined reference.
>
> You are building a DLL on Windows here. A DLL cannot (unlike a
> shared object on UNIX) have unresolved symbols. In the worst case you
> need an import library. But in this case, there's another way.

Okay, after some searching i found in the executable i build before the 
symbol :(.
So it seems i have to use an import library, because it seems that the build 
will not work like under unix.
I first build under unix my "executable" and then use many shared objects.

Do I need in that case the previous named "import library", because windows 
is doing the whole a little bit diffrent?

Thanks for the help

Greetings

Alexander 





  reply	other threads:[~2007-03-26 13:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-26 10:35 Undefined reference to glib_E Alexander Camek
2007-03-26 13:14 ` Stefan Bellon
2007-03-26 13:43   ` Alexander Camek [this message]
2007-03-26 13:57     ` Stefan Bellon
2007-03-26 14:45       ` Alexander Camek
replies disabled

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