Oh and under cygwin my colleague gets the following results, note its a different error.
CPAN.pm: Going to build R/RO/ROBIN/Algorithm-FastPermute-0.03.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Algorithm::FastPermute cp FastPermute.pm blib/lib/Algorithm/FastPermute.pm cp perms.pl blib/lib/Algorithm/perms.pl /usr/bin/perl -I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6 +.1 /usr/li b/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/ +typemap Fa stPermute.xs > FastPermute.xsc && mv FastPermute.xsc FastPermute.c gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/inclu +de -DUSEIM PORTLIB -pg -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -I/usr/lib/per +l5/5.6.1/c ygwin-multi/CORE FastPermute.c Running Mkbootstrap for Algorithm::FastPermute () chmod 644 FastPermute.bs rm -f blib/arch/auto/Algorithm/FastPermute/FastPermute.dll LD_RUN_PATH="" ld2 -s -L/usr/local/lib FastPermute.o -o blib/arch/au +to/Algorit hm/FastPermute/FastPermute.dll /usr/lib/perl5/5.6.1/cygwin-multi/CORE +/libperl5_ 6_1.a dllwrap --dllname FastPermute.dll --driver-name gcc --dlltool dlltool +--export-a ll-symbols --as as --output-def libFastPermute.def --output-lib libFas +tPermute.a \ -s -L/usr/local/lib FastPermute.o /usr/lib/perl5/5.6.1/cygwin-multi/C +ORE/libper l5_6_1.a dllwrap: no export definition file provided dllwrap: creating one, but that may not be what you want FastPermute.o(.text+0x11):FastPermute.c: undefined reference to `mcoun +t' FastPermute.o(.text+0x252):FastPermute.c: undefined reference to `mcou +nt' FastPermute.o(.text+0xdef):FastPermute.c: undefined reference to `mcou +nt' collect2: ld returned 1 exit status dllwrap: gcc exited with status 1 perlld: *** system() failed to execute dllwrap --dllname FastPermute.dll --driver-name gcc --dlltool dlltool +--export-a ll-symbols --as as --output-def libFastPermute.def --output-lib libFas +tPermute.a \ -s -L/usr/local/lib FastPermute.o /usr/lib/perl5/5.6.1/cygwin-multi/C +ORE/libper l5_6_1.a make: *** [blib/arch/auto/Algorithm/FastPermute/FastPermute.dll] Error + 1 /cygdrive/d/cygwin/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible mdupont@PI{~} #perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuratio +n: Platform: osname=cygwin, osvers=1.3.2(0.3932), archname=cygwin-multi uname='cygwin_nt-4.0 loreley 1.3.2(0.3932) 2001-05-20 23:28 i686 u +nknown ' config_args='-de -Dusemultiplicity' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultipl +icity=def ne useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I +/usr/loca /include', optimize='-O2', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local +/include' ccversion='', gccversion='2.95.3-5 (cygwin special)', gccosandvers +='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +2 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', + lseeksiz =4 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -lcrypt perllibs=-lcrypt libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl5_6_ +1.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_LARGE_FILES PERL_IMPLICIT_CON +TEXT Built under cygwin Compiled at Aug 22 2001 01:05:05 @INC: /usr/lib/perl5/5.6.1/cygwin-multi /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/cygwin-multi /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl

Yves / DeMerphq
--
When to use Prototypes?
Advanced Sorting - GRT - Guttman Rosler Transform


In reply to Re: Building Algorithm::FastPermute under AS by demerphq
in thread Building Algorithm::FastPermute under AS by demerphq

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.