delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/12/14:15:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [66.148.193.90]
X-Originating-Email: [migmcomputers AT hotmail DOT com]
From: "Max Palatnik" <migmcomputers AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Error message when compling simple program, help please :)
Date: Wed, 11 Jun 2003 11:25:11 -0500
Mime-Version: 1.0
Message-ID: <Law9-F37Y8M9Z64s7Go000a1abb@hotmail.com>
X-OriginalArrivalTime: 11 Jun 2003 16:25:12.0536 (UTC) FILETIME=[087E2D80:01C33036]

Hi guys,

First time emailing a community like this, hopefully it works.  I just 
installed cygwin using the setup program available on the website and I'm 
trying to copile a program I have from the Sams publishing "teach yourself C 
in 24 hours book"

The program is the following:

#include <stdio.h>

main()
{
   printf ("Howdy, neighbor! This is my first C program.\n");
   return 0;
}

I am using the following command:

$ gcc 02l01.c
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: 
cannot find -luser32
collect2: ld returned 1 exit status

I have no idea what to do now. I searched google for help but i didn't find 
anything referring specifically to the -luser32 error.  If someone could 
help me out I'd really appreciate it :)

Thanks to all who reply

Max

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


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

- Raw text -


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