embedded perl make error
David Rhodes <[email protected]>
| Newsgroups | gmane.network.netsaint.user |
|---|---|
| Message-ID | <[email protected]> |
I have included the below patch to fix a problem I was getting on make all for nagios in general when compiling with embedded perl. The error I was getting was: 'nagios.c:781: `my_perl' undeclared (first use in this function)' and the patch: --- base/nagios.c.orig 2002-09-26 19:26:03.000000000 +1000 +++ base/nagios.c 2002-09-26 19:15:50.000000000 +1000 @@ -56,6 +56,7 @@ #ifdef EMBEDDEDPERL #include <EXTERN.h> #include <perl.h> +#include <XSUB.h> #include <fcntl.h> /* include PERL xs_init code for module and C library support */ Regards David Rhodes Network Operations Centre Co-ordinator Information Technology Services (ITS) Deakin University, (Waterfront Campus) email: [email protected] ph: +61 03 52278931 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf