in reply to Embedding perl in C
The first two errors show that your cc can not find the include files of perl, "EXTERN.h", "perl.h". As reneeb has pointed out, you find where these are installed by running perl -MExtUtils::Embed -e ccopts, which, on my system, shows
you have to pass the -I option to the cc so that it knows where to find the includes.-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/us +r/lib/perl5/5.8.2/i686-linux/CORE
As for the next three errors, they seem to result from the misssing includes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Embedding perl in C
by Nalina (Monk) on Aug 23, 2004 at 11:05 UTC | |
by ambrus (Abbot) on Aug 23, 2004 at 11:42 UTC | |
by Grygonos (Chaplain) on Aug 23, 2004 at 13:17 UTC | |
by ambrus (Abbot) on Aug 23, 2004 at 17:20 UTC |