Is there any brave soul who has successfully used
Inline-0.43 on cygwin 1.3.2 with gcc 2.95.3-5. Or am I
on too much bleeding edge technology.

I really want to use Inline::CPP to build a test api
for my C++ library.

I had downloaded perl5.6.1 binary from
cygwin.redhat.com. When I started getting these
errors, I downloaded source from redhat for perl5.6.1
and then compiled it, but had the same sad result.

Any help is greatly appreciated.

Regards
Paresh


Summary of my perl5 (revision 5.0 version 6 subversion
1) configuration:
  Platform:
    osname=cygwin, osvers=1.3.2(0.3932),
archname=cygwin
    uname='cygwin_nt-5.0 mparesh 1.3.2(0.3932)
2001-05-20 23:28 i686 unknown '
    config_args='-d'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef
useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
usesocks=undef
    use64bitint=undef use64bitall=undef
uselongdouble=undef
  Compiler:
    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV
-DHAS_SBRK_PROTO -fno-strict-aliasing',
    optimize='-O2',
    cppflags='-DPERL_USE_SAFE_PUTENV -DHAS_SBRK_PROTO
-fno-strict-aliasing'
    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=12
    ivtype='long', ivsize=4, nvtype='double',
nvsize=8, Off_t='off_t', lseeksize=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: USE_LARGE_FILES
  Locally applied patches:
        v5.6.1-TRIAL1
  Built under cygwin
  Compiled at Aug 19 2001 14:41:42
  %ENV:
    PERL5LIB="c:/logins/paresh/twiki/bin"
  @INC:
    c
    /logins/paresh/twiki/bin
    /usr/local/lib/perl5/5.6.1/cygwin
    /usr/local/lib/perl5/5.6.1
    /usr/local/lib/perl5/site_perl/5.6.1/cygwin
    /usr/local/lib/perl5/site_perl/5.6.1
    /usr/local/lib/perl5/site_perl
    .
make[1]: Entering directory
`/cygdrive/c/logins/paresh/perl/pm/Inline-0.43/C'
make[2]: Entering directory
`/cygdrive/c/logins/paresh/perl/pm/Inline-0.43/C/grammar'
make[2]: Leaving directory
`/cygdrive/c/logins/paresh/perl/pm/Inline-0.43/C/grammar'
make[1]: Leaving directory
`/cygdrive/c/logins/paresh/perl/pm/Inline-0.43/C'
make[1]: Entering directory
`/cygdrive/c/logins/paresh/perl/pm/Inline-0.43/MakeMaker'
make[1]: Leaving directory
`/cygdrive/c/logins/paresh/perl/pm/Inline-0.43/MakeMaker'
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch
-Iblib/lib -I/usr/local/lib/perl5/5.6.1/cygwin
-I/usr/local/lib/perl5/5.6.1 -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/00init............ok
t/01usages..........Use of uninitialized value in
concatenation (.) or string at blib/lib/Inline.pm
        (autosplit into blib/lib/auto/Inline/check_module.al)
line 775 (#1)
    (W uninitialized) An undefined value was used as
if it were already
    defined.  It was interpreted as a "" or a 0, but
maybe it was a mistake.
    To suppress this warning assign a defined value to
your variables.
    
    To help you figure out what was undefined, perl
tells you what operation
    you used the undefined value in.  Note, however,
that perl optimizes your
    program and the operation displayed in the warning
may not necessarily
    appear literally in your program.  For example,
"that $foo" is
    usually optimized into "that " . $foo, and the
warning will refer to
    the concatenation (.) operator, even though there
is no . in your
    program.
    
Use of uninitialized value in concatenation (.) or
string at blib/lib/Inline.pm
        line 244 (#1)
Uncaught exception from user code:
        Uncaught exception from user code:
        An eval() failed in Inline::glue:
Uncaught exception from user code:
        Can't locate     Foo : foo
 in @INC (@INC contains:
/cygdrive/c/logins/paresh/perl/pm/Inline-0.43/_Inline_test/lib
./blib/lib . blib/arch blib/lib
/usr/local/lib/perl5/5.6.1/cygwin
/usr/local/lib/perl5/5.6.1 c /logins/paresh/twiki/bin
/usr/local/lib/perl5/site_perl/5.6.1/cygwin
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl) at (eval 3) line 2.
        eval 'require 
;' called at blib/lib/Inline.pm line 244
        Inline::glue('Inline=HASH(0xa28cf14)') called at
blib/lib/Inline.pm line 133
        Inline::import('Inline', 'Foo', './t/file') called at
t/01usages.t line 18
        main::BEGIN() called at     Foo : foo
 line 0
        eval {...} called at     Foo : foo
 line 0


 at t/01usages.t line 18
        Carp::croak('An eval() failed in
Inline::glue:^JUncaught exception from user c...')
called at blib/lib/Inline.pm line 245
        Inline::glue('Inline=HASH(0xa28cf14)') called at
blib/lib/Inline.pm line 133
        Inline::import('Inline', 'Foo', './t/file') called at
t/01usages.t line 18
        main::BEGIN() called at t/01usages.t line 18
        eval {...} called at t/01usages.t line 18
BEGIN failed--compilation aborted at t/01usages.t line
18.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay
t/02config..........Use of uninitialized value in
concatenation (.) or string at blib/lib/Inline.pm
        (autosplit into blib/lib/auto/Inline/check_module.al)
line 775 (#1)
    (W uninitialized) An undefined value was used as
if it were already
    defined.  It was interpreted as a "" or a 0, but
maybe it was a mistake.
    To suppress this warning assign a defined value to
your variables.
    
    To help you figure out what was undefined, perl
tells you what operation
    you used the undefined value in.  Note, however,
that perl optimizes your
    program and the operation displayed in the warning
may not necessarily
    appear literally in your program.  For example,
"that $foo" is
    usually optimized into "that " . $foo, and the
warning will refer to
    the concatenation (.) operator, even though there
is no . in your
    program.
    
Use of uninitialized value in concatenation (.) or
string at blib/lib/Inline.pm
        line 244 (#1)
Uncaught exception from user code:
        Uncaught exception from user code:
        An eval() failed in Inline::glue:
Uncaught exception from user code:
        Can't locate     Foo : foo
 in @INC (@INC contains:
/cygdrive/c/logins/paresh/perl/pm/Inline-0.43/_Inline_test/lib
./blib/lib . blib/arch blib/lib
/usr/local/lib/perl5/5.6.1/cygwin
/usr/local/lib/perl5/5.6.1 c /logins/paresh/twiki/bin
/usr/local/lib/perl5/site_perl/5.6.1/cygwin
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl) at (eval 3) line 2.
        eval 'require 
;' called at blib/lib/Inline.pm line 244
        Inline::glue('Inline=HASH(0xa28cb34)') called at
blib/lib/Inline.pm line 133
        Inline::import('Inline', 'Foo', 'foo-sub test1 {^J   
bar-return $_[0] bar-eq \'test1\';^J}^J', 'ENABLE',
'BAR') called at t/02config.t line 17
        main::BEGIN() called at     Foo : foo
 line 0
        eval {...} called at     Foo : foo
 line 0


 at t/02config.t line 17
        Carp::croak('An eval() failed in
Inline::glue:^JUncaught exception from user c...')
called at blib/lib/Inline.pm line 245
        Inline::glue('Inline=HASH(0xa28cb34)') called at
blib/lib/Inline.pm line 133
        Inline::import('Inline', 'Foo', 'foo-sub test1 {^J   
bar-return $_[0] bar-eq \'test1\';^J}^J', 'ENABLE',
'BAR') called at t/02config.t line 17
        main::BEGIN() called at t/02config.t line 21
        eval {...} called at t/02config.t line 21
BEGIN failed--compilation aborted at t/02config.t line
21.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
t/03errors..........Use of uninitialized value in
concatenation (.) or string at blib/lib/Inline.pm
        (autosplit into blib/lib/auto/Inline/check_module.al)
line 775 (#1)
    (W uninitialized) An undefined value was used as
if it were already
    defined.  It was interpreted as a "" or a 0, but
maybe it was a mistake.
    To suppress this warning assign a defined value to
your variables.
    
    To help you figure out what was undefined, perl
tells you what operation
    you used the undefined value in.  Note, however,
that perl optimizes your
    program and the operation displayed in the warning
may not necessarily
    appear literally in your program.  For example,
"that $foo" is
    usually optimized into "that " . $foo, and the
warning will refer to
    the concatenation (.) operator, even though there
is no . in your
    program.
    
Use of uninitialized value in concatenation (.) or
string at blib/lib/Inline.pm
        line 244 (#1)
Uncaught exception from user code:
        Uncaught exception from user code:
        Undefined subroutine &Inline::Foo::usage_config
called at t/03errors.t line 41.
        main::BEGIN() called at t/03errors.t line 42
        eval {...} called at t/03errors.t line 42
BEGIN failed--compilation aborted at t/03errors.t line
42.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 3
        Failed 1/3 tests, 66.67% okay
t/04create..........Use of uninitialized value in
concatenation (.) or string at blib/lib/Inline.pm
        (autosplit into blib/lib/auto/Inline/check_module.al)
line 775 (#1)
    (W uninitialized) An undefined value was used as
if it were already
    defined.  It was interpreted as a "" or a 0, but
maybe it was a mistake.
    To suppress this warning assign a defined value to
your variables.
    
    To help you figure out what was undefined, perl
tells you what operation
    you used the undefined value in.  Note, however,
that perl optimizes your
    program and the operation displayed in the warning
may not necessarily
    appear literally in your program.  For example,
"that $foo" is
    usually optimized into "that " . $foo, and the
warning will refer to
    the concatenation (.) operator, even though there
is no . in your
    program.
    
Use of uninitialized value in concatenation (.) or
string at blib/lib/Inline.pm
        line 244 (#1)

Uncaught exception from user code:
        An eval() failed in Inline::glue:
Uncaught exception from user code:
        Can't locate     Foo : foo
 in @INC (@INC contains:
/cygdrive/c/logins/paresh/perl/pm/Inline-0.43/_Inline/lib
./blib/lib . blib/arch blib/lib
/usr/local/lib/perl5/5.6.1/cygwin
/usr/local/lib/perl5/5.6.1 c /logins/paresh/twiki/bin
/usr/local/lib/perl5/site_perl/5.6.1/cygwin
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl) at (eval 3) line 2.
        eval 'require 
;' called at blib/lib/Inline.pm line 244
        Inline::glue('Inline=HASH(0xa297a68)') called at
blib/lib/Inline.pm line 194
        Inline::init called at (eval 2) line 5
        Inline::INIT() called at     Foo : foo
 line 0
        eval {...} called at     Foo : foo
 line 0


 at t/04create.t line 0
        Carp::croak('An eval() failed in
Inline::glue:^JUncaught exception from user c...')
called at blib/lib/Inline.pm line 245
        Inline::glue('Inline=HASH(0xa297a68)') called at
blib/lib/Inline.pm line 194
        Inline::init called at (eval 2) line 5
        Inline::INIT() called at t/04create.t line 0
        eval {...} called at t/04create.t line 0
INIT failed--call queue aborted (#2)
    (F) An untrapped exception was raised while
executing a CHECK, INIT, or
    END subroutine.  Processing of the remainder of
the queue of such
    routines has been prematurely ended.
    
Uncaught exception from user code:
        Uncaught exception from user code:
        An eval() failed in Inline::glue:
Uncaught exception from user code:
        Can't locate     Foo : foo
 in @INC (@INC contains:
/cygdrive/c/logins/paresh/perl/pm/Inline-0.43/_Inline/lib
./blib/lib . blib/arch blib/lib
/usr/local/lib/perl5/5.6.1/cygwin
/usr/local/lib/perl5/5.6.1 c /logins/paresh/twiki/bin
/usr/local/lib/perl5/site_perl/5.6.1/cygwin
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl) at (eval 3) line 2.
        eval 'require 
;' called at blib/lib/Inline.pm line 244
        Inline::glue('Inline=HASH(0xa297a68)') called at
blib/lib/Inline.pm line 194
        Inline::init called at (eval 2) line 5
        Inline::INIT() called at     Foo : foo
 line 0
        eval {...} called at     Foo : foo
 line 0


 at t/04create.t line 0
        Carp::croak('An eval() failed in
Inline::glue:^JUncaught exception from user c...')
called at blib/lib/Inline.pm line 245
        Inline::glue('Inline=HASH(0xa297a68)') called at
blib/lib/Inline.pm line 194
        Inline::init called at (eval 2) line 5
        Inline::INIT() called at t/04create.t line 0
        eval {...} called at t/04create.t line 0
INIT failed--call queue aborted.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
t/05files...........skipped test on this platform
Failed Test  Status Wstat Total Fail  Failed  List of
Failed
--------------------------------------------------------------------------------
t/01usages.t     255 65280     7    7 100.00%  1-7
t/02config.t     255 65280     2    2 100.00%  1-2
t/03errors.t     255 65280     3    1  33.33%  3
t/04create.t     255 65280     1    1 100.00%  1
1 test skipped.
Failed 4/6 test scripts, 33.33% okay. 11/14 subtests
failed, 21.43% okay.
make: *** [test_dynamic] Error 2


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Reply via email to