[NETFRAME] Compilation Error while using Net-Packet-0.20
Stijn Verstichel
Stijn.Verstichel at intec.UGent.be
Tue May 15 09:55:52 CEST 2007
Hi,
Thanks for the reply. I have some further comments. Please find them below.
>On Mon, May 14, 2007 at 07:06:36PM +0200, Stijn Verstichel wrote:
>> Hi,
>>
>> In our recent efforts to get Ipv6 running on our Testbed, we came
>> across following error:
>>
>> Can't locate object method "buildAccessorsScalar" via package
>[..]
>
>The first shortest answer: upgrade to latest Net::Packet which is 3.25
(don't remember a 0.20 version existed ;) ).
>Also upgrade to latest Class::Gomor (1.01). This should fix your current
problem.
OK, I've done the upgrade and all compiles fine now. However, when running
out script, now we receive the error message below:
Bareword "AF_INET6" not allowed while "strict subs" in use at
/usr/local/lib/perl/5.6.1/Net/Packet/Utils.pm line 76.
BEGIN not safe after errors--compilation aborted at
/usr/local/lib/perl/5.6.1/Net/Packet/Utils.pm line 193.
Compilation failed in require at /usr/local/lib/perl/5.6.1/Net/Packet/UDP.pm
line 11.
BEGIN failed--compilation aborted at
/usr/local/lib/perl/5.6.1/Net/Packet/UDP.pm line 11.
I know that Net::Packet is no longer supported, but this script was written
by one of our Final-Year Students for his graduation thesis, already two
years ago now. We would therefore like to get this scripts going, without
having to rewrite the whole thing. So any help would be greatly appreciated.
>
>Second, Net::Packet is no more supported, it has been replaced by
Net::Frame modules. So, you should port your programs to Net::Frame.
>
Could you give us an estimate as to the effort required to port our script
from Net::Packet to Net::Frame, just in case it has to be done.
Best regards,
Stijn Verstichel
More information about the netframe
mailing list