comp.lang.ada
 help / color / mirror / Atom feed
From: Thomas Aho <aho@dial.eunet.ch>
Subject: ADA and WIN32-bindings
Date: 1997/03/16
Date: 1997-03-16T00:00:00+00:00	[thread overview]
Message-ID: <332C7A99.4D28@dial.eunet.ch> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2276 bytes --]


I have tried two different WIN32 API bindings, with the same result;
linking fails with the following error messages:

D:\claw>gnatmake adtest -largs -lcomctl32 -largs -mwindows
gcc -c -x ada CLAW.ADB
gnatbind -x adtest.ali
gnatlink -lcomctl32 -mwindows adtest.ali
USER32.dll(.debug$S+0x0): multiple definition of `.idata$2'
COMCTL32.dll(.debug$S+0x0): first defined here
USER32.dll(.debug$S+0x0): multiple definition of `.idata$4'
COMCTL32.dll(.debug$S+0x0): first defined here
USER32.dll(.debug$S+0x0): multiple definition of `.idata$5'
COMCTL32.dll(.debug$S+0x0): first defined here
KERNEL32.dll(.debug$S+0x0): multiple definition of `.idata$2'
COMCTL32.dll(.debug$S+0x0): first defined here
KERNEL32.dll(.debug$S+0x0): multiple definition of `.idata$4'
COMCTL32.dll(.debug$S+0x0): first defined here
KERNEL32.dll(.debug$S+0x0): multiple definition of `.idata$5'
COMCTL32.dll(.debug$S+0x0): first defined here
GDI32.dll(.debug$S+0x0): multiple definition of `.idata$2'
COMCTL32.dll(.debug$S+0x0): first defined here
GDI32.dll(.debug$S+0x0): multiple definition of `.idata$4'
COMCTL32.dll(.debug$S+0x0): first defined here
GDI32.dll(.debug$S+0x0): multiple definition of `.idata$5'
COMCTL32.dll(.debug$S+0x0): first defined here
libada_c.dll(.idata$2+0x0): multiple definition of `.idata$2'
COMCTL32.dll(.debug$S+0x0): first defined here
libada_c.dll(.idata$2+0x0): multiple definition of `.idata$4'
COMCTL32.dll(.debug$S+0x0): first defined here
libada_c.dll(.idata$2+0x0): multiple definition of `.idata$5'
COMCTL32.dll(.debug$S+0x0): first defined here
libada_k.dll(.idata$2+0x0): multiple definition of `.idata$2'
COMCTL32.dll(.debug$S+0x0): first defined here
libada_k.dll(.idata$2+0x0): multiple definition of `.idata$4'
COMCTL32.dll(.debug$S+0x0): first defined here
libada_k.dll(.idata$2+0x0): multiple definition of `.idata$5'
COMCTL32.dll(.debug$S+0x0): first defined here
D:\GNAT304A\GNATMAKE.EXE: *** link failed.


I have tried both with WIN32ADA and CLAW, same result with both.
I am using GNAT 3.04.

Ideas, anyone ?

	/Thomas

-- 
-----------------------------------------------
Thomas Aho         �  Email : aho@dial.eunet.ch
Ahornstrasse 1     �  Phone : +41-1-822 28 20
CH-8600 D�bendorf
Schweiz
------------------------------------------------




                 reply	other threads:[~1997-03-16  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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