delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/17/10:18:22

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
Expiry-Date: Tue, 15 Jan 2002 -1:-1:-1 +0000
Subject: problem with linking
To: cygwin AT cygwin DOT com
From: pat DOT j DOT mckillen AT jpmorgan DOT com
Date: Wed, 17 Oct 2001 15:10:42 +0100
Message-ID: <OFB4A5A6FD.DF6BEE71-ON80256AE8.004DD380@ny.jpmorgan.com>
X-MIMETrack: Serialize by Router on NYC_SMTPMTA_01(Release 5.0.8 |June 18, 2001) at 10/17/2001
10:16:11 AM
MIME-Version: 1.0

Hi,
     I have just downloaded Cygwin1.3.3 and cannot get an"Hello World"
program to link.

My file is called Prog1.cpp and I have tried

g++ Prog1.cpp

and

gcc Prog1.cpp

all give me the same linking error
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cann
ot find -luser32
collect2: ld returned 1 exit status


I installed directly from the internet and the installation did not
create a file called libuser.*
create the directory structure /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 but
rather /lib/gcc-lib/i686-pc-cygwin/2.95.3-5


Could someone point me in the right direction


Many thanks.
     Pat Mc Killen


This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


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

- Raw text -


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