Hi

I am currently trying to statically link the embperl
module into my perl executable. The platform that I'm on
is Solaris 2.6. From reading the instructions it
says that I sould first configure the makefiles
with perl Makefile.PL. This goes ok. Then to statically
link the embedperl I should do "make perl" from the
embed perl directory. I do this but get the following 
error message.

///////////////////////////////////////////////////////////////////
Writing perlmain.c
cd . && gcc -c  -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE
-I/usr/local/include -O \
   -DVERSION=\"1.2.0\" \
-DXS_VERSION=\"1.2.0\" -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE
perlmain.c
perlmain.c:67: parse error before `.'
perlmain.c: In function `xs_init':
perlmain.c:82: request for member `a' in something not a structure or union
make: *** [perlmain.o] Error 1
*** Error code 2
make: Fatal error: Command failed for target `perl'
/////////////////////////////////////////////////////////////////////

Am I doing this the correct way or have I missed something?

The line in perl main that generates the error is:
newXS("Embperl.a::bootstrap", boot_Embperl.a, file);

Thanks

Feargal

Reply via email to