delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/17/12:29:56

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: [12.254.208.112]
X-Originating-Email: [mgainty AT hotmail DOT com]
From: "Martin" <mgainty AT hotmail DOT com>
To: "Suetlam Chung" <slfchung AT yahoo DOT com>, "cygwin cygwin" <cygwin AT cygwin DOT com>
References: <20030417162248 DOT 33318 DOT qmail AT web10105 DOT mail DOT yahoo DOT com>
Subject: Re: What's wrong? help
Date: Thu, 17 Apr 2003 10:29:12 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <Law10-OE20U5y50xgy900005fa7@hotmail.com>
X-OriginalArrivalTime: 17 Apr 2003 16:29:42.0339 (UTC) FILETIME=[8C969930:01C304FE]

see bottom posting
----- Original Message -----
From: "Suetlam Chung" <slfchung AT yahoo DOT com>
To: "cygwin cygwin" <cygwin AT cygwin DOT com>
Sent: Thursday, April 17, 2003 9:22 AM
Subject: What's wrong? help


> Hi all,
>
> I am compiling my sample programe to generate
> a random variates. The following reponse come up
> +++++++++++++++++++++++++++++++++++++++++++++
> $gcc sample2.c -lgsl -lgslcblas -lm
> sample2.c:45:2: warning: no newline at end of file
>
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libcygwin.a(libcmain.o)(.text+0
x7c)
>  undefined reference to `_WinMain AT 16'
> collect2: ld returned 1 exit status
> ++++++++++++++++++++++++++++++++++++++++++++++
> What does it mean ....is it my program problem ?
> or
> my cygwin linking problem?..
>
> I install cygwin in c:\cygwin
> My OS is win 2K
> and my sample program in stored in usr\bin
> and I compile my program in usr\bin directory
> because I got linking problem with cygwin.dll so
> I do in under the usr\bin....
>
> Many thanks
>
> Felix
>
> __________________________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo
> http://search.yahoo.com
>
> --
> 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/
>
>
Hello
ren .\lib\libm.a .\lib\libm.a.16bit
The libm.a is the wrong default library for you to link with .The rename
will get it off the library link list
Leep me apprised,
Martin

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