Hi All

Has anyone come across this

Making C(test7.pl.c) for test7.pl! /opt/DKBperl/bin/perl -I/opt/DKBperl/lib/sun4-solaris -I/opt/DKBperl/l +ib -I/opt/DKBperl/lib/site_perl/sun4-s olaris -I/opt/DKBperl/lib/site_perl -I. -MO=CC,-otest7.pl.c test7.pl test7.pl syntax OK No definition for sub Storable::store No definition for sub Storable::store (unable to autoload) No definition for sub Storable::retrieve No definition for sub Storable::retrieve (unable to autoload) Compiling C(test7) for test7.pl! /opt/DKBperl/bin/perl -I/opt/DKBperl/lib/sun4-solaris -I/opt/DKBperl/l +ib -I/opt/DKBperl/lib/site_perl/sun4-s olaris -I/opt/DKBperl/lib/site_perl -I. /tmp/test7.pl.tst gcc -O -I/opt/DKBperl/lib/sun4-solaris/CORE /opt/DKBperl/lib/sun4-sol +aris/auto/Fcntl/Fcntl.so /opt/DKBperl/ lib/site_perl/sun4-solaris/auto/Storable/Storable.so -o test7 test7.pl +.c -L/opt/DKBperl/lib/sun4-solaris/CO RE -lperl -lsocket -lnsl -ldl -lm -lc -lcrypt
when running perlcc ? It seems to happen when I use any number of cpan modules. In the example I'm using Storable. I have my own modules which seem ok. The compile finishes but when I run the exe I just get
./test Undefined subroutine &AutoLoader::AUTOLOAD called at /opt/DKBperl/lib/ +site_perl/sun4-solaris/Storable.pm lin e 120.
No sure what is going wrong here but the compile looks unhappy. I've been on this one for 2 days and it's getting me down. Any ideas ?

In reply to unable to autoload when using perlcc by wertert

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.