comp.lang.ada
 help / color / mirror / Atom feed
* ADA and WIN32-bindings
@ 1997-03-16  0:00 Thomas Aho
  0 siblings, 0 replies; only message in thread
From: Thomas Aho @ 1997-03-16  0:00 UTC (permalink / 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
------------------------------------------------




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-03-16  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-16  0:00 ADA and WIN32-bindings Thomas Aho

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