delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/23/18:22:28

From: Aaron_Schweiger AT Brown DOT Edu (Aaron Schweiger)
Subject: Linking problems.
23 Jul 1998 18:22:28 -0700 :
Message-ID: <35B757CB.D54A10AD.cygnus.gnu-win32@Brown.Edu>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

I am trying to link the mgui graphics library under gnu-win32, however,
I keep getting linking errors:

e:\MINGW32\LIB\GCC-LIB\i386-mingw32\egcs-2.90.27\../../..\libmguiw.a(mguiinit.o)(.text+0x2ad):mguiinit.c:
undefined reference to `MessageBoxA'
e:\MINGW32\LIB\GCC-LIB\i386-mingw32\egcs-2.90.27\../../..\libmguiw.a(mguiinit.o)(.text+0x904):mguiinit.c:
undefined reference to `GetModuleFileNameA'

Quite clearly, the library I am linking is forgetting the @16 needed at
the end of the function name.  Can I resolve this problem?

Aaron Schweiger

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019