public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: strtoumax could not be located in...cygwin1.dll
@ 2005-07-13 13:59 Your Name
  2005-07-13 14:32 ` Dave Korn
  0 siblings, 1 reply; 11+ messages in thread
From: Your Name @ 2005-07-13 13:59 UTC (permalink / raw)
  To: Eric Blake, Michael Watson, cygwin

[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]

Eric,


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

i have attached the cygcheck output to this for you to have a look at.

Thanks again,

Mike


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> According to Michael Watson on 7/12/2005 12:03 PM:
> > 
> > the machine is running windows XP, and when starting the cygwin bash
shell, the
> > error above is reported. i have checked the dll out with MS
dependency walker,
> > and cannot see that function listed in there, although dependency
walker does
> > indicate that:
> 
> Trying to guess what's on your machine: I suspect there are two cygwin
> installations, and that you aren't really running 1.5.18 like you think
> you are.  But to make sure, please follow directions, and post the
> cygcheck output:
> 
> > Problem reports:       http://cygwin.com/problems.html
> 
> - --
> Life is short - so eat dessert first!
> 
> Eric Blake             ebb9@byu.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (Cygwin)
> Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFC1Q0584KuGfSFAYARAhobAKDXhXMV57NV+eEK2nK9SM/3VUeDfACdGvpU
> pio7nRAol8OB4XLTvuVqvis=
> =WpzE
> -----END PGP SIGNATURE-----
> 
> 

-- 


[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 12355 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Wed Jul 13 09:44:47 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:	C:\WINDOWS\system32
	C:\WINDOWS
	C:\WINDOWS\System32\Wbem
	C:\PROGRAM FILES\THINKPAD\UTILITIES
	c:\program files\microsoft platform sdk\bin
	c:\dev\tools\bin
	c:\cygwin\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1005(Connie Chang) GID: 513(None)
0(root)                 513(None)               544(Administrators)
545(Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1005(Connie Chang) GID: 513(None)
0(root)                 513(None)               544(Administrators)
545(Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

Path = `C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRAM FILES\THINKPAD\UTILITIES;c:\program files\microsoft platform sdk\bin;c:\dev\tools\bin;c:\cygwin\bin'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Connie Chang\Application Data'
CLIENTNAME = `Console'
CommonProgramFiles = `C:\Program Files\Common Files'
COMPUTERNAME = `IBM-8HGWOLBIKTT'
ComSpec = `C:\WINDOWS\system32\cmd.exe'
CYGDIR = `c:\cygwin'
FP_NO_HOST_CHECK = `NO'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Connie Chang'
INCLUDE = `c:\program files\microsoft platform sdk\include'
LIB = `c:\program files\microsoft platform sdk\lib'
LOGONSERVER = `\\IBM-8HGWOLBIKTT'
MOZ_TOOLS = `c:\dev\tools'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PLATFORMSDKDIR = `c:\program files\microsoft platform sdk'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 7, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0207'
ProgramFiles = `C:\Program Files'
PROMPT = `$P$G'
SESSIONNAME = `Console'
SystemDrive = `C:'
SystemRoot = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\CONNIE~1\LOCALS~1\Temp'
TMP = `C:\DOCUME~1\CONNIE~1\LOCALS~1\Temp'
USERDOMAIN = `IBM-8HGWOLBIKTT'
USERNAME = `Connie Chang'
USERPROFILE = `C:\Documents and Settings\Connie Chang'
VS80COMNTOOLS = `C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\'
windir = `C:\WINDOWS'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS     36471Mb  27% CP CS UN PA FC     IBM_PRELOAD
d:  cd  UDF       8029Mb 100%    CS UN           FIST_OF_FURY

C:\cygwin      /          system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  system  binmode,cygdrive

Found: c:\cygwin\bin\awk.exe
Found: c:\cygwin\bin\bash.exe
Found: c:\cygwin\bin\cat.exe
Found: c:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: c:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: c:\cygwin\bin\grep.exe
Not Found: ld
Found: c:\cygwin\bin\ls.exe
Not Found: make
Found: c:\cygwin\bin\mv.exe
Found: c:\cygwin\bin\rm.exe
Found: c:\cygwin\bin\sed.exe
Found: c:\cygwin\bin\sh.exe
Found: c:\cygwin\bin\tar.exe

   55k 2004/09/14 c:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2004/9/14 0:16
   14k 2003/08/10 c:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygcharset-1.dll" v0.0 ts=2003/8/10 16:57
   40k 2004/10/10 c:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2004/10/10 4:33
   45k 2001/04/25 c:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 1:28
   35k 2002/01/09 c:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 1:03
   48k 2003/08/09 c:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
                  "cygform7.dll" v0.0 ts=2003/8/9 5:25
   28k 2003/03/22 c:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-3.dll" v0.0 ts=2003/3/22 17:19
   30k 2003/08/11 c:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2003/8/10 22:12
   19k 2003/03/22 c:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/19 22:05
   15k 2003/03/22 c:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=2003/3/22 17:22
   15k 2003/08/11 c:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2003/8/10 22:13
   17k 2001/06/28 c:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/6 23:34
   29k 2003/08/10 c:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2003/8/10 19:16
   25k 2004/10/12 c:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory6.dll" v0.0 ts=2004/10/12 2:51
  958k 2003/08/10 c:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2003/8/10 16:57
   22k 2001/12/13 c:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 4:28
   37k 2003/08/10 c:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/10 17:50
   54k 2004/07/06 c:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2004/7/6 13:51
   21k 2001/06/20 c:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 13:09
   22k 2004/10/10 c:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2004/10/10 4:33
   26k 2001/04/25 c:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 1:27
   20k 2002/01/09 c:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 1:03
   29k 2003/08/09 c:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu7.dll" v0.0 ts=2003/8/9 5:25
   74k 2004/10/10 c:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2004/10/10 4:33
  156k 2001/04/25 c:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 1:29
  175k 2002/01/09 c:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 1:03
  216k 2004/10/10 c:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2004/10/10 4:25
  226k 2001/04/25 c:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 1:17
  202k 2002/01/09 c:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 1:03
  224k 2003/08/09 c:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses7.dll" v0.0 ts=2003/8/9 5:24
   13k 2004/10/10 c:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2004/10/10 4:32
   15k 2001/04/25 c:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 1:27
   12k 2002/01/09 c:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 1:03
   19k 2003/08/09 c:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel7.dll" v0.0 ts=2003/8/9 5:24
   67k 2003/09/10 c:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2003/9/10 10:25
   63k 2003/04/11 c:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2003/4/11 4:31
   15k 2003/09/10 c:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2003/9/10 10:25
   61k 2003/04/11 c:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2003/4/11 4:31
   22k 2002/06/09 c:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 1:45
  108k 2001/06/28 c:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/6 23:34
  148k 2003/08/10 c:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2003/8/10 19:16
  144k 2004/10/12 c:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline6.dll" v0.0 ts=2004/10/12 2:51
   62k 2004/10/10 c:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2004/10/10 0:09
 1227k 2005/05/25 c:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2005/5/25 19:38
    Cygwin DLL version info:
        DLL version: 1.5.17
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 129
        Shared data: 4
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Wed May 25 19:38:55 EDT 2005
        Shared id: cygwin1S4


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to: C:\Documents and Settings\Connie Chang\My Documents\downloads\cygwin
Last downloaded files from: ftp://cygwin.dp.ua/pub/mirrors/cygwin

Package              Version
_update-info-dir     00276-1
alternatives         1.3.20a-1
ash                  20040127-1
base-files           3.4-2
base-passwd          2.1-1
bash                 2.05b-17
bzip2                1.0.2-6
coreutils            5.3.0-7
cygutils             1.2.8-1
cygwin               1.5.17-1
cygwin-doc           1.4-1
diffutils            2.8.7-1
editrights           1.01-1
findutils            4.1.7-4
gawk                 3.1.3-4
gdbm                 1.8.3-3
grep                 2.5.1a-1
groff                1.17.2-1
gzip                 1.3.3-4
less                 378-1
libbz2_1             1.0.2-6
libcharset1          1.9.1-3
libgdbm              1.8.0-5
libgdbm-devel        1.8.3-3
libgdbm3             1.8.3-1
libgdbm4             1.8.3-7
libiconv             1.9.1-3
libiconv2            1.9.1-3
libintl              0.10.38-3
libintl1             0.10.40-1
libintl2             0.12.1-3
libintl3             0.14.1-1
libncurses5          5.2-1
libncurses6          5.2-8
libncurses7          5.3-4
libncurses8          5.4-1
libpcre              4.1-1
libpcre0             4.4-2
libpopt0             1.6.4-4
libreadline4         4.1-2
libreadline5         4.3-5
libreadline6         5.0-1
login                1.9-5
man                  1.5p-1
mktemp               1.4-1
ncurses              5.4-1
readline             5.0-1
sed                  4.1.3-1
tar                  1.13.25-7
termcap              20021106-2
terminfo             5.3_20030726-1
texinfo              4.7-2
which                1.6-1
zip                  2.3-5
zlib                 1.2.2-1
Use -h to see help about each section

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: strtoumax could not be located in...cygwin1.dll
  2005-07-13 13:59 strtoumax could not be located in...cygwin1.dll Your Name
@ 2005-07-13 14:32 ` Dave Korn
  0 siblings, 0 replies; 11+ messages in thread
From: Dave Korn @ 2005-07-13 14:32 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: strtoumax could not be located in...cygwin1.dll
  2005-07-13 15:30     ` Dave Korn
@ 2005-07-13 23:34       ` Brian Dessent
  0 siblings, 0 replies; 11+ messages in thread
From: Brian Dessent @ 2005-07-13 23:34 UTC (permalink / raw)
  To: cygwin

Dave Korn wrote:

> > It sounds like you didn't update your libcygwin.a .
> 
>   Ah.  So you mean that forwarders only end up as import stubs in the .a,
> not as exports from the .dll itself?

I think this is what the ld manual is hinting at at the end of the
section "direct linking to a dll":
<http://sourceware.org/binutils/docs-2.16/ld/WIN32.html>

"Sometimes it is necessary to include pure static objects within the
import library (which otherwise contains only bfd's for indirection
symbols that point to the exports of a dll). Again, the import lib for
the cygwin kernel makes use of this ability, and it is not possible to
do this without an import lib."

On an unrelated note, I had always thought that direct linking to a dll
took *more* resources during link compared to using an import library,
but apparently this is backwards.  I guess it pays to RTFM.

Brian

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: strtoumax could not be located in...cygwin1.dll
  2005-07-13 15:19   ` Christopher Faylor
@ 2005-07-13 15:30     ` Dave Korn
  2005-07-13 23:34       ` Brian Dessent
  0 siblings, 1 reply; 11+ messages in thread
From: Dave Korn @ 2005-07-13 15:30 UTC (permalink / raw)
  To: cygwin

----Original Message----
>From: Christopher Faylor
>Sent: 13 July 2005 16:20

> It sounds like you didn't update your libcygwin.a .

  Ah.  So you mean that forwarders only end up as import stubs in the .a,
not as exports from the .dll itself?  

  :) You learn something new every day!


    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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: strtoumax could not be located in...cygwin1.dll
  2005-07-13 15:12 ` Dave Korn
@ 2005-07-13 15:19   ` Christopher Faylor
  2005-07-13 15:30     ` Dave Korn
  0 siblings, 1 reply; 11+ messages in thread
From: Christopher Faylor @ 2005-07-13 15:19 UTC (permalink / raw)
  To: cygwin

On Wed, Jul 13, 2005 at 04:12:57PM +0100, Dave Korn wrote:
>----Original Message----
>>From: Eric Blake
>>Sent: 13 July 2005 15:34
>
>>  However, bash-3.0-7 requires cygwin-1.5.18 or better,
>> because that is when strtoumax was introduced and bash uses it.
>
>Interesting.  I tried to compile a simple test program that uses
>strtoumax and it failed.  My dll was built from freshly updated cvs on
>20050624; that's a fortnight after strtoumax was added (lacking
>underscore) to cygwin.din.  I think it _really_ isn't there.
>
>I'll try again with today's CVS and see what happens.  Just FYI,
>though, it doesn't seem to be exported from the most recent snapshot
>version of the dll ....

It sounds like you didn't update your libcygwin.a .

break;

cgf

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: strtoumax could not be located in...cygwin1.dll
  2005-07-13 14:33 Eric Blake
  2005-07-13 14:43 ` Michael David Watson
@ 2005-07-13 15:12 ` Dave Korn
  2005-07-13 15:19   ` Christopher Faylor
  1 sibling, 1 reply; 11+ messages in thread
From: Dave Korn @ 2005-07-13 15:12 UTC (permalink / raw)
  To: cygwin

----Original Message----
>From: Eric Blake
>Sent: 13 July 2005 15:34

>  However, bash-3.0-7 requires cygwin-1.5.18 or better,
> because that is when strtoumax was introduced and bash uses it.

  Interesting.  I tried to compile a simple test program that uses strtoumax
and it failed.  My dll was built from freshly updated cvs on 20050624;
that's a fortnight after strtoumax was added (lacking underscore) to
cygwin.din.  I think it _really_ isn't there.

  I'll try again with today's CVS and see what happens.  Just FYI, though,
it doesn't seem to be exported from the most recent snapshot version of the
dll ....



dk@mace /usr/build> wget
'http://cygwin.com/snapshots/cygwin1-20050709.dll.bz2'
--16:06:40--  http://cygwin.com/snapshots/cygwin1-20050709.dll.bz2
           => `cygwin1-20050709.dll.bz2'
Resolving cygwin.com... 12.107.209.250
Connecting to cygwin.com[12.107.209.250]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,170,698 [application/x-bzip2]

100%[====================================>] 2,170,698    229.63K/s    ETA
00:00

16:06:52 (183.77 KB/s) - `cygwin1-20050709.dll.bz2' saved [2170698/2170698]

dk@mace /usr/build> bunzip2 cygwin1-20050709.dll.bz2
dk@mace /usr/build> nm cygwin1-20050709.dll | grep strtou
610cdbf0 T __strtoul_r
610e3240 T __strtoull_r
610cdd60 T _strtoul
610cdd90 T _strtoull
dk@mace /usr/build>


    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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: strtoumax could not be located in...cygwin1.dll
  2005-07-13 14:33 Eric Blake
@ 2005-07-13 14:43 ` Michael David Watson
  2005-07-13 15:12 ` Dave Korn
  1 sibling, 0 replies; 11+ messages in thread
From: Michael David Watson @ 2005-07-13 14:43 UTC (permalink / raw)
  To: Eric Blake; +Cc: cygwin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Eric Blake wrote:

> Ugh, top-posting, reformatting.
>
>>> According to Michael Watson on 7/12/2005 12:03 PM:
>>>
>>>> the machine is running windows XP, and when starting the
>>>> cygwin bash
>>
>> shell, the
>>
>>>> error above is reported. i have checked the dll out with MS
>>
>> dependency walker,
>>
>>>> and cannot see that function listed in there, although
>>>> dependency
>>
>> walker does
>>
>>>> indicate that:
>>>
>>> Trying to guess what's on your machine: I suspect there are two
>>> cygwin installations, and that you aren't really running 1.5.18
>>> like you think you are. But to make sure, please follow
>>> directions, and post the cygcheck output:
>>>
>
>> 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).
>>
>> i have attached the cygcheck output to this for you to have a
>> look at.
>
>
> Thanks for the output; it looks like you have just a single
> cygwin1.dll, which is good. However, bash-3.0-7 requires
> cygwin-1.5.18 or better, because that is when strtoumax was
> introduced and bash uses it. You will continue to get the popup
> box, with bash failing to start, until you upgrade to the latest
> cygwin (or downgrade to the earlier bash-2.05b-17 and
> ash-20040127-1), which did not have the dependency. Perhaps when
> you were trying to upgrade cygwin-1.5.18, you got the setup.exe
> popup box telling you that in-use files were replaced, and you
> didn't do the required reboot?
>
>> Thanks again,
>>
>> Mike
>
>
> -- Eric Blake volunteer cygwin bash maintainer
>
>
>
>
>
Thanks blake,

I will run the setup again later to take the latest versions of
everything and check that i contains the necessary dependencies at the
correct version. i am on a pretty slow connection at the moment so
might leave this until i get nearer a faster one.

thanks for all your help; i will post again once i have the latest of
everything.


Mike

PS apologies for the formatting of the last e-mail; i sent it from the
web client.

mikw

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
iD8DBQFC1ShE1MQIYCW55OIRAutBAJ4zcZHmY7yn6P64Ta5w3zCaZUNGIACghZvn
r+++vXvezWl0e7QQqjUE5cY=
=v5Br
-----END PGP SIGNATURE-----



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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: strtoumax could not be located in...cygwin1.dll
@ 2005-07-13 14:33 Eric Blake
  2005-07-13 14:43 ` Michael David Watson
  2005-07-13 15:12 ` Dave Korn
  0 siblings, 2 replies; 11+ messages in thread
From: Eric Blake @ 2005-07-13 14:33 UTC (permalink / raw)
  To: Michael Watson, cygwin

Ugh, top-posting, reformatting.

> > 
> > According to Michael Watson on 7/12/2005 12:03 PM:
> > > 
> > > the machine is running windows XP, and when starting the cygwin bash
> shell, the
> > > error above is reported. i have checked the dll out with MS
> dependency walker,
> > > and cannot see that function listed in there, although dependency
> walker does
> > > indicate that:
> > 
> > Trying to guess what's on your machine: I suspect there are two cygwin
> > installations, and that you aren't really running 1.5.18 like you think
> > you are.  But to make sure, please follow directions, and post the
> > cygcheck output:
> > 

> 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).
> 
> i have attached the cygcheck output to this for you to have a look at.

Thanks for the output; it looks like you have just a single cygwin1.dll,
which is good.  However, bash-3.0-7 requires cygwin-1.5.18 or better,
because that is when strtoumax was introduced and bash uses it.
You will continue to get the popup box, with bash failing to start,
until you upgrade to the latest cygwin (or downgrade to the earlier
bash-2.05b-17 and ash-20040127-1), which did not have the dependency.
Perhaps when you were trying to upgrade cygwin-1.5.18, you got the
setup.exe popup box telling you that in-use files were replaced, and
you didn't do the required reboot?

> 
> Thanks again,
> 
> Mike

--
Eric Blake
volunteer cygwin bash maintainer



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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: strtoumax could not be located in...cygwin1.dll
  2005-07-12 18:31 Michael Watson
  2005-07-12 19:04 ` J. David Boyd
@ 2005-07-13 12:46 ` Eric Blake
  1 sibling, 0 replies; 11+ messages in thread
From: Eric Blake @ 2005-07-13 12:46 UTC (permalink / raw)
  To: Michael Watson; +Cc: cygwin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Michael Watson on 7/12/2005 12:03 PM:
> 
> the machine is running windows XP, and when starting the cygwin bash shell, the
> error above is reported. i have checked the dll out with MS dependency walker,
> and cannot see that function listed in there, although dependency walker does
> indicate that:

Trying to guess what's on your machine: I suspect there are two cygwin
installations, and that you aren't really running 1.5.18 like you think
you are.  But to make sure, please follow directions, and post the
cygcheck output:

> Problem reports:       http://cygwin.com/problems.html

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC1Q0584KuGfSFAYARAhobAKDXhXMV57NV+eEK2nK9SM/3VUeDfACdGvpU
pio7nRAol8OB4XLTvuVqvis=
=WpzE
-----END PGP SIGNATURE-----

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: strtoumax could not be located in...cygwin1.dll
  2005-07-12 18:31 Michael Watson
@ 2005-07-12 19:04 ` J. David Boyd
  2005-07-13 12:46 ` Eric Blake
  1 sibling, 0 replies; 11+ messages in thread
From: J. David Boyd @ 2005-07-12 19:04 UTC (permalink / raw)
  To: cygwin

Michael Watson <mike@mikeandgayle.com> writes:

> Hi there,
>
> i have just (7/12/2005) installed the latest (1.5.18) version of cygwin on
> my machine at work. this machine has not had cygwin installed before, but i
> personally have installed it many times on different machines without
> hassle.
>
>
> the machine is running windows XP, and when starting the cygwin bash shell,
> the error above is reported. i have checked the dll out with MS dependency
> walker, and cannot see that function listed in there, although dependency
> walker does indicate that:
>
> Warning: At least one module has an unresolved import due to a missing
> export function in a delay-load dependent module.
>
>
> has anyone else come across this issue? i would appreciate any suggestions
> on how to resolve this.
>
>
> thanks
>
> Mike


I had this problem on my home machine over the weekend.  I went into setup and
told it to re-install everything.

When I was done, it worked.

Certainly not an elegant solution, but I had the time to let it re-install
everything.

Dave


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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* strtoumax could not be located in...cygwin1.dll
@ 2005-07-12 18:31 Michael Watson
  2005-07-12 19:04 ` J. David Boyd
  2005-07-13 12:46 ` Eric Blake
  0 siblings, 2 replies; 11+ messages in thread
From: Michael Watson @ 2005-07-12 18:31 UTC (permalink / raw)
  To: cygwin


Hi there,

i have just (7/12/2005) installed the latest (1.5.18) version of cygwin on my
machine at work. this machine has not had cygwin installed before, but i
personally have installed it many times on different machines without hassle.


the machine is running windows XP, and when starting the cygwin bash shell, the
error above is reported. i have checked the dll out with MS dependency walker,
and cannot see that function listed in there, although dependency walker does
indicate that:

Warning: At least one module has an unresolved import due to a missing export
function in a delay-load dependent module.


has anyone else come across this issue? i would appreciate any suggestions on
how to resolve this.


thanks

Mike



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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-07-13 23:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-13 13:59 strtoumax could not be located in...cygwin1.dll Your Name
2005-07-13 14:32 ` Dave Korn
  -- strict thread matches above, loose matches on Subject: below --
2005-07-13 14:33 Eric Blake
2005-07-13 14:43 ` Michael David Watson
2005-07-13 15:12 ` Dave Korn
2005-07-13 15:19   ` Christopher Faylor
2005-07-13 15:30     ` Dave Korn
2005-07-13 23:34       ` Brian Dessent
2005-07-12 18:31 Michael Watson
2005-07-12 19:04 ` J. David Boyd
2005-07-13 12:46 ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).