You have installed the source bundle of the w32api package. Run setup.exe again and install the missing package.
Btw when you're missing a file, you can always go to http://cygwin.com/packages/ and use the search engine to find out which package contains the missing file. Frank Wagner wrote: > Hello, > > I tried to build insight5.1 on a WinNT 4.0 maschine. > After the command ./configure I got the following messages: > > Configuring for a i686-pc-cygwin host. > Created "Makefile" in /home/WagnerF/insight using "mf-frag" > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: > cannot find -luser32 > collect2: ld returned 1 exit status > *** The command 'gcc -o conftest -g -02 conftest.c' failed. > *** You must set the environment variable CC to a working compiler. > > I looked for the file user32 and found a user32.def in > /usr/src/w32api-1.1-1/lib > > So what should I do that the user32.def will be found? > What happens with the environment variable CC this variable is not set after > installation. > > Thanks in advance > > Frank > > -- 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/