From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,41531c84d15aab14,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-20 13:13:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: "Vincent Smeets" Newsgroups: comp.lang.ada Subject: Error linking gnatcom: cannot find -lole32 Date: Thu, 20 Mar 2003 22:10:21 +0100 Organization: T-Online Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: news.t-online.com 1048194652 05 30953 Q1OsERjXS5-Wql 030320 21:10:52 X-Complaints-To: abuse@t-online.com X-ID: Tm5MqvZ-geSYXkCHjlysTg0hUpoBzI7dWujocpgLY78FM7yGDWZq07 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.lang.ada:35577 Date: 2003-03-20T22:10:21+01:00 List-Id: 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=3D0x2000000 ld: cannot find -lole32 GNATLINK: cannot call C:\PROGRA~1\GNAT\BIN\gcc.exe