comp.lang.ada
 help / color / mirror / Atom feed
From: "David Botton" <David@Botton.com>
To: "comp.lang.ada mail to news gateway" <comp.lang.ada@ada.eu.org>
Subject: Re: Error linking gnatcom: cannot find -lole32
Date: Fri, 21 Mar 2003 11:05:42 -0500
Date: 2003-03-21T11:05:42-05:00	[thread overview]
Message-ID: <mailman.2.1048262802.20696.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: b5daos$u79$05$1@news.t-online.com

Are you using all the latest:

http://www.adapower.com/gnatcom/gnatcom-20020610.zip
http://www.adapower.com/gwindows/gwindows-1_1p.zip

David Botton


----- Original Message -----
From: "Vincent Smeets" <kein@spam.de>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: Thursday, March 20, 2003 4:10 PM
Subject: Error linking gnatcom: cannot find -lole32


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


_______________________________________________
comp.lang.ada mailing list
comp.lang.ada@ada.eu.org
http://ada.eu.org/mailman/listinfo/comp.lang.ada




  reply	other threads:[~2003-03-21 16:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20 21:10 Error linking gnatcom: cannot find -lole32 Vincent Smeets
2003-03-21 16:05 ` David Botton [this message]
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