Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/