Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Help! dmake error Win10

by Sanjay (Sexton)
on Jun 10, 2021 at 12:15 UTC ( #11133726=perlquestion: print w/replies, xml ) Need Help??

Sanjay has asked for the wisdom of the Perl Monks concerning the following question:

dmake error while trying to install a module. Windows 10 Home. ActiveState Perl 5.26. Screen ...

C:\ids\nm3\perl\ssan3-2.6.01>perl Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for ssan3 Writing MYMETA.yml and MYMETA.json C:\ids\nm3\perl\ssan3-2.6.01>dmake cp blib\lib\ AutoSplitting blib\lib\ (blib\lib\auto\ssan3) Running Mkbootstrap for ssan3 () "C:\Perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "" "C:\Perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- ssan3 blib\arch\auto\ssan3\ 644 "C:\Perl\bin\perl.exe" "C:\Perl\lib\ExtUtils\xsubpp" -typemap C:\Perl +\lib\ExtUtils\typemap ssan3.xs > ssan3.xsc "C:\Perl\bin\perl.exe" -MExtUtils::Command -e mv -- ssan3.xsc ssan3.c C:\Perl\site\bin\gcc.exe -c -IC:\ids\nm3/h -s -O2 -DWIN32 -DWIN64 + -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IM +PLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms- +bitfields -s -O2 -DVERSION=\"2.6.01\" -DXS_VERSION=\"2.6. +01\" "-IC:\Perl\lib\CORE" ssan3.c "C:\Perl\bin\perl.exe" -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"ssan3\", 'DLBASE' => 'ssan3', 'DL_FUNCS' + => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" C:\Perl\site\bin\g++.exe ssan3.def -o blib\arch\auto\ssan3\ssan3.dll - +mdll -s -static-libgcc -static-libstdc++ -L"C:\Perl\lib\CORE" -L"C:\M +inGW\x86_64-w64-mingw32\lib" ssan3.o "C:\Perl\lib\CORE\libperl526.a +" "C:\ids\nm3\lib\stssan3cl.lib" "-lmoldname" "-lkernel32" "-luser32" + "-lgdi32" "-lwinspool" "-lcomdlg32" "-ladvapi32" "-lshell32" "-lole3 +2" "-loleaut32" "-lnetapi32" "-luuid" "-lws2_32" "-lmpr" "-lwinmm" "- +lversion" "-lodbc32" "-lodbccp32" "-lcomctl32" -Wl,--enable-auto-imag +e-base ssan3.o:ssan3.c:(.text+0x263): undefined reference to `ezx113' ssan3.o:ssan3.c:(.text+0x95f): undefined reference to `ezx112' ssan3.o:ssan3.c:(.text+0x1003): undefined reference to `ezx111' ssan3.o:ssan3.c:(.text+0x1482): undefined reference to `ezx110' ssan3.o:ssan3.c:(.text+0x1984): undefined reference to `ezx108' ssan3.o:ssan3.c:(.text+0x2001): undefined reference to `ezx107' ssan3.o:ssan3.c:(.text+0x2533): undefined reference to `ezx105' ssan3.o:ssan3.c:(.text+0x29f2): undefined reference to `ezx104' ssan3.o:ssan3.c:(.text+0x2f00): undefined reference to `ezx103' ssan3.o:ssan3.c:(.text+0x33ed): undefined reference to `ezx102' ssan3.o:ssan3.c:(.text+0x3a1c): undefined reference to `ezx101' ssan3.o:ssan3.c:(.text+0x3fe3): undefined reference to `ezx100' ssan3.o:ssan3.c:(.text+0x4460): undefined reference to `ezx099' ssan3.o:ssan3.c:(.text+0x4c59): undefined reference to `ezx005' ssan3.o:ssan3.c:(.text+0x54f0): undefined reference to `ezx026' ssan3.o:ssan3.c:(.text+0x5b78): undefined reference to `ezx061' ssan3.o:ssan3.c:(.text+0x60c7): undefined reference to `ezx060' ssan3.o:ssan3.c:(.text+0x66b3): undefined reference to `ezx022' ssan3.o:ssan3.c:(.text+0x6c23): undefined reference to `ezx021' ssan3.o:ssan3.c:(.text+0x6f9a): undefined reference to `ezx002' ssan3.o:ssan3.c:(.text+0x716b): undefined reference to `ezx001' ssan3.o:ssan3.c:(.text+0x75d9): undefined reference to `ezx109' ssan3.o:ssan3.c:(.text+0x7b4d): undefined reference to `ezx106' ssan3.o:ssan3.c:(.text+0x8340): undefined reference to `ezx004' ssan3.o:ssan3.c:(.text+0x8b93): undefined reference to `ezx025' ssan3.o:ssan3.c:(.text+0x9450): undefined reference to `ezx003' ssan3.o:ssan3.c:(.text+0x9ca2): undefined reference to `ezx024' ssan3.o:ssan3.c:(.text+0xa44b): undefined reference to `ezx023' c:/perl/site/lib/auto/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/.. +/../../../x86_64-w64-mingw32/bin/ld.exe: ssan3.o: bad reloc address 0 +xae0 in section `.rdata' collect2: ld returned 1 exit status dmake.exe: Error code 129, while making 'blib\arch\auto\ssan3\ssan3.d +ll' C:\ids\nm3\perl\ssan3-2.6.01>

Replies are listed 'Best First'.
Re: Help! dmake error Win10
by Corion (Pope) on Jun 10, 2021 at 12:20 UTC

    The error message is:

    undefined reference to `ezx113'

    Your next step is to identify what C library should export that symbol, and then you will need to make that library export that symbol.

Re: Help! dmake error Win10
by Fletch (Chancellor) on Jun 10, 2021 at 15:07 UTC

    Unrelated to your missing library problem which others have addressed, but module names with all lower case names are traditionally reserved for use by perl itself as runtime "pragmas" affecting various behaviors (e.g. strict, feature). If this is something you're developing something like SSAN3 or Ssan3 (depending on how whatever acronym is usually used / expanded) might be a better name. Also were you ever to try and submit this to CPAN I believe you'd at least get pushback on the all lower name (I think there are a few exceptions, but certainly so few that specific examples are escaping me at the moment).

    Edit: going by other replies this apparently is a commercial product that's made a poor naming decision . . .

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

Re: Help! dmake error Win10
by Anonymous Monk on Jun 10, 2021 at 12:20 UTC
    What is "ssan3"??

      Good question. If my hunch is correct, this could be a client library for SSA-NAME3, a thing that collates information about people. So, stuff that is used by advertisers, law enforcement and the like.

      perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'
        Correct - It is from the Name3 software (NM3) of a company previously known as Search Software America (SSA)
        Google "ssan3-2.6.01" no results found.
Re: Help! dmake error Win10
by Sanjay (Sexton) on Jun 14, 2021 at 20:55 UTC
    A possibility is that only 32 bit Perl works as the software version I am using is very old. So will now try to get a spare Windows machine, load 32 bit Perl & see if it works. If this approach is doomed, please let me know.
      If this approach is doomed, please let me know

      Worth a try ... though I would have thought that, if the library was incompatible, then there would be some output from the build process mentioning that incompatibility.

      Also, you could install one of the "portable" 32-bit Strawberry Perl builds (eg on the same machine - and thereby avoid the need to find another machine.
      The recent Strawberry Perl builds use "gmake" (which they provide) instead of "dmake".

        Using 32 bit perl worked.
Re: Help! dmake error Win10
by Anonymous Monk on Jun 14, 2021 at 23:10 UTC
    What is the content of the actual file which determines the behavior on this particular computer? From this, what is the actual library search path??
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11133726]
Approved by marto
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2021-09-16 22:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found