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://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Message-ID: | <42A015B1.7060805@familiehaase.de> |
Date: | Fri, 03 Jun 2005 10:32:49 +0200 |
From: | "Gerrit P. Haase" <gerrit AT familiehaase DOT de> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 |
MIME-Version: | 1.0 |
To: | c DOT mendis AT pgrad DOT unimelb DOT edu DOT au |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Help on MAKE |
References: | <ACEIKBKNONIIFGJIPAAFKEMDCCAA DOT c DOT mendis AT pgrad DOT unimelb DOT edu DOT au> |
In-Reply-To: | <ACEIKBKNONIIFGJIPAAFKEMDCCAA.c.mendis@pgrad.unimelb.edu.au> |
X-IsSubscribed: | yes |
Champ Mendis wrote: > Hi, > > I received following error message when compiling C++ code in Cygwin, I > would be extremely grateful if someone can > point out the solution to the problem. > ------------------------------------ > $ make > g++ -Wall -O3 -c main.cc > g++ -Wall -O3 -c sensor.cc > g++ -Wall -O3 -c topology.cc > g++ -Wall -O3 -c service.cc > g++ -Wall -O3 -c simulation.cc > g++ -Wall -O3 -c queue.cc > g++ -Wall -O3 -o sensor main.o sensor.o topology.o service.o simulation.o > queue.o -lgslcblas -lgsl -lm > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: > cannot find -luser32 > collect2: ld returned 1 exit status > make: *** [sensor] Error 1 > ------------------------------------ You're missing libuser32.a. it is in one of these packages: http://cygwin.com/cgi-bin2/package-grep.cgi?grep=user32 Usually setup installs this automatically if you install gcc. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |