problem s perlcc
hanc
hancik na atlas.cz
Středa Červen 27 17:30:24 MEST 2001
Ahoj,
nemate nekdo napad, co by mohlo zpusobovat tohle ?
system je RH7.1, perl 5.6, gcc 2.95
diky za kazdej tip
hanc
<cut>
[hanc na nyx work]$ perlcc hello.pl
----------------------------------------------------------------------------
----
Compiling hello.pl:
----------------------------------------------------------------------------
----
Making C(hello.pl.c) for hello.pl!
/usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -I/us
r/lib/perl5/site_perl/5.6.0/i386-linux -I/usr/lib/perl5/site_perl/5.6.0 -I/u
sr/lib/perl5/site_perl -I. -MB::Stash -c hello.pl
/usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -I/us
r/lib/perl5/site_perl/5.6.0/i386-linux -I/usr/lib/perl5/site_perl/5.6.0 -I/u
sr/lib/perl5/site_perl -I. -MO=C,-umain,-uattributes,-ustrict,-uDB hello.pl
Starting compile
Walking tree
Prescan
Saving methods
Bootstrap attributes hello.pl
Writing output
Loaded B
Loaded IO
Loaded Fcntl
hello.pl syntax OK
Compiling C(hello) for hello.pl!
/usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -I/us
r/lib/perl5/site_perl/5.6.0/i386-linux -I/usr/lib/perl5/site_perl/5.6.0 -I/u
sr/lib/perl5/site_perl -I. /tmp/hello.pl.tst
gcc -fno-strict-aliasing -I/usr/lib/perl5/5.6.0/i386-linux/CORE -o hello
hello.pl.c -L/usr/local/lib -L/usr/lib/perl5/5.6.0/i386-linux/CORE -lperl
-lnsl -ldl -lm -lc -lcrypt /usr/lib/perl5/5.6.0/i386-linux/auto/IO/IO.so
/usr/lib/perl5/5.6.0/i386-linux/auto/Fcntl/Fcntl.so
/tmp/cchRf3of.o: In function `xs_init':
/tmp/cchRf3of.o(.text+0x4331): undefined reference to `boot_DynaLoader'
collect2: ld returned 1 exit status
ERROR: In compiling code for hello.pl.c !
</cut>
hello.pl
#!/usr/bin/perl
print "hello", "\n";
exit(0);
Další informace o konferenci Perl