delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/05/18:12:38

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
Date: Wed, 5 Feb 2003 18:13:12 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Why won't my files link?
Message-ID: <20030205231312.GA12326@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0302051037250 DOT 25432-100000 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT OSF DOT 4 DOT 33 DOT 0302051721540 DOT 19748-100000 AT occs DOT cs DOT oberlin DOT edu> <20030205230639 DOT GE11184 AT redhat DOT com> <023601c2cd6b$a1aa4300$78d96f83 AT pomello>
Mime-Version: 1.0
In-Reply-To: <023601c2cd6b$a1aa4300$78d96f83@pomello>
User-Agent: Mutt/1.5.1i

On Wed, Feb 05, 2003 at 11:09:27PM -0000, Max Bowsher wrote:
>Chris, you're skim-reading too fast...
>
>Christopher Faylor wrote:
>> You need to '#include <stdio.h>' in io_functions.c.
>
>
>> On Wed, Feb 05, 2003 at 05:23:45PM -0500, Nick Miller wrote:
>
>... here's the problem:
>
>>> 2) I used the SAME io_functions.o file in both Cygwin and Linux. 
>>> This file was generated by a CS professor at my school using GCC. 

No, I wasn't skim reading.  I was assuming that no one would actually
take an object file from linux and attempt to use it on windows.
Failure to include stdio.h would result in the above problem.

cgf

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