delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/24/20:08:48

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
Message-ID: <3DE177C0.4000901@Salira.com>
Date: Sun, 24 Nov 2002 17:07:12 -0800
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
Organization: Salira Optical Networks
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en, ru, zh
MIME-Version: 1.0
To: "Peter A. Castro" <doctor AT fruitbat DOT org>
CC: cygwin AT cygwin DOT com
Subject: Re: impure_ptr/Mingw and Cygwin
References: <Pine DOT LNX DOT 4 DOT 21 DOT 0211240931120 DOT 7231-100000 AT gremlin DOT fruitbat DOT org>
X-OriginalArrivalTime: 25 Nov 2002 01:08:31.0656 (UTC) FILETIME=[2B9F6A80:01C2941F]

Peter A. Castro wrote:

> What you show below is only linking. I believe you need to re-compile
> all of your source with -mno-cygwin -mwindows as well to make the
> _impure_ptr references go away.

But I did re-compile all my sources with -mno-cygwin -mwindows! Still 
have the error.

>> /bin/gcc mksf.o mksfOpts.o mksfIO.o flmCrc.o -mno-cygwin -mwindows
>> -liberty -lmingw32 -o mksf
>> mksf.o(.text+0x60f): In function `main':
>> /dview/defaria_2.0/salira/neopon/build/maketools/mksf.c:29: undefined
>> reference to `_impure_ptr'
>> mksf.o(.text+0x874):/dview/defaria_2.0/salira/neopon/build/maketools/mksf.c:66:
>> undefined reference to `_impure_ptr'
>> mksfOpts.o(.text+0x309): In function `usage':
>> /dview/defaria_2.0/salira/neopon/build/maketools/mksfOpts.c:13: undefined
>> reference to `_impure_ptr'
>> mksfOpts.o(.text+0x331):/dview/defaria_2.0/salira/neopon/build/maketools/mksfOp
>> s.c:14: undefined reference to `_impure_ptr'
>> mksfOpts.o(.text+0x352):/dview/defaria_2.0/salira/neopon/build/maketools/mksfOp
>> s.c:15: undefined reference to `_impure_ptr'
>> mksfOpts.o(.text+0x36a):/dview/defaria_2.0/salira/neopon/build/maketools/mksfOp
>> s.c:16: more undefined references to `_impure_ptr' follow
>> make: *** [mksf] Error 1
>>
>> Again the _impure_ptr things come up. Where is this supposed to be
>> resolved from?
>


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