[Speedycgi-users] PersistenPerl make failure on MacOSX *after* _my_perl fix ... ??
Brought to you by:
samh
|
From: OpenMacNews <spe...@sp...> - 2003-11-29 18:23:14
|
hi all,
after making SamH's recommended changes to PersistentPerl code for MacOSX, specifically:
% vi /usr/ports/PersistentPerl-2.22/src/perperl_perl.h
void speedy_perl_run(slotnum_t _gslotnum, slotnum_t _bslotnum);
int speedy_perl_fork(void);
--- PerlInterpreter *my_perl;
+++ extern PerlInterpreter *my_perl;
which *did* fix the _my_perl "multiple definitions" errors during make, the make fails again, now with (below) ...
fyi, my serv env is: MacOSX 10.3.1, Perl 5.8.2, Apache/2.1.0-dev, mod_ssl/2.1.0-dev, OpenSSL/0.9.7c, DAV/2, PHP/4.3.4
suggestions?
thanks,
richard
entperl2.c && touch mod_persistentperl2.slo
mod_persistentperl2.c: In function `discard_script_output':
mod_persistentperl2.c:343: error: parse error before '{' token
mod_persistentperl2.c: At top level:
mod_persistentperl2.c:347: error: `e' undeclared here (not in a function)
mod_persistentperl2.c:347: error: `e' undeclared here (not in a function)
mod_persistentperl2.c:347: error: `buf' undeclared here (not in a function)
mod_persistentperl2.c:347: error: `len' undeclared here (not in a function)
mod_persistentperl2.c:347: warning: data definition has no type or storage class
mod_persistentperl2.c:348: error: parse error before "if"
mod_persistentperl2.c: In function `cgi_handler':
mod_persistentperl2.c:383: warning: assignment makes pointer from integer without a cast
mod_persistentperl2.c:468: error: parse error before '{' token
mod_persistentperl2.c:488: error: `data' undeclared (first use in this function)
mod_persistentperl2.c:488: error: (Each undeclared identifier is reported only once
mod_persistentperl2.c:488: error: for each function it appears in.)
mod_persistentperl2.c:500: error: parse error before "apr_brigade_cleanup"
mod_persistentperl2.c:474: error: break statement not within loop or switch
mod_persistentperl2.c:479: error: continue statement not within a loop
mod_persistentperl2.c:484: error: continue statement not within a loop
mod_persistentperl2.c: At top level:
mod_persistentperl2.c:505: warning: parameter names (without types) in function declaration
mod_persistentperl2.c:505: warning: data definition has no type or storage class
mod_persistentperl2.c:506: warning: parameter names (without types) in function declaration
mod_persistentperl2.c:506: warning: data definition has no type or storage class
mod_persistentperl2.c:509: error: parse error before "if"
mod_persistentperl2.c:515: error: `script_in' undeclared here (not in a function)
mod_persistentperl2.c:515: error: `c' undeclared here (not in a function)
mod_persistentperl2.c:515: warning: initialization makes integer from pointer without a cast
mod_persistentperl2.c:515: error: initializer element is not constant
mod_persistentperl2.c:515: warning: data definition has no type or storage class
mod_persistentperl2.c:516: error: parse error before "do"
mod_persistentperl2.c:516: error: parse error before '->' token
mod_persistentperl2.c:516: error: parse error before "struct"
mod_persistentperl2.c:516: error: parse error before "struct"
mod_persistentperl2.c:517: error: redefinition of `b'
mod_persistentperl2.c:515: error: `b' previously defined here
mod_persistentperl2.c:517: error: `c' undeclared here (not in a function)
mod_persistentperl2.c:517: warning: initialization makes integer from pointer without a cast
mod_persistentperl2.c:517: error: initializer element is not constant
mod_persistentperl2.c:517: warning: data definition has no type or storage class
mod_persistentperl2.c:518: error: parse error before "do"
mod_persistentperl2.c:518: error: parse error before '->' token
mod_persistentperl2.c:518: error: parse error before "struct"
mod_persistentperl2.c:518: error: parse error before "struct"
mod_persistentperl2.c:524: error: conflicting types for `location'
mod_persistentperl2.c:511: error: previous declaration of `location'
mod_persistentperl2.c:524: error: `r' undeclared here (not in a function)
mod_persistentperl2.c:524: warning: data definition has no type or storage class
mod_persistentperl2.c:526: error: parse error before "if"
mod_persistentperl2.c:528: warning: parameter names (without types) in function declaration
mod_persistentperl2.c:528: warning: data definition has no type or storage class
mod_persistentperl2.c:529: warning: parameter names (without types) in function declaration
mod_persistentperl2.c:529: error: conflicting types for `log_script_err'
mod_persistentperl2.c:161: error: previous declaration of `log_script_err'
mod_persistentperl2.c:529: warning: data definition has no type or storage class
mod_persistentperl2.c:533: error: parse error before '->' token
mod_persistentperl2.c:540: error: parse error before '->' token
mod_persistentperl2.c:540: error: conflicting types for `apr_table_unset'
/usr/include/apache2/apr_tables.h:289: error: previous declaration of `apr_table_unset'
mod_persistentperl2.c:540: warning: data definition has no type or storage class
mod_persistentperl2.c:542: warning: parameter names (without types) in function declaration
mod_persistentperl2.c:542: error: conflicting types for `ap_internal_redirect_handler'
/usr/include/apache2/http_request.h:217: error: previous declaration of `ap_internal_redirect_handler'
mod_persistentperl2.c:542: warning: data definition has no type or storage class
mod_persistentperl2.c:543: error: parse error before "return"
mod_persistentperl2.c:550: warning: parameter names (without types) in function declaration
mod_persistentperl2.c:550: warning: data definition has no type or storage class
mod_persistentperl2.c:551: error: parse error before "return"
mod_persistentperl2.c:554: error: parse error before '->' token
mod_persistentperl2.c:554: warning: data definition has no type or storage class
mod_persistentperl2.c:556: warning: parameter names (without types) in function declaration
mod_persistentperl2.c:556: warning: data definition has no type or storage class
mod_persistentperl2.c:557: warning: parameter names (without types) in function declaration
mod_persistentperl2.c:557: warning: data definition has no type or storage class
mod_persistentperl2.c:558: error: parse error before '}' token
mod_persistentperl2.c:569: error: conflicting types for `cur'
mod_persistentperl2.c:562: error: previous declaration of `cur'
mod_persistentperl2.c:569: error: `r' undeclared here (not in a function)
mod_persistentperl2.c:569: warning: data definition has no type or storage class
mod_persistentperl2.c:570: error: parse error before "while"
mod_persistentperl2.c:575: error: `r' undeclared here (not in a function)
mod_persistentperl2.c:575: error: `c' undeclared here (not in a function)
mod_persistentperl2.c:575: warning: initialization makes integer from pointer without a cast
mod_persistentperl2.c:575: error: initializer element is not constant
mod_persistentperl2.c:575: warning: data definition has no type or storage class
mod_persistentperl2.c:576: error: redefinition of `b'
mod_persistentperl2.c:517: error: `b' previously defined here
mod_persistentperl2.c:576: error: `script_in' undeclared here (not in a function)
mod_persistentperl2.c:576: error: `c' undeclared here (not in a function)
mod_persistentperl2.c:576: warning: initialization makes integer from pointer without a cast
mod_persistentperl2.c:576: error: initializer element is not constant
mod_persistentperl2.c:576: warning: data definition has no type or storage class
mod_persistentperl2.c:577: error: parse error before "do"
mod_persistentperl2.c:577: error: parse error before '->' token
mod_persistentperl2.c:577: error: parse error before "struct"
mod_persistentperl2.c:577: error: parse error before "struct"
mod_persistentperl2.c:578: error: redefinition of `b'
mod_persistentperl2.c:576: error: `b' previously defined here
mod_persistentperl2.c:578: error: `c' undeclared here (not in a function)
mod_persistentperl2.c:578: warning: initialization makes integer from pointer without a cast
mod_persistentperl2.c:578: error: initializer element is not constant
mod_persistentperl2.c:578: warning: data definition has no type or storage class
mod_persistentperl2.c:579: error: parse error before "do"
mod_persistentperl2.c:579: error: parse error before '->' token
mod_persistentperl2.c:579: error: parse error before "struct"
mod_persistentperl2.c:579: error: parse error before "struct"
mod_persistentperl2.c:580: error: parse error before '->' token
mod_persistentperl2.c:580: warning: data definition has no type or storage class
apxs:Error: Command failed with rc=65536
.
make[1]: *** [mod_persistentperl.la] Error 1
make: *** [subdirs] Error 2
|