Mail Archives: cygwin/2005/02/10/15:14:20
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/
- Raw text -