Touble with Win32-API-0.41

From: C McKay (cbm_at_gfxsp.com)
Date: 02/15/04

  • Next message: fishfry: "LWP memory leak?"
    Date: 15 Feb 2004 01:08:52 -0800
    
    

    Hi,

    I'm getting the following error durring build of Win32::API:

    Running Mkbootstrap for Win32::API::Callback ()
    chmod 644 Callback.bs
    rm -f ../blib/arch/auto/Win32/API/Callback/Callback.dll
    LD_RUN_PATH="" ld2 -s -L/usr/local/lib Callback.o -o
    ../blib/arch/auto/Win32/API/Callback/Callback.d
    ll /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a
    gcc -shared -o Callback.dll -Wl,--out-implib=libCallback.dll.a
    -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack
    ,8388608 \
    -s -L/usr/local/lib Callback.o
    /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a
    Creating library file: libCallback.dll.a
    Callback.o(.text+0x87b):Callback.c: undefined reference to `_itoa'
    Callback.o(.text+0xf87):Callback.c: undefined reference to `_itoa'
    collect2: ld returned 1 exit status
    perlld: *** system() failed to execute
    gcc -shared -o Callback.dll -Wl,--out-implib=libCallback.dll.a
    -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack
    ,8388608 \
    -s -L/usr/local/lib -L/lib/w32api -lntdll Callback.o
    /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a

    make[1]: *** [../blib/arch/auto/Win32/API/Callback/Callback.dll] Error
    1
    make[1]: Leaving directory
    `/home/Chad_McKay/.cpanplus/5.8.2/build/Win32-API-0.41/Callback'
    make: *** [subdirs] Error 2

    I've found some articles on other itoa issues that suggested linking
    in libntdll or libstdc++ but that's not working. I seem to have itoa
    defined in several headers (stdio.h in several places) but I can't
    find the acctual function. I'm installing to cygwin with gcc version
    3.3.1 (cygming special).

    thanks

    cbm


  • Next message: fishfry: "LWP memory leak?"