Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <420BC080.4020300@tlinx.org> Date: Thu, 10 Feb 2005 12:13:52 -0800 From: linda w User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: "Gerrit P. Haase" Subject: Re: perl & Win32 lib support References: <4208270D DOT 4080801 AT tlinx DOT org> <20050208063149 DOT GB3096 AT efn DOT org> <42091B63 DOT 1080908 AT tlinx DOT org> <20050208234325 DOT GA2944 AT efn DOT org> <420AAF5E DOT 1030506 AT tlinx DOT org> <420AB5EC DOT 1070904 AT familiehaase DOT de> In-Reply-To: <420AB5EC.1070904@familiehaase.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Gerrit P. Haase wrote: > This is annoying, I get it occasionally, I believe it is a bug in > MakeMaker, but I couldn't find it yet. Does the build continue if you > add the missing tab and run make again? === Think I got past that point, -- have it building in win32 again and running a make manually after fixing that makefile gets me: /share/cpan/build-cygwin/libwin32-0.191> make make[1]: Entering directory `//ishtar/share/cpan/build-cygwin/libwin32-0.191/APIFile' cp cFile.pc ../blib/arch/Win32API/File/cFile.pc cp File.pm ../blib/lib/Win32API/File.pm /usr/bin/perl.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8/ExtUtils/typemap -typemap typemap File.xs > File.xsc && mv File.xsc File.c gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"0.09\" -DXS_VERSION=\"0.09\" "-I/usr/lib/perl5/5.8/cygwin/CORE" File.c File.c: In function `XS_Win32API__File_CloseHandle': File.c:121: warning: cast to pointer from integer of different size File.c: In function `XS_Win32API__File_CreateFileA': File.c:253: warning: cast to pointer from integer of different size File.xs:132: warning: cast from pointer to integer of different size File.xs:133: warning: cast from pointer to integer of different size File.xs:135: warning: cast from pointer to integer of different size File.c: In function `XS_Win32API__File_CreateFileW': File.c:306: warning: cast to pointer from integer of different size File.xs:156: warning: cast from pointer to integer of different size File.xs:157: warning: cast from pointer to integer of different size File.xs:159: warning: cast from pointer to integer of different size File.c: In function `XS_Win32API__File_DeviceIoControl': File.c:484: warning: cast to pointer from integer of different size File.c: In function `XS_Win32API__File_FdGetOsFHandle': File.c:547: warning: cast from pointer to integer of different size File.c: In function `XS_Win32API__File_GetFileType': File.c:614: warning: cast to pointer from integer of different size File.c: In function `XS_Win32API__File_GetHandleInformation': File.c:638: warning: cast to pointer from integer of different size File.c: In function `XS_Win32API__File_ReadFile': File.c:1170: warning: cast to pointer from integer of different size File.c: In function `XS_Win32API__File_SetFilePointer': File.c:1238: warning: cast to pointer from integer of different size File.c: In function `XS_Win32API__File_SetHandleInformation': File.c:1278: warning: cast to pointer from integer of different size File.c: In function `XS_Win32API__File_WriteFile': File.c:1314: warning: cast to pointer from integer of different size Running Mkbootstrap for Win32API::File () chmod 644 File.bs rm -f ../blib/arch/auto/Win32API/File/File.dll LD_RUN_PATH="" ld2 -s -L/usr/local/lib File.o -o ../blib/arch/auto/Win32API/File/File.dll /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a gcc -shared -o File.dll -Wl,--out-implib=libFile.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \ -s -L/usr/local/lib File.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a Creating library file: libFile.dll.a File.o(.text+0x7450):File.c: undefined reference to `_win32_get_osfhandle' File.o(.text+0x13b79):File.c: undefined reference to `_win32_open_osfhandle' collect2: ld returned 1 exit status perlld: *** system() failed to execute gcc -shared -o File.dll -Wl,--out-implib=libFile.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \ -s -L/usr/local/lib File.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a make[1]: *** [../blib/arch/auto/Win32API/File/File.dll] Error 1 make[1]: Leaving directory `//ishtar/share/cpan/build-cygwin/libwin32-0.191/APIFile' make: *** [subdirs] Error 2 -- 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/