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;
In reply to C to perl binding using XSLoader? by PerlRider
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |