Subject: | Compile questions make no sense on Win32, and warnings |
A couple of Win32 issues.
Firstly, the compile questions have crap defaults, and probably
shouldn't even be questions.
Secondly, I got some warnings.
See attached output from compile/test.
Subject: | data_uuid_stdout.txt |
C:\vanilla-perl\installers\Data-UUID-0.12_01>perl Makefile.PL
Checking if your kit is complete...
Looks good
UUID state storage [/var/tmp] C:\\WINNT\Temp
default umask [0007]
Note (probably harmless): No library found for -lsocket
Writing Makefile for Data::UUID
C:\vanilla-perl\installers\Data-UUID-0.12_01>dmake
cp UUID.pm blib\lib\Data\UUID.pm
AutoSplitting blib\lib\Data\UUID.pm (blib\lib\auto\Data\UUID)
C:\vanilla-perl\perl\bin\perl.exe C:\vanilla-perl\perl\lib\ExtUtils\xsubpp -typ
emap C:\vanilla-perl\perl\lib\ExtUtils\typemap -typemap typemap UUID.xs > UUID.
xsc && C:\vanilla-perl\perl\bin\perl.exe -MExtUtils::Command -e mv UUID.xsc UUID
.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_
IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.
12_01\" -DXS_VERSION=\"0.12_01\" "-IC:\vanilla-perl\perl\lib\CORE" -D_
STDIR=\"C:\\WINNT\Temp\" -D__MSWin32__ -D_DEFAULT_UMASK=0007 UUID.c
UUID.xs:262:45: warning: unknown escape sequence '\T'
UUID.xs:268:46: warning: unknown escape sequence '\T'
UUID.xs:279:49: warning: unknown escape sequence '\T'
UUID.xs:318:47: warning: unknown escape sequence '\T'
UUID.xs:462:45: warning: unknown escape sequence '\T'
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_
IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.
12_01\" -DXS_VERSION=\"0.12_01\" "-IC:\vanilla-perl\perl\lib\CORE" -D_
STDIR=\"C:\\WINNT\Temp\" -D__MSWin32__ -D_DEFAULT_UMASK=0007 md5.c
Running Mkbootstrap for Data::UUID ()
C:\vanilla-perl\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 UUID.bs
C:\vanilla-perl\perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Data::UUID\", 'DLBASE' => 'UUID', 'DL_FUNCS' => {
}, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def UUID.def --output-exp dll.exp
g++ -o blib\arch\auto\Data\UUID\UUID.dll -Wl,--base-file -Wl,dll.base -mdll -s -
L"c:\vanilla-perl\perl\lib\CORE" -L"C:\vanilla-perl\MinGW\lib" UUID.o md5.o -W
l,--image-base,0x7b310000 C:\vanilla-perl\perl\lib\CORE\libperl58.a C:\vanilla-
perl\MinGW\lib\libmsvcrt.a C:\vanilla-perl\MinGW\lib\libmoldname.a C:\vanilla-pe
rl\MinGW\lib\libkernel32.a C:\vanilla-perl\MinGW\lib\libuser32.a C:\vanilla-perl
\MinGW\lib\libgdi32.a C:\vanilla-perl\MinGW\lib\libwinspool.a C:\vanilla-perl\Mi
nGW\lib\libcomdlg32.a C:\vanilla-perl\MinGW\lib\libadvapi32.a C:\vanilla-perl\Mi
nGW\lib\libshell32.a C:\vanilla-perl\MinGW\lib\libole32.a C:\vanilla-perl\MinGW\
lib\liboleaut32.a C:\vanilla-perl\MinGW\lib\libnetapi32.a C:\vanilla-perl\MinGW\
lib\libuuid.a C:\vanilla-perl\MinGW\lib\libws2_32.a C:\vanilla-perl\MinGW\lib\li
bmpr.a C:\vanilla-perl\MinGW\lib\libwinmm.a C:\vanilla-perl\MinGW\lib\libversion
.a C:\vanilla-perl\MinGW\lib\libodbc32.a C:\vanilla-perl\MinGW\lib\libodbccp32.a
dll.exp
dlltool --def UUID.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Data\UUID\UUID.dll -mdll -s -L"c:\vanilla-perl\perl\lib\CO
RE" -L"C:\vanilla-perl\MinGW\lib" UUID.o md5.o -Wl,--image-base,0x7b31000
0 C:\vanilla-perl\perl\lib\CORE\libperl58.a C:\vanilla-perl\MinGW\lib\libmsvcrt
.a C:\vanilla-perl\MinGW\lib\libmoldname.a C:\vanilla-perl\MinGW\lib\libkernel32
.a C:\vanilla-perl\MinGW\lib\libuser32.a C:\vanilla-perl\MinGW\lib\libgdi32.a C:
\vanilla-perl\MinGW\lib\libwinspool.a C:\vanilla-perl\MinGW\lib\libcomdlg32.a C:
\vanilla-perl\MinGW\lib\libadvapi32.a C:\vanilla-perl\MinGW\lib\libshell32.a C:\
vanilla-perl\MinGW\lib\libole32.a C:\vanilla-perl\MinGW\lib\liboleaut32.a C:\van
illa-perl\MinGW\lib\libnetapi32.a C:\vanilla-perl\MinGW\lib\libuuid.a C:\vanilla
-perl\MinGW\lib\libws2_32.a C:\vanilla-perl\MinGW\lib\libmpr.a C:\vanilla-perl\M
inGW\lib\libwinmm.a C:\vanilla-perl\MinGW\lib\libversion.a C:\vanilla-perl\MinGW
\lib\libodbc32.a C:\vanilla-perl\MinGW\lib\libodbccp32.a dll.exp
C:\vanilla-perl\perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\aut
o\Data\UUID\UUID.dll
C:\vanilla-perl\perl\bin\perl.exe -MExtUtils::Command -e cp UUID.bs blib\arch\au
to\Data\UUID\UUID.bs
C:\vanilla-perl\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\aut
o\Data\UUID\UUID.bs
C:\vanilla-perl\installers\Data-UUID-0.12_01>dmake test
C:\vanilla-perl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0
, 'blib\lib', 'blib\arch')" t/*.t
t/basic....ok
All tests successful.
Files=1, Tests=11, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
C:\vanilla-perl\installers\Data-UUID-0.12_01>