This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: strtoumax could not be located in...cygwin1.dll


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]