Skip Menu |

This queue is for tickets about the Audio CPAN distribution.

Report information
The Basics
Id: 12958
Status: new
Priority: 0/
Queue: Audio

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.029
Fixed in: (no value)



Subject: Fails to compile
This module is just what I'm looking for, but... CPAN.pm: Going to build N/NI/NI-S/Audio-1.029.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Audio::Data Writing Makefile for Audio::Play::MSWin32 Testing for Network Audio Server (NAS) Cannot build Audio::Play::Net - NAS not present Writing Makefile for Audio::Play Writing Makefile for Audio Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp Tk/Scope.pm blib\lib\Tk\Scope.pm cp Audio_f.h ..\blib\arch\Audio\Audio_f.h cp Data/touchtone.star.au ..\blib\lib\Audio\Data\touchtone.star.au cp Data/touchtone.9.au ..\blib\lib\Audio\Data\touchtone.9.au cp typemap ..\blib\arch\Audio\typemap cp Audio.t ..\blib\arch\Audio\Audio.t cp Data/touchtone.0.au ..\blib\lib\Audio\Data\touchtone.0.au cp Data/touchtone.5.au ..\blib\lib\Audio\Data\touchtone.5.au cp Data/touchtone.3.au ..\blib\lib\Audio\Data\touchtone.3.au cp Audio.h ..\blib\arch\Audio\Audio.h cp Data/touchtone.1.au ..\blib\lib\Audio\Data\touchtone.1.au cp Data/touchtone.6.au ..\blib\lib\Audio\Data\touchtone.6.au cp Data/touchtone.4.au ..\blib\lib\Audio\Data\touchtone.4.au cp Data.pm ..\blib\lib\Audio\Data.pm AutoSplitting ..\blib\lib\Audio\Data.pm (..\blib\lib\auto\Audio\Data) cp Filter.pm ..\blib\lib\Audio\Filter.pm cp Data/touchtone.2.au ..\blib\lib\Audio\Data\touchtone.2.au cp Audio.m ..\blib\arch\Audio\Audio.m cp Data/touchtone.8.au ..\blib\lib\Audio\Data\touchtone.8.au cp Data/touchtone.7.au ..\blib\lib\Audio\Data\touchtone.7.au cp Data/touchtone.pound.au ..\blib\lib\Audio\Data\touchtone.pound.au cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -D USE_PERLIO -DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.029\" -DXS_V ERSION=\"1.029\" "-IC:\PhotoWebServer\Perl\lib\CORE" AudioIO.c AudioIO.c AudioIO.c(61) : warning C4244: 'initializing' : conversion from 'long ' to 'shor t ', possible loss of data AudioIO.c(75) : warning C4244: 'initializing' : conversion from 'long ' to 'char ', possible loss of data AudioIO.c(85) : warning C4244: 'initializing' : conversion from 'long ' to 'char ', possible loss of data AudioIO.c(101) : warning C4244: 'initializing' : conversion from '__int64 ' to ' long ', possible loss of data cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -D USE_PERLIO -DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.029\" -DXS_V ERSION=\"1.029\" "-IC:\PhotoWebServer\Perl\lib\CORE" Audio_f.c Audio_f.c C:\PhotoWebServer\Perl\bin\perl.exe C:\PhotoWebServer\Perl\lib\ExtUtils/ xsubpp -typemap C:\PhotoWebServer\Perl\lib\ExtUtils\typemap -typemap typemap D ata.xs > Data.xsc && C:\PhotoWebServer\Perl\bin\perl.exe -MExtUtils::Command -e mv Data.xsc Data.c cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -D USE_PERLIO -DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.029\" -DXS_V ERSION=\"1.029\" "-IC:\PhotoWebServer\Perl\lib\CORE" Data.c Data.c Data.xs(96) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data Data.xs(113) : warning C4244: '=' : conversion from 'double ' to 'float ', possi ble loss of data Data.xs(129) : warning C4244: '=' : conversion from 'double ' to 'float ', possi ble loss of data Data.xs(252) : warning C4244: 'function' : conversion from 'double ' to 'float ' , possible loss of data Data.c(447) : warning C4305: '=' : truncation from 'const double ' to 'float ' Data.c(480) : warning C4305: '=' : truncation from 'const double ' to 'float ' Data.c(518) : warning C4305: '=' : truncation from 'const double ' to 'float ' Data.xs(454) : warning C4244: 'initializing' : conversion from 'float ' to 'unsi gned long ', possible loss of data Data.xs(455) : warning C4244: 'initializing' : conversion from 'double ' to 'uns igned long ', possible loss of data Data.xs(474) : warning C4244: 'initializing' : conversion from 'float ' to 'unsi gned long ', possible loss of data Data.xs(475) : warning C4244: 'initializing' : conversion from 'double ' to 'uns igned long ', possible loss of data Data.xs(570) : warning C4244: '=' : conversion from 'double ' to 'float ', possi ble loss of data Data.xs(657) : warning C4244: 'initializing' : conversion from 'double ' to 'flo at ', possible loss of data Data.xs(701) : warning C4244: 'initializing' : conversion from 'double ' to 'flo at ', possible loss of data Data.xs(737) : warning C4244: 'initializing' : conversion from 'double ' to 'flo at ', possible loss of data Data.xs(767) : warning C4244: 'initializing' : conversion from 'double ' to 'flo at ', possible loss of data Data.xs(818) : warning C4244: '=' : conversion from 'double ' to 'float ', possi ble loss of data Data.xs(820) : warning C4244: '=' : conversion from 'double ' to 'float ', possi ble loss of data Data.xs(960) : warning C4244: 'initializing' : conversion from 'double ' to 'flo at ', possible loss of data Data.xs(969) : warning C4244: '=' : conversion from 'double ' to 'float ', possi ble loss of data cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -D USE_PERLIO -DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.029\" -DXS_V ERSION=\"1.029\" "-IC:\PhotoWebServer\Perl\lib\CORE" fft.c fft.c cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -D USE_PERLIO -DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.029\" -DXS_V ERSION=\"1.029\" "-IC:\PhotoWebServer\Perl\lib\CORE" l2u.c l2u.c l2u.c(580) : warning C4244: 'initializing' : conversion from 'long ' to 'float ' , possible loss of data l2u.c(590) : warning C4244: '=' : conversion from 'long ' to 'float ', possible loss of data l2u.c(592) : warning C4244: '=' : conversion from 'long ' to 'float ', possible loss of data l2u.c(617) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -D USE_PERLIO -DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1 -DVERSION=\"1.029\" -DXS_V ERSION=\"1.029\" "-IC:\PhotoWebServer\Perl\lib\CORE" rate.c rate.c rate.c(167) : warning C4244: 'initializing' : conversion from 'double ' to 'floa t ', possible loss of data rate.c(168) : warning C4244: 'initializing' : conversion from 'double ' to 'floa t ', possible loss of data rate.c(176) : warning C4244: '=' : conversion from 'double ' to 'float ', possib le loss of data rate.c(204) : warning C4244: 'initializing' : conversion from 'double ' to 'floa t ', possible loss of data rate.c(205) : warning C4244: 'initializing' : conversion from 'double ' to 'floa t ', possible loss of data rate.c(215) : warning C4244: '=' : conversion from 'double ' to 'float ', possib le loss of data Running Mkbootstrap for Audio::Data () C:\PhotoWebServer\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Dat a.bs C:\PhotoWebServer\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlis ts('NAME'=>\"Audio::Data\", 'DLBASE' => 'Data', 'DL_FUNCS' => { }, 'FUNCLIST' = Show quoted text
> [], 'IMPORTS' => { }, 'DL_VARS' => []);"
link -out:..\blib\arch\auto\Audio\Data\Data.dll -dll -nologo -nodefaultl ib -release -libpath:"C:\PhotoWebServer\Perl\lib\CORE" -machine:x86 AudioIO.ob j Audio_f.obj Data.obj fft.obj l2u.obj rate.obj C:\PhotoWebServer\Perl\li b\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib c omdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.l ib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:Data.def link: invalid option -- o Try `link --help' for more information. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop. C:\photowebserver\perl\bin\nmake.EXE -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
Subject: Re: [cpan #12958] Fails to compile
To: bug-Audio [...] rt.cpan.org
Date: Thu, 26 May 2005 21:45:07 +0100
From: Nick Ing-Simmons <nick [...] ing-simmons.net>
RT-Send-Cc:
via RT <bug-Audio@rt.cpan.org> writes: Show quoted text
>AudioIO.c >AudioIO.c(61) : warning C4244: 'initializing' : conversion from 'long ' to 'shor >t ', possible loss of data
Those are a bit messy... bu harmless I think. Show quoted text
> C:\PhotoWebServer\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlis >ts('NAME'=>\"Audio::Data\", 'DLBASE' => 'Data', 'DL_FUNCS' => { }, 'FUNCLIST' =
>> [], 'IMPORTS' => { }, 'DL_VARS' => []);"
> link -out:..\blib\arch\auto\Audio\Data\Data.dll -dll -nologo -nodefaultl >ib -release -libpath:"C:\PhotoWebServer\Perl\lib\CORE" -machine:x86 AudioIO.ob >j Audio_f.obj Data.obj fft.obj l2u.obj rate.obj C:\PhotoWebServer\Perl\li >b\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib c >omdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.l >ib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib > -def:Data.def >link: invalid option -- o >Try `link --help' for more information.
Can you run link --help and tell me what it says? The link command is built for me by MakeMaker, and assumes the same tool chain used to build perl. So which version of cl/link are you using, and did you build this perl with it yourself or is it (say) ActiveState's perl? Show quoted text
>NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' >Stop. >NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2' >Stop. > C:\photowebserver\perl\bin\nmake.EXE -- NOT OK >Running make test > Can't test without successful make >Running make install > make had returned bad status, install seems impossible