Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "ppport.h"
#include <stdio.h>
MODULE = MySOTester PACKAGE = MySOTester
void
a ()
CODE:
printf("Hello\n");
void
b()
CODE:
a();
printf("World!\n");
But it is not works. My program dies with error:
/usr/bin/perl: symbol lookup error
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: symbol lookup error
by Anonymous Monk on Feb 26, 2009 at 15:10 UTC | |
|
Re: symbol lookup error
by ikegami (Patriarch) on Feb 26, 2009 at 16:22 UTC |