perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: Please Help with Compile Failure
Date Tue, 19 Jul 2005 18:37:02 GMT
Hi,

Looks like something is broken with your Perl installation, especially the
xsubpp Preprocessor.

Anyway Embperl 1.3.6 does not really support Perl 5.8.5, so if possible use
Embperl 2.0 (you can still use Apache 1.3 and mod_perl 1.x)

I send a copy to the Embperl Mailinglist (where a better place for questions
is), maybe somebody there has an idea

Gerald
> -----Original Message-----
> From: Holzer, Corey T. [mailto:corey@mcsp.net] 
> Sent: Tuesday, July 19, 2005 6:54 PM
> To: richter@ecos.de
> Subject: Please Help with Compile Failure
> 
> I can not compile Embperl on a SUN OS10 box ... getting the 
> following error:
> 
> Apache 1_3_33 and mod_perl compiled by me. gcc the default 
> install from sun.
> 
> Any help would be greatly appreciated.
> 
> gcc -B/usr/ccs/bin/ -c  -I/opt/apache/include 
> -I/opt/apache/regex -I/opt/apache/os/unix 
> -I/home/corey/HTML-Embperl-1.3.6/xs
> -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/gnu/include 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.3.6\" 
> -DXS_VERSION=\"1.3.6\" -fPIC
> "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE"  -DAPACHE  
> -o Embperl.o Embperl.c
> Embperl.c: In function `XS_HTML__Embperl_SetupRequest':
> Embperl.c:294: warning: static declaration of 
> 'XS_HTML__Embperl_CurrReq' 
> follows non-static declaration
> Embperl.c:292: warning: previous declaration of 
> 'XS_HTML__Embperl_CurrReq' 
> was here
> Embperl.c:320: warning: static declaration of 
> 'XS_HTML__Embperl_Clock' 
> follows non-static declaration
> Embperl.c:318: warning: previous declaration of 
> 'XS_HTML__Embperl_Clock' was here
> Embperl.c:343: warning: static declaration of 
> 'XS_HTML__Embperl_GetPackageOfFile' follows non-static declaration
> Embperl.c:341: warning: previous declaration of 
> 'XS_HTML__Embperl_GetPackageOfFile' was here
> Embperl.c:369: warning: static declaration of 
> 'XS_HTML__Embperl_logerror' 
> follows non-static declaration
> Embperl.c:367: warning: previous declaration of 
> 'XS_HTML__Embperl_logerror' 
> was here
> Embperl.c:423: warning: static declaration of 
> 'XS_HTML__Embperl_log' follows non-static declaration
> Embperl.c:421: warning: previous declaration of 
> 'XS_HTML__Embperl_log' was here
> Embperl.c:444: warning: static declaration of 
> 'XS_HTML__Embperl_output' 
> follows non-static declaration
> Embperl.c:442: warning: previous declaration of 
> 'XS_HTML__Embperl_output' 
> was here
> Embperl.c:480: warning: static declaration of 
> 'XS_HTML__Embperl_logevalerr' 
> follows non-static declaration
> Embperl.c:478: warning: previous declaration of 
> 'XS_HTML__Embperl_logevalerr' was here
> Embperl.c:506: warning: static declaration of 
> 'XS_HTML__Embperl_getlineno' 
> follows non-static declaration
> Embperl.c:504: warning: previous declaration of 
> 'XS_HTML__Embperl_getlineno' 
> was here
> Embperl.c:528: warning: static declaration of 
> 'XS_HTML__Embperl_flushlog' 
> follows non-static declaration
> Embperl.c:526: warning: previous declaration of 
> 'XS_HTML__Embperl_flushlog' 
> was here
> Embperl.c:547: warning: static declaration of 
> 'XS_HTML__Embperl_Sourcefile' 
> follows non-static declaration
> Embperl.c:545: warning: previous declaration of 
> 'XS_HTML__Embperl_Sourcefile' was here
> Embperl.c:572: warning: static declaration of 
> 'XS_HTML__Embperl_ProcessSub' 
> follows non-static declaration
> Embperl.c:570: warning: previous declaration of 
> 'XS_HTML__Embperl_ProcessSub' was here
> Embperl.c:597: warning: static declaration of 'XS_HTML__Embperl_exit' 
> follows non-static declaration
> Embperl.c:595: warning: previous declaration of 
> 'XS_HTML__Embperl_exit' was here
> Embperl.c:645: warning: static declaration of 
> 'XS_HTML__Embperl__Req_CurrPackage' follows non-static declaration
> Embperl.c:643: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_CurrPackage' was here
> Embperl.c:676: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ExportHash' follows non-static declaration
> Embperl.c:674: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ExportHash' was here
> Embperl.c:709: warning: static declaration of 
> 'XS_HTML__Embperl__Req_Sourcefile' follows non-static declaration
> Embperl.c:707: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_Sourcefile' was here
> Embperl.c:740: warning: static declaration of 
> 'XS_HTML__Embperl__Req_Path' 
> follows non-static declaration
> Embperl.c:738: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_Path' 
> was here
> Embperl.c:786: warning: static declaration of 
> 'XS_HTML__Embperl__Req_PathNdx' follows non-static declaration
> Embperl.c:784: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_PathNdx' was here
> Embperl.c:823: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ReqFilename' follows non-static declaration
> Embperl.c:821: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ReqFilename' was here
> Embperl.c:854: warning: static declaration of 
> 'XS_HTML__Embperl__Req_Debug' 
> follows non-static declaration
> Embperl.c:852: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_Debug' was here
> Embperl.c:882: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ApacheReq' follows non-static declaration
> Embperl.c:880: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ApacheReq' was here
> Embperl.c:915: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ErrArray' follows non-static declaration
> Embperl.c:913: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ErrArray' was here
> Embperl.c:943: warning: static declaration of 
> 'XS_HTML__Embperl__Req_FormArray' follows non-static declaration
> Embperl.c:941: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_FormArray' was here
> Embperl.c:971: warning: static declaration of 
> 'XS_HTML__Embperl__Req_FormHash' follows non-static declaration
> Embperl.c:969: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_FormHash' was here
> Embperl.c:999: warning: static declaration of 
> 'XS_HTML__Embperl__Req_EnvHash' follows non-static declaration
> Embperl.c:997: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_EnvHash' was here
> Embperl.c:1027: warning: static declaration of 
> 'XS_HTML__Embperl__Req_LogFileStartPos' follows non-static declaration
> Embperl.c:1025: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_LogFileStartPos' was here
> Embperl.c:1055: warning: static declaration of 
> 'XS_HTML__Embperl__Req_VirtLogURI' follows non-static declaration
> Embperl.c:1053: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_VirtLogURI' was here
> Embperl.c:1086: warning: static declaration of 
> 'XS_HTML__Embperl__Req_CookieName' follows non-static declaration
> Embperl.c:1084: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_CookieName' was here
> Embperl.c:1117: warning: static declaration of 
> 'XS_HTML__Embperl__Req_SessionMgnt' follows non-static declaration
> Embperl.c:1115: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_SessionMgnt' was here
> Embperl.c:1147: warning: static declaration of 
> 'XS_HTML__Embperl__Req_SubReq' follows non-static declaration
> Embperl.c:1145: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_SubReq' was here
> Embperl.c:1175: warning: static declaration of 
> 'XS_HTML__Embperl__Req_Error' 
> follows non-static declaration
> Embperl.c:1173: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_Error' was here
> Embperl.c:1205: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ProcessBlock' follows non-static declaration
> Embperl.c:1203: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ProcessBlock' was here
> Embperl.c:1236: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ProcessSub' follows non-static declaration
> Embperl.c:1234: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ProcessSub' was here
> Embperl.c:1267: warning: static declaration of 
> 'XS_HTML__Embperl__Req_logevalerr' follows non-static declaration
> Embperl.c:1265: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_logevalerr' was here
> Embperl.c:1301: warning: static declaration of 
> 'XS_HTML__Embperl__Req_logerror' follows non-static declaration
> Embperl.c:1299: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_logerror' was here
> Embperl.c:1363: warning: static declaration of 
> 'XS_HTML__Embperl__Req_getloghandle' follows non-static declaration
> Embperl.c:1361: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_getloghandle' was here
> Embperl.c:1391: warning: static declaration of 
> 'XS_HTML__Embperl__Req_getlogfilepos' follows non-static declaration
> Embperl.c:1389: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_getlogfilepos' was here
> Embperl.c:1420: warning: static declaration of 
> 'XS_HTML__Embperl__Req_output' follows non-static declaration
> Embperl.c:1418: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_output' was here
> Embperl.c:1446: warning: static declaration of 
> 'XS_HTML__Embperl__Req_log' 
> follows non-static declaration
> Embperl.c:1444: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_log' 
> was here
> Embperl.c:1473: warning: static declaration of 
> 'XS_HTML__Embperl__Req_flushlog' follows non-static declaration
> Embperl.c:1471: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_flushlog' was here
> Embperl.c:1498: warning: static declaration of 
> 'XS_HTML__Embperl__Req_getlineno' follows non-static declaration
> Embperl.c:1496: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_getlineno' was here
> Embperl.c:1526: warning: static declaration of 
> 'XS_HTML__Embperl__Req_log_svs' follows non-static declaration
> Embperl.c:1524: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_log_svs' was here
> Embperl.c:1552: warning: static declaration of 
> 'XS_HTML__Embperl__Req_Escape' follows non-static declaration
> Embperl.c:1550: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_Escape' was here
> Embperl.c:1586: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ExecuteReq' follows non-static declaration
> Embperl.c:1584: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ExecuteReq' was here
> Embperl.c:1616: warning: static declaration of 
> 'XS_HTML__Embperl__Req_Abort' 
> follows non-static declaration
> Embperl.c:1614: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_Abort' was here
> Embperl.c:1645: warning: static declaration of 
> 'XS_HTML__Embperl__Req_FreeRequest' follows non-static declaration
> Embperl.c:1643: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_FreeRequest' was here
> Embperl.c:1789: warning: static declaration of 
> 'boot_HTML__Embperl' follows non-static declaration
> Embperl.c:1787: warning: previous declaration of 
> 'boot_HTML__Embperl' was here
> Embperl.c:1875: error: syntax error at end of input
> make: *** [Embperl.o] Error 1
> 
> --
> Corey T. Holzer
> Web Developer & Systems Administrator
> MCSP, Inc.
> corey@mcsp.net
> http://www.mcsp.com
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message