Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 1999 02:31:23 -0700
From:      Peter J Jones <p@dancris.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   undefined reference to
Message-ID:  <36F36AEA.F08D644D@dancris.com>

next in thread | raw e-mail | index | archive | help
Hello all,

    I have been trying to figure this one out for a couple of days now
and wanted some help! I just upgraded from 2.2.6-RELEASE to 3.1-RELEASE
and have a few problems that I am working on. My biggest is compiling
Perl 5.005_02. This is what I get after compile during linking...

B.o: In function `boot_B':
B.o(.text+0x8780): undefined reference to `PL_specialsv_list'
B.o(.text+0x878c): undefined reference to `PL_specialsv_list'
B.o(.text+0x8792): undefined reference to `PL_sv_undef'
B.o(.text+0x879b): undefined reference to `PL_specialsv_list'
B.o(.text+0x87a1): undefined reference to `PL_sv_yes'
B.o(.text+0x87aa): undefined reference to `PL_specialsv_list'
B.o(.text+0x87b0): undefined reference to `PL_sv_no'
B.o(.text+0x87b9): undefined reference to `PL_stack_base'
B.o(.text+0x87c1): undefined reference to `PL_sv_yes'
B.o(.text+0x87cd): undefined reference to `PL_stack_sp'
B.o(.text+0x87d3): undefined reference to `PL_stack_base'
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x69): undefined reference to `main'
*** Error code 1

Stop.
*** Error code 1

Stop.

And I get tons of that. I think that it might be an aout vs elf thing
but have been able to compile other apps with no problem. I have
installed Perl many times and have never seen this.

I thought that /usr/lib/crt1.o might not be elf and that is why I get
these errors but it is an elf.

I searched the Mailing list archive but there were no answers to similar
questions. Please Help, I need Perl soon...

Thanks,

Peter Jones



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36F36AEA.F08D644D>