Date: Fri, 18 Jun 2004 20:48:58 -0400 From: Bruno Lavoie <bruno_lavoie@msn.com> To: freebsd-stable@freebsd.org Subject: perlcc problem! Message-ID: <40D38D7A.6000402@msn.com>
next in thread | raw e-mail | index | archive | help
Hello, i don't know if i'm posting on the good list, if not please tell me the good one! i'm trying to compile a mini program with perlcc, here is my code: > #!/usr/local/bin/perl > > use strict; > > print "\nhello world\n"; you can see that this program is fairly simple but it wont compile: > $ perlcc mini.pl -o mini > > -------------------------------------------------------------------------------- > Compiling mini.pl: > -------------------------------------------------------------------------------- > Making C(mini.pl.c) for mini.pl! > /usr/bin/perl -I/usr/local/lib/perl5/site_perl/5.6.1/mach > -I/usr/local/lib/perl5/site_perl/5.6.1 > -I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd > -I/usr/local/lib/perl5/site_perl/5.005 > -I/usr/local/lib/perl5/site_perl -I/usr/local/lib/perl5/5.6.1/BSDPAN > -I/usr/local/lib/perl5/5.6.1/mach -I/usr/local/lib/perl5/5.6.1 -I. > -MO=CC,-omini.pl.c mini.pl > Prescan > Saving methods > Loaded B > Loaded IO > Loaded Fcntl > mini.pl syntax OK > Compiling C(mini) for mini.pl! > /usr/bin/perl -I/usr/local/lib/perl5/site_perl/5.6.1/mach > -I/usr/local/lib/perl5/site_perl/5.6.1 > -I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd > -I/usr/local/lib/perl5/site_perl/5.005 > -I/usr/local/lib/perl5/site_perl -I/usr/local/lib/perl5/5.6.1/BSDPAN > -I/usr/local/lib/perl5/5.6.1/mach -I/usr/local/lib/perl5/5.6.1 -I. > /tmp/mini.pl.tst > cc -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" > -fno-strict-aliasing -I/usr/local/include -O -pipe > -I/usr/local/lib/perl5/5.6.1/mach/CORE > /usr/local/lib/perl5/5.6.1/mach/auto/IO/IO.so > /usr/local/lib/perl5/5.6.1/mach/auto/Fcntl/Fcntl.so -o mini mini.pl.c > -Wl,-E -L/usr/local/lib -L/usr/local/lib/perl5/5.6.1/mach/CORE -lperl > -lm -lc -lcrypt -lutil > /tmp/ccy77nhs.o: In function `xs_init': > /tmp/ccy77nhs.o(.text+0x63f): undefined reference to `boot_DynaLoader' > ERROR: In compiling code for mini.pl.c ! > $ strange!!! my sytem is: > $ uname -a > FreeBSD loneliness.evolugroup.com 4.9-RELEASE-p2 FreeBSD > 4.9-RELEASE-p2 #2: Sat Feb 14 20:47:37 EST 2004 > root@loneliness.evolugroup.com:/usr/obj/usr/src/sys/LONELINESS i386 my perl version > $ perl -v > > This is perl, v5.6.1 built for i386-freebsd my make.conf: > $ cat /etc/make.conf > CPUTYPE=i686 > CFLAGS= -O -pipe > > # -- use.perl generated deltas -- # > # Created: Fri Dec 5 09:33:41 2003 > # Setting to use base perl from ports: > PERL_VER=5.6.1 > PERL_VERSION=5.6.1 > PERL_ARCH=mach > NOPERL=yo > NO_PERL=yo > NO_PERL_WRAPPER=yo > > WITHOUT_X11=yes thx in advance!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40D38D7A.6000402>