delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/03/03:35:50

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
Reply-To: <c DOT mendis AT pgrad DOT unimelb DOT edu DOT au>
From: "Champ Mendis" <c DOT mendis AT pgrad DOT unimelb DOT edu DOT au>
To: <cygwin AT cygwin DOT com>
Subject: Help on MAKE
Date: Fri, 3 Jun 2005 17:35:18 +1000
Message-ID: <ACEIKBKNONIIFGJIPAAFKEMDCCAA.c.mendis@pgrad.unimelb.edu.au>
MIME-Version: 1.0
In-Reply-To: <20050603034819.GA16088@trixie.casa.cgf.cx>
X-IsSubscribed: yes

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
------------------------------------

Thanking you,
Cheers,
Champ


--
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/

- Raw text -


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