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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2e8cf506f89b5d0a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-12 17:29:30 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Gnat Windows load error References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Thu, 13 Sep 2001 00:29:29 GMT NNTP-Posting-Host: 24.7.82.199 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 1000340969 24.7.82.199 (Wed, 12 Sep 2001 17:29:29 PDT) NNTP-Posting-Date: Wed, 12 Sep 2001 17:29:29 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:13062 Date: 2001-09-13T00:29:29+00:00 List-Id: The command: gnatmake -gnatR -gnato -O2 testjpg -largs -v -mwindows f:\1tm\jpeg\release\calljpeg.obj jpeg.lib generates several warnings of the kind: ld: jpeg.lib(./Release/jdphuff.obj): warning: ignoring duplicate section `.text' It appears to be related to jpeg.lib being built (MSVC++from multiple routines, more than one of which contains something like static void someproc(int someparam) with the same "someproc" name. A reference to "someproc" seems to have a zero as address. The MS linker gives no warnings, and gives a correct, non-zero, address to someproc. What must I do differently?