delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/17/19:53:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990517235241.69667.qmail@hotmail.com>
X-Originating-IP: [38.31.1.226]
Reply-To: dalehend AT netscape DOT net
From: "dale henderson" <dalekh AT hotmail DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Undefined Reference
Date: Mon, 17 May 1999 18:52:41 CDT
Mime-Version: 1.0



Here is my scenario:

I have mingw32/egcs1.1.2

Compiling source file for an executable.
There are two static libraries: one libglcanvas.a makes reference to the 
other libopengl32.a.
The source file  penguin.cpp also makes reference to libopengl32.a and does 
so successfully when make does the linking, but the linking to libopengl32.a 
from libglcanvas.a fails causing undefined references.

The source file uses makeprog.g95. When libglcanvas.a was compiled, it used 
makelib.g95. This is the only discernable difference I see.
There is no linking involved when creating a static library in mingw32, 
correct?

Any suggestions?

dalehend AT netscape DOT net









_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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