comp.lang.ada
 help / color / mirror / Atom feed
* Error linking gnatcom: cannot find -lole32
@ 2003-03-20 21:10 Vincent Smeets
  2003-03-21 16:05 ` David Botton
  2003-03-21 21:28 ` Vincent Smeets
  0 siblings, 2 replies; 5+ messages in thread
From: Vincent Smeets @ 2003-03-20 21:10 UTC (permalink / 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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-24 15:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-20 21:10 Error linking gnatcom: cannot find -lole32 Vincent Smeets
2003-03-21 16:05 ` David Botton
2003-03-21 22:45   ` svaa
2003-03-24 15:47     ` Stephen Leake
2003-03-21 21:28 ` Vincent Smeets

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