develooper Front page | perl.perl5.porters | Postings from May 2012

gcc fails to build Website's Meta Language's p3_eperl withperl-5.16.0-RC0

Thread Next
From:
Shlomi Fish
Date:
May 14, 2012 12:37
Subject:
gcc fails to build Website's Meta Language's p3_eperl withperl-5.16.0-RC0
Message ID:
20120514223723.0af476a0@lap.shlomifish.org
Hi all,

I'm getting a failure building p3_eperl with gcc on Mageia Linux 2/Cauldron on
an x86-64 machine with perl-5.16.0-RC0 . Here is the shell log:

<SHELL>

shlomif[wml]:$trunk/src/build/wml_backend/p3_eperl$ /usr/bin/gcc      -Wl,-E  -fstack-protector -L/usr/local/lib -L/home/shlomif/apps/perl/perlbrew/perls/perl-5.16.0-RC0/lib/5.16.0/x86_64-linux/CORE  -lperl -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat CMakeFiles/eperl.dir/eperl_config.c.o CMakeFiles/eperl.dir/eperl_debug.c.o CMakeFiles/eperl.dir/eperl_getopt.c.o CMakeFiles/eperl.dir/eperl_http.c.o CMakeFiles/eperl.dir/eperl_license.c.o CMakeFiles/eperl.dir/eperl_logo.c.o CMakeFiles/eperl.dir/eperl_main.c.o CMakeFiles/eperl.dir/eperl_parse.c.o CMakeFiles/eperl.dir/eperl_perl5.c.o CMakeFiles/eperl.dir/eperl_powered.c.o CMakeFiles/eperl.dir/eperl_pp.c.o CMakeFiles/eperl.dir/eperl_readme.c.o CMakeFiles/eperl.dir/eperl_sys.c.o CMakeFiles/eperl.dir/eperl_version.c.o  -o wml_p3_eperl -rdynamic 
CMakeFiles/eperl.dir/eperl_perl5.c.o: In function `Perl5_XSInit':
eperl_perl5.c:(.text+0x6): undefined reference to `boot_DynaLoader'
CMakeFiles/eperl.dir/eperl_perl5.c.o: In function `Perl5_ForceUnbufferedStdout':
eperl_perl5.c:(.text+0x113): undefined reference to `PL_defoutgv'
CMakeFiles/eperl.dir/eperl_perl5.c.o: In function `Perl5_SetScalar':
eperl_perl5.c:(.text+0x1cd): undefined reference to `Perl_push_scope'
eperl_perl5.c:(.text+0x1d2): undefined reference to `PL_curstash'
eperl_perl5.c:(.text+0x1d7): undefined reference to `Perl_save_hptr'
eperl_perl5.c:(.text+0x1e4): undefined reference to `Perl_gv_stashpv'
eperl_perl5.c:(.text+0x1f3): undefined reference to `PL_curstash'
eperl_perl5.c:(.text+0x1f8): undefined reference to `Perl_get_sv'
eperl_perl5.c:(.text+0x203): undefined reference to `Perl_sv_setpv'
CMakeFiles/eperl.dir/eperl_perl5.c.o: In function `Perl5_Run':
eperl_perl5.c:(.text+0x3e5): undefined reference to `perl_alloc'
eperl_perl5.c:(.text+0x3f4): undefined reference to `perl_construct'
eperl_perl5.c:(.text+0x413): undefined reference to `perl_parse'
eperl_perl5.c:(.text+0x4f0): undefined reference to `PL_defoutgv'
eperl_perl5.c:(.text+0x50e): undefined reference to `perl_run'
eperl_perl5.c:(.text+0x5e2): undefined reference to `perl_destruct'
eperl_perl5.c:(.text+0x5ee): undefined reference to `perl_free'
CMakeFiles/eperl.dir/eperl_perl5.c.o: In function `Perl5_XSInit':
eperl_perl5.c:(.text+0x10): undefined reference to `Perl_newXS'
CMakeFiles/eperl.dir/eperl_perl5.c.o: In function `Perl5_SetScalar':
eperl_perl5.c:(.text+0x21a): undefined reference to `Perl_pop_scope'
collect2: ld returned 1 exit status
shlomif[wml]:$trunk/src/build/wml_backend/p3_eperl$ which perl
/home/shlomif/apps/perl/perlbrew/perls/perl-5.16.0-RC0/bin/perl

</SHELL>

You can the Website Meta Language that I'm trying to build here:

https://bitbucket.org/shlomif/website-meta-language

I'm working on the "conversion-to-cmake" branch.

Finally, I should note that I tried to remove all the "-l" flags aside from
"-lperl" and got the same errors.

Can anyone shed any light on this problem?

Regards,

	Shlomi Fish 

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
What does "Zionism" mean? - http://shlom.in/def-zionism

Jewish Atheists are the only true Atheists. They beat the hell out of Goy
Atheists.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About