[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: Compiling WML with Perl5.6

Denis Barbier wrote:
> Good catch, problem is then circumvented. These lines are indeed
> generated by eperl_perl5_sm.pl, in xsi_body function.  This routine
> comes from Extutils/Embed.pm
> Could you replace this xsi_body function in eperl_perl5_sm.pl by the one
> shipped with your Perl installation and see if it fixes this problem?
> If it does, please send this function in order for me to integrate it.

If i use the xsi_body function in ExtUtils/Embed.pm, i get something
of the form :

        char *file = __FILE__; \
        dXSUB_SYS; \
        /* DynaLoader is a special case */ \
        newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);\
        newXS("attrs::bootstrap", boot_attrs, file);\
        newXS("re::bootstrap", boot_re, file);

The addition of 'dXSUB_SYS' seems to cause the code to compile, but now
the problem is moved to the link time:

cc  -L/usr/local/lib -L/opt/SUNWspro/SC5.0/lib -L/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE -o eperl eperl_main.o  eperl_perl5.o  eperl_parse.o  eperl_pp.o  eperl_sys.o  eperl_http.o 
eperl_getopt.o  eperl_debug.o  eperl_config.o  eperl_version.o  eperl_readme.o  eperl_license.o  eperl_logo.o  eperl_powered.o /usr/local/lib/perl5/5.6.0/sun4-solaris/auto/DynaLoader/DynaLoader.a
-lperl -lsocket -lnsl -ldl -lm -lc -lcrypt -lsec 
Undefined                       first referenced
 symbol                             in file
boot_re                             eperl_perl5.o
boot_attrs                          eperl_perl5.o
ld: fatal: Symbol referencing errors. No output written to eperl

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com