PerlRider has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I am trying to bind the C DLL with Perl using XSLoader. I got the following error: Can't find 'boot_PPPOE' symbol in ./auto/PPPOE/PPPOE.dll My C DLL (PPPOE.dll) is only having couple of function definations.
#PPPOE module PPPOE.pm package PPPOE; use 5.006001; use strict; use warnings; use Carp; our @ISA = qw(Exporter); our %EXPORT_TAGS = ( 'all' => [ qw( ) ] ); our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); our @EXPORT = qw( ); our $VERSION = '0.01'; require XSLoader; XSLoader::load('PPPOE', $VERSION); 1; __END__From the above error, I expect that C DLL should have some specific syntax. Can someone please share the ideas? :-(#calling Perl script #! /usr/bin/perl use strict; use warnings; use PPPOE;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: C to perl binding using XSLoader?
by tobyink (Canon) on Jan 16, 2013 at 08:00 UTC | |
|
Re: C to perl binding using XSLoader?
by marto (Cardinal) on Jan 16, 2013 at 09:49 UTC | |
|
Re: C to perl binding using XSLoader?
by Corion (Patriarch) on Jan 16, 2013 at 07:58 UTC |