delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Fri, 19 Jul 2002 17:10:36 -0400 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problem with libwinmm.a win32 library? |
Message-ID: | <20020719211036.GA2115@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <000701c22f67$2b54cd30$0100a8c0 AT asswipe> |
Mime-Version: | 1.0 |
In-Reply-To: | <000701c22f67$2b54cd30$0100a8c0@asswipe> |
User-Agent: | Mutt/1.3.23.1i |
On Fri, Jul 19, 2002 at 01:59:27PM -0700, Fish wrote: >I'm trying to write a program in cygwin that uses some multimedia timer >functions and it won't link. > >gcc -lwinmm -Xlinker -Map -Xlinker fishtest.linkmap.doc -o fishtest fishtest.o >fishtest.o(.text+0x11):fishtest.c: undefined reference to `timeBeginPeriod AT 4' >fishtest.o(.text+0x18):fishtest.c: undefined reference to `timeEndPeriod AT 4' >collect2: ld returned 1 exit status >make: *** [fishtest] Error 1 The library goes last: gcc -Xlinker -Map -Xlinker fishtest.linkmap.doc -o fishtest fishtest.o -lwinmm cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |