comp.lang.ada
 help / color / mirror / Atom feed
From: "Vincent Smeets" <kein@spam.de>
Subject: Error linking gnatcom: cannot find -lole32
Date: Thu, 20 Mar 2003 22:10:21 +0100
Date: 2003-03-20T22:10:21+01:00	[thread overview]
Message-ID: <b5daos$u79$05$1@news.t-online.com> (raw)

Hallo,

I have installed GNAT 3.15p on my Windows98 system. Now I want to use GNATCOM and GWindows. At compiling GNATCOM, I got an error from the linker. It can't find the library ole32. What am I missing? Am I missing some required software or do I have to use an additional option for the linker?

Thanks,
Vincent


C:\Programme\gnatcom\bindings>make reggnatcom
gnatmake -gnatg reggnatcom
gnatbind -x reggnatcom.ali
gnatlink reggnatcom.ali
ld: cannot find -lole32
gnatlink: cannot call C:\PROGRA~1\GNAT\BIN\gcc.exe
gnatmake: *** link failed.
C:\PROGRA~1\GNAT\BIN\MAKE.EXE: *** [reggnatcom] Error 4

C:\Programme\gnatcom\bindings>gnatlink -v reggnatcom.ali

GNATLINK 3.15p  (20020523) Copyright 1996-2002 Free Software Foundation, Inc.
gcc -c -gnatA -gnatWb -gnatiw -gnatws b~reggnatcom.adb
C:\PROGRA~1\GNAT\BIN\gcc.exe b~reggnatcom.o ./gnatcom.o ./gnatcom-types.o ./gnatcom-initialize.o ./gnatcom-bstr.o ./gnatcom-errors.o ./gnatcom-guid.o ./gnatcom-register.o ./reggnatcom.o -o reggnatcom.exe -L./ -LC:\PROGRA~1\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adalib\ -lole32 -loleaut32 -luser32 C:\PROGRA~1\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\adalib\libgnat.a -Wl,--stack=0x2000000
ld: cannot find -lole32
GNATLINK: cannot call C:\PROGRA~1\GNAT\BIN\gcc.exe





             reply	other threads:[~2003-03-20 21:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20 21:10 Vincent Smeets [this message]
2003-03-21 16:05 ` Error linking gnatcom: cannot find -lole32 David Botton
2003-03-21 22:45   ` svaa
2003-03-24 15:47     ` Stephen Leake
2003-03-21 21:28 ` Vincent Smeets
replies disabled

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