delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/13/10:32: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://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: strtoumax could not be located in...cygwin1.dll
Date: Wed, 13 Jul 2005 15:32:40 +0100
MIME-Version: 1.0
In-Reply-To: <E1DshlZ-0003F0-Ey@server.pickawebhosting.net>
Message-ID: <SERRANOUHNQWkZmbNIc00000514@SERRANO.CAM.ARTIMI.COM>

----Original Message----
>From: Your Name
>Sent: 13 July 2005 14:59

> Thanks for the comments. after i had posted i went to a different mirror
> and did get 1.5.18, but that exhibited a different error (which had
> alreayd been reported on the mailing list), so i reverted back to 1.5.17
> (with the same problem).

  It's fairly definitely a real bug.  strtoumax is an alias for strtoull.
The new name was only exported in dll versions since 2005-06-10, and it
seems that it wasn't done correctly (underscore omitted in cygwin.din, patch
on the way).  strtoimax (aka strtoll) is similarly wrong.

  If you know what program is using the function (it must be something
you're invoking from .bashrc or other startup scripts, I don't think it
could be anything standard), and you have the source, you can recompile it,
and give -Dstrtoumax=strtoull on the command line, add "#define strtoumax
strotull" to the source code, or replace strtoumax with strtoull throughout.

  If you aren't sure which program is triggering it, edit your cygwin.bat
and add the "-x" flag to the bash invocation.  Then it'll output everything
it runs through in the .rc/profile files to the shell and you can see which
program is running when the requester appears.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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