delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/18/18:51:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 18 Nov 2000 18:49:25 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Cc: vulcan AT vulcanheli DOT co DOT nz
Subject: Re: newbie - cannot find -luser32 problem
Message-ID: <20001118184925.A8619@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, vulcan AT vulcanheli DOT co DOT nz
References: <006c01c051b9$b94859a0$03cd60cb AT dell>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <006c01c051b9$b94859a0$03cd60cb@dell>; from vulcan@vulcanheli.co.nz on Sun, Nov 19, 2000 at 12:46:07PM +1300

On Sun, Nov 19, 2000 at 12:46:07PM +1300, Vulcan Helicopters wrote:
>I have just installed cygwin and am trying to use gcc, but I get the
>following error:
>
>$ make hello
>gcc     hello.cc   -o hello
>/usr/bin/ld: cannot find -luser32
>collect2: ld returned 1 exit status
>make: *** [hello] Error 1

It sounds like you selectively picked things to install and missed an
important piece.  If you didn't install the w32api package, you need to
do this.  This should create the missing /usr/lib/libuser32.a file.

If you did install it then you have another problem.  The command:

gcc -v hello.cc -o hello

may show what the problem is.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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