Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

XS problem

by vikee (Sexton)
on Feb 09, 2006 at 15:09 UTC ( [id://529104]=perlquestion: print w/replies, xml ) Need Help??

vikee has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks :)

can anybody help me?

when I run h2xs I got this error:

panic: multiple types without intervening comma in const struct HWKBSYSTEM__ near* HWKBSYSTEM whited-out as near* HWKBSYSTEM Expecting parenth after identifier in `HWKBMEM far pascal WkbAllocMem( +HWKBSYSTEM hwkbsys, UINT cbAlloc)' after `HWKBMEM ' at /usr/lib/perl5/site_perl/5.8.5/C/Scan.pm line 729.

I have a library and the corresponding h file. I want to make a pm for it. Is there an example how to make it?

Thanks, Vikee

Edit: g0n - removed pre tags, added formatting & code tags

Replies are listed 'Best First'.
Re: XS problem
by PodMaster (Abbot) on Feb 09, 2006 at 15:30 UTC
    The answer hasn't changed much since yesterday.

    Go read the tutorial and learn.

    There is even a book on the subject, Extending and Embedding Perl

    h2xs and tools like it are useful, but they're not a substitute for learning XS.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://529104]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-26 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found