Mailing List Archive

Error building HTML-Embperl
Let me prefix this by saying, yes I know its old but Im dealing with
legacy code here that we must keep running until we've finished our
re-write.

Basically, Im unable to build HTML-Embperl with Perl 5.8.3 on Linux. Ive
Googled and seen this error mentioned but never seen a fix for it:

[/usr/local/src/HTML-Embperl-1.3.5]# make
cc -c -I/usr/local/src/apache_1.3.41/src/include
-I/usr/local/src/apache_1.3.41/src/regex
-I/usr/local/src/apache_1.3.41/src/os/unix
-I/usr/local/src/HTML-Embperl-1.3.5/xs -fPIC -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -DVERSION=\"1.3.5\" -DXS_VERSION=\"1.3.5\" -fpic
"-I/usr/local/lib/perl5/5.8.3/x86_64-linux/CORE" -DAPACHE -o Embperl.o
Embperl.c
Embperl.c: In function `XS_HTML__Embperl_SetupRequest':
Embperl.c:330: warning: static declaration of 'XS_HTML__Embperl_CurrReq'
follows non-static declaration
Embperl.c:328: warning: previous declaration of 'XS_HTML__Embperl_CurrReq'
was here
Embperl.c:360: warning: static declaration of 'XS_HTML__Embperl_Clock'
follows non-static declaration
Embperl.c:358: warning: previous declaration of 'XS_HTML__Embperl_Clock'
was here
Embperl.c:387: warning: static declaration of
'XS_HTML__Embperl_GetPackageOfFile' follows non-static declaration
Embperl.c:385: warning: previous declaration of
'XS_HTML__Embperl_GetPackageOfFile' was here
Embperl.c:417: warning: static declaration of 'XS_HTML__Embperl_logerror'
follows non-static declaration
Embperl.c:415: warning: previous declaration of
'XS_HTML__Embperl_logerror' was here
Embperl.c:475: warning: static declaration of 'XS_HTML__Embperl_log'
follows non-static declaration
Embperl.c:473: warning: previous declaration of 'XS_HTML__Embperl_log' was
here
Embperl.c:500: warning: static declaration of 'XS_HTML__Embperl_output'
follows non-static declaration
Embperl.c:498: warning: previous declaration of 'XS_HTML__Embperl_output'
was here
Embperl.c:540: warning: static declaration of
'XS_HTML__Embperl_logevalerr' follows non-static declaration
Embperl.c:538: warning: previous declaration of
'XS_HTML__Embperl_logevalerr' was here
Embperl.c:570: warning: static declaration of 'XS_HTML__Embperl_getlineno'
follows non-static declaration
Embperl.c:568: warning: previous declaration of
'XS_HTML__Embperl_getlineno' was here
Embperl.c:596: warning: static declaration of 'XS_HTML__Embperl_flushlog'
follows non-static declaration
Embperl.c:594: warning: previous declaration of
'XS_HTML__Embperl_flushlog' was here
Embperl.c:619: warning: static declaration of
'XS_HTML__Embperl_Sourcefile' follows non-static declaration
Embperl.c:617: warning: previous declaration of
'XS_HTML__Embperl_Sourcefile' was here
Embperl.c:648: warning: static declaration of
'XS_HTML__Embperl_ProcessSub' follows non-static declaration
Embperl.c:646: warning: previous declaration of
'XS_HTML__Embperl_ProcessSub' was here
Embperl.c:677: warning: static declaration of 'XS_HTML__Embperl_exit'
follows non-static declaration
Embperl.c:675: warning: previous declaration of 'XS_HTML__Embperl_exit'
was here
Embperl.c:733: warning: static declaration of
'XS_HTML__Embperl__Req_CurrPackage' follows non-static declaration
Embperl.c:731: warning: previous declaration of
'XS_HTML__Embperl__Req_CurrPackage' was here
Embperl.c:768: warning: static declaration of
'XS_HTML__Embperl__Req_ExportHash' follows non-static declaration
Embperl.c:766: warning: previous declaration of
'XS_HTML__Embperl__Req_ExportHash' was here
Embperl.c:805: warning: static declaration of
'XS_HTML__Embperl__Req_Sourcefile' follows non-static declaration
Embperl.c:803: warning: previous declaration of
'XS_HTML__Embperl__Req_Sourcefile' was here
Embperl.c:840: warning: static declaration of 'XS_HTML__Embperl__Req_Path'
follows non-static declaration
Embperl.c:838: warning: previous declaration of
'XS_HTML__Embperl__Req_Path' was here
Embperl.c:890: warning: static declaration of
'XS_HTML__Embperl__Req_PathNdx' follows non-static declaration
Embperl.c:888: warning: previous declaration of
'XS_HTML__Embperl__Req_PathNdx' was here
Embperl.c:931: warning: static declaration of
'XS_HTML__Embperl__Req_ReqFilename' follows non-static declaration
Embperl.c:929: warning: previous declaration of
'XS_HTML__Embperl__Req_ReqFilename' was here
Embperl.c:966: warning: static declaration of
'XS_HTML__Embperl__Req_Debug' follows non-static declaration
Embperl.c:964: warning: previous declaration of
'XS_HTML__Embperl__Req_Debug' was here
Embperl.c:998: warning: static declaration of
'XS_HTML__Embperl__Req_ApacheReq' follows non-static declaration
Embperl.c:996: warning: previous declaration of
'XS_HTML__Embperl__Req_ApacheReq' was here
Embperl.c:1035: warning: static declaration of
'XS_HTML__Embperl__Req_ErrArray' follows non-static declaration
Embperl.c:1033: warning: previous declaration of
'XS_HTML__Embperl__Req_ErrArray' was here
Embperl.c:1067: warning: static declaration of
'XS_HTML__Embperl__Req_FormArray' follows non-static declaration
Embperl.c:1065: warning: previous declaration of
'XS_HTML__Embperl__Req_FormArray' was here
Embperl.c:1099: warning: static declaration of
'XS_HTML__Embperl__Req_FormHash' follows non-static declaration
Embperl.c:1097: warning: previous declaration of
'XS_HTML__Embperl__Req_FormHash' was here
Embperl.c:1131: warning: static declaration of
'XS_HTML__Embperl__Req_EnvHash' follows non-static declaration
Embperl.c:1129: warning: previous declaration of
'XS_HTML__Embperl__Req_EnvHash' was here
Embperl.c:1163: warning: static declaration of
'XS_HTML__Embperl__Req_LogFileStartPos' follows non-static declaration
Embperl.c:1161: warning: previous declaration of
'XS_HTML__Embperl__Req_LogFileStartPos' was here
Embperl.c:1195: warning: static declaration of
'XS_HTML__Embperl__Req_VirtLogURI' follows non-static declaration
Embperl.c:1193: warning: previous declaration of
'XS_HTML__Embperl__Req_VirtLogURI' was here
Embperl.c:1230: warning: static declaration of
'XS_HTML__Embperl__Req_CookieName' follows non-static declaration
Embperl.c:1228: warning: previous declaration of
'XS_HTML__Embperl__Req_CookieName' was here
Embperl.c:1265: warning: static declaration of
'XS_HTML__Embperl__Req_SessionMgnt' follows non-static declaration
Embperl.c:1263: warning: previous declaration of
'XS_HTML__Embperl__Req_SessionMgnt' was here
Embperl.c:1299: warning: static declaration of
'XS_HTML__Embperl__Req_SubReq' follows non-static declaration
Embperl.c:1297: warning: previous declaration of
'XS_HTML__Embperl__Req_SubReq' was here
Embperl.c:1331: warning: static declaration of
'XS_HTML__Embperl__Req_Error' follows non-static declaration
Embperl.c:1329: warning: previous declaration of
'XS_HTML__Embperl__Req_Error' was here
Embperl.c:1365: warning: static declaration of
'XS_HTML__Embperl__Req_ProcessBlock' follows non-static declaration
Embperl.c:1363: warning: previous declaration of
'XS_HTML__Embperl__Req_ProcessBlock' was here
Embperl.c:1400: warning: static declaration of
'XS_HTML__Embperl__Req_ProcessSub' follows non-static declaration
Embperl.c:1398: warning: previous declaration of
'XS_HTML__Embperl__Req_ProcessSub' was here
Embperl.c:1435: warning: static declaration of
'XS_HTML__Embperl__Req_logevalerr' follows non-static declaration
Embperl.c:1433: warning: previous declaration of
'XS_HTML__Embperl__Req_logevalerr' was here
Embperl.c:1473: warning: static declaration of
'XS_HTML__Embperl__Req_logerror' follows non-static declaration
Embperl.c:1471: warning: previous declaration of
'XS_HTML__Embperl__Req_logerror' was here
Embperl.c:1539: warning: static declaration of
'XS_HTML__Embperl__Req_getloghandle' follows non-static declaration
Embperl.c:1537: warning: previous declaration of
'XS_HTML__Embperl__Req_getloghandle' was here
Embperl.c:1571: warning: static declaration of
'XS_HTML__Embperl__Req_getlogfilepos' follows non-static declaration
Embperl.c:1569: warning: previous declaration of
'XS_HTML__Embperl__Req_getlogfilepos' was here
Embperl.c:1604: warning: static declaration of
'XS_HTML__Embperl__Req_output' follows non-static declaration
Embperl.c:1602: warning: previous declaration of
'XS_HTML__Embperl__Req_output' was here
Embperl.c:1634: warning: static declaration of 'XS_HTML__Embperl__Req_log'
follows non-static declaration
Embperl.c:1632: warning: previous declaration of
'XS_HTML__Embperl__Req_log' was here
Embperl.c:1665: warning: static declaration of
'XS_HTML__Embperl__Req_flushlog' follows non-static declaration
Embperl.c:1663: warning: previous declaration of
'XS_HTML__Embperl__Req_flushlog' was here
Embperl.c:1694: warning: static declaration of
'XS_HTML__Embperl__Req_getlineno' follows non-static declaration
Embperl.c:1692: warning: previous declaration of
'XS_HTML__Embperl__Req_getlineno' was here
Embperl.c:1726: warning: static declaration of
'XS_HTML__Embperl__Req_log_svs' follows non-static declaration
Embperl.c:1724: warning: previous declaration of
'XS_HTML__Embperl__Req_log_svs' was here
Embperl.c:1756: warning: static declaration of
'XS_HTML__Embperl__Req_Escape' follows non-static declaration
Embperl.c:1754: warning: previous declaration of
'XS_HTML__Embperl__Req_Escape' was here
Embperl.c:1794: warning: static declaration of
'XS_HTML__Embperl__Req_ExecuteReq' follows non-static declaration
Embperl.c:1792: warning: previous declaration of
'XS_HTML__Embperl__Req_ExecuteReq' was here
Embperl.c:1828: warning: static declaration of
'XS_HTML__Embperl__Req_Abort' follows non-static declaration
Embperl.c:1826: warning: previous declaration of
'XS_HTML__Embperl__Req_Abort' was here
Embperl.c:1861: warning: static declaration of
'XS_HTML__Embperl__Req_FreeRequest' follows non-static declaration
Embperl.c:1859: warning: previous declaration of
'XS_HTML__Embperl__Req_FreeRequest' was here
Embperl.c:2021: warning: static declaration of 'boot_HTML__Embperl'
follows non-static declaration
Embperl.c:2019: warning: previous declaration of 'boot_HTML__Embperl' was
here
Embperl.c:2111: error: syntax error at end of input
make: *** [Embperl.o] Error 1



Has anyone gotten around and/or fixed this?


--
Aj.



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