This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Help on MAKE
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/