[rt.cpan.org #75506] Bug

[email protected] ("Michael Searle via RT")
Newsgroups perl.libwin32
Message-ID <[email protected]>
Sat Mar 03 10:14:32 2012: Request 75506 was acted upon.
Transaction: Ticket created by [email protected]
       Queue: Win32-Daemon
     Subject: Bug
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=75506 >


When trying to install on Strawberry Perl 5 version 14, subversion 2 (v5.14.2) built for MSWin32-x64-multi-thread via CPAN I get the following errors

Daemon.o:Daemon.cpp:(.text+0x6dc1): undefined reference to `_imp__Perl_sv_newmor
tal'
Daemon.o:Daemon.cpp:(.text+0x6ee9): undefined reference to `_imp__Perl_sv_2iv_fl
ags'
Daemon.o:Daemon.cpp:(.text+0x6f4b): undefined reference to `_imp__Perl_croak_noc
ontext'
Daemon.o:Daemon.cpp:(.text+0x720d): undefined reference to `_imp__Perl_xs_apiver
sion_bootcheck'
Daemon.o:Daemon.cpp:(.text+0x723e): undefined reference to `_imp__Perl_xs_versio
n_bootcheck'
Daemon.o:Daemon.cpp:(.text+0x725f): undefined reference to `_imp__Perl_newXS'
Daemon.o:Daemon.cpp:(.text+0x751a): undefined reference to `_imp__Perl_call_list
'
collect2: ld returned 1 exit status
dmake.EXE:  Error code 129, while making 'blib\arch\auto\Win32\Daemon\Daemon.dll
'
  JDB/Win32-Daemon-20110117.tar.gz
  C:\strawberry\c\bin\dmake.EXE -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

If I do a manual install (download tarball) unpack and perl Makefile.PL then dmake I get the below:

Running Mkbootstrap for Win32::Daemon ()
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Daemon.bs
dlltool --def Daemon.def --output-exp dll.exp
g++ -o blib\arch\auto\Win32\Daemon\Daemon.dll -Wl,--base-file -Wl,dll.base -mdll
-s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" CCallbackList.o CCal
lbackTimer.o Constant.o CWinStation.o Daemon.o ServiceThread.o   C:\strawberry\p
erl\lib\CORE\libperl514.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lco
mdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr
-lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
g++: error: Constant.o: No such file or directory
dmake.exe:  Error code 1, while making 'blib\arch\auto\Win32\Daemon\Daemon.dll'

The file Constant.o is missing

Regards

Mike
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.