[Bese-devel] Compilation errof for mod_lisp.c

Giannandrea Castaldi g.castaldi at quinary.com
Wed Mar 3 07:49:53 UTC 2004


Hi,
I know that this is not an apache mailing list but I've had the 
following error executing the mod_lisp installation (apxs2 -i -c 
mod_lisp.c) for ucw and then maybe someone may help me.
I'm using Gentoo distribution of Linux with apache-2.0.48-r1. I have 
found apxs2 and not apxs but it's the new version. I haven't found the 
command httpd to verify the dynamic lib support but only the script 
/etc/init.d/apache2 to start it.
I can anyway pass to apache-1.3.29-r1.

Giannandrea

calcolino mod-lisp # apxs2 -i -c mod_lisp.c
/usr/lib/apache2/build/libtool --silent --mode=compile gcc -prefer-pic 
-march=pentium3 -O3 -pipe -fomit-frame-pointer 
-DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread 
-I/usr/include/apache2  -I/usr/include/apache2   
-I/usr/include/apache2   -c -o mod_lisp.lo mod_lisp.c && touch mod_lisp.slo
mod_lisp.c:149:58: util_date.h: No such file or directory
mod_lisp.c:196: parse error before '*' token
mod_lisp.c:196: warning: data definition has no type or storage class
mod_lisp.c:209: parse error before "lisp_module"
mod_lisp.c:209: warning: data definition has no type or storage class
mod_lisp.c: In function `our_dconfig':
mod_lisp.c:339: request for member `module_index' in something not a 
structure or union
mod_lisp.c: At top level:
mod_lisp.c:467: parse error before '*' token
mod_lisp.c: In function `SendLispString':
mod_lisp.c:470: `Line' undeclared (first use in this function)
mod_lisp.c:470: (Each undeclared identifier is reported only once
mod_lisp.c:470: for each function it appears in.)
mod_lisp.c:471: `BuffSocket' undeclared (first use in this function)
mod_lisp.c: At top level:
mod_lisp.c:477: parse error before '*' token
mod_lisp.c: In function `SendLispHeaderLine':
mod_lisp.c:479: `BuffSocket' undeclared (first use in this function)
mod_lisp.c:479: `Name' undeclared (first use in this function)
mod_lisp.c:483: `Value' undeclared (first use in this function)
mod_lisp.c: At top level:
mod_lisp.c:490: parse error before '*' token
mod_lisp.c: In function `FlushLispBuffSocket':
mod_lisp.c:492: `BuffSocket' undeclared (first use in this function)
mod_lisp.c: At top level:
mod_lisp.c:511: parse error before "BUFF"
mod_lisp.c: In function `ForceGets':
mod_lisp.c:517: `s' undeclared (first use in this function)
mod_lisp.c:517: `len' undeclared (first use in this function)
mod_lisp.c:517: `BuffSocket' undeclared (first use in this function)
mod_lisp.c:520: `B_RD' undeclared (first use in this function)
mod_lisp.c: In function `lisp_handler':
mod_lisp.c:563: `BUFF' undeclared (first use in this function)
mod_lisp.c:563: `BuffSocket' undeclared (first use in this function)
mod_lisp.c:591: `SERVER_ERROR' undeclared (first use in this function)
mod_lisp.c:593: `B_SOCKET' undeclared (first use in this function)
mod_lisp.c:593: `B_RDWR' undeclared (first use in this function)
mod_lisp.c:612: `array_header' undeclared (first use in this function)
mod_lisp.c:612: `env_arr' undeclared (first use in this function)
mod_lisp.c:613: `table_entry' undeclared (first use in this function)
mod_lisp.c:613: `elts' undeclared (first use in this function)
mod_lisp.c:613: parse error before ')' token
mod_lisp.c:664: `hdr_arr' undeclared (first use in this function)
mod_lisp.c:665: parse error before ')' token
mod_lisp.c:726: parse error before ')' token
mod_lisp.c:729: `l' undeclared (first use in this function)
mod_lisp.c:737: parse error before ')' token
mod_lisp.c:746: warning: initialization makes pointer from integer 
without a cast
mod_lisp.c:753: warning: assignment makes pointer from integer without a 
cast
mod_lisp.c:776: warning: passing arg 4 of `ap_log_error' makes integer 
from pointer without a cast
mod_lisp.c:776: warning: passing arg 5 of `ap_log_error' from 
incompatible pointer type
mod_lisp.c:780: warning: passing arg 4 of `ap_log_error' makes integer 
from pointer without a cast
mod_lisp.c:780: warning: passing arg 5 of `ap_log_error' from 
incompatible pointer type
mod_lisp.c:784: warning: passing arg 4 of `ap_log_error' makes integer 
from pointer without a cast
mod_lisp.c:784: warning: passing arg 5 of `ap_log_error' from 
incompatible pointer type
mod_lisp.c:788: warning: passing arg 4 of `ap_log_error' makes integer 
from pointer without a cast
mod_lisp.c:788: warning: passing arg 5 of `ap_log_error' from 
incompatible pointer type
mod_lisp.c:792: warning: passing arg 4 of `ap_log_error' makes integer 
from pointer without a cast
mod_lisp.c:792: warning: passing arg 5 of `ap_log_error' from 
incompatible pointer type
mod_lisp.c:796: warning: passing arg 4 of `ap_log_error' makes integer 
from pointer without a cast
mod_lisp.c:796: warning: passing arg 5 of `ap_log_error' from 
incompatible pointer type
mod_lisp.c:800: warning: passing arg 4 of `ap_log_error' makes integer 
from pointer without a cast
mod_lisp.c:800: warning: passing arg 5 of `ap_log_error' from 
incompatible pointer type
mod_lisp.c:804: warning: passing arg 4 of `ap_log_error' makes integer 
from pointer without a cast
mod_lisp.c:804: warning: passing arg 5 of `ap_log_error' from 
incompatible pointer type
mod_lisp.c:808: warning: passing arg 4 of `ap_log_error' makes integer 
from pointer without a cast
mod_lisp.c:808: warning: passing arg 5 of `ap_log_error' from 
incompatible pointer type
mod_lisp.c:735: break statement not within loop or switch
mod_lisp.c: At top level:
mod_lisp.c:828: warning: parameter names (without types) in function 
declaration
mod_lisp.c:828: warning: data definition has no type or storage class
mod_lisp.c:829: parse error before "if"
mod_lisp.c:855: warning: parameter names (without types) in function 
declaration
mod_lisp.c:855: warning: data definition has no type or storage class
mod_lisp.c:856: parse error before "if"
mod_lisp.c:907: parse error before "pool"
mod_lisp.c: In function `lisp_init':
mod_lisp.c:909: warning: passing arg 1 of `ap_add_version_component' 
from incompatible pointer type
mod_lisp.c:909: too few arguments to function `ap_add_version_component'
mod_lisp.c: At top level:
mod_lisp.c:928: parse error before "pool"
mod_lisp.c: In function `lisp_child_init':
mod_lisp.c:930: warning: assignment makes pointer from integer without a 
cast
mod_lisp.c: At top level:
mod_lisp.c:950: parse error before "pool"
mod_lisp.c:968: parse error before '*' token
mod_lisp.c: In function `lisp_create_dir_config':
mod_lisp.c:972: `dirspec' undeclared (first use in this function)
mod_lisp.c:977: `p' undeclared (first use in this function)
mod_lisp.c:992: warning: assignment makes pointer from integer without a 
cast
mod_lisp.c: At top level:
mod_lisp.c:1011: parse error before '*' token
mod_lisp.c: In function `lisp_merge_dir_config':
mod_lisp.c:1015: `p' undeclared (first use in this function)
mod_lisp.c:1016: `parent_conf' undeclared (first use in this function)
mod_lisp.c:1017: `newloc_conf' undeclared (first use in this function)
mod_lisp.c:1024: warning: assignment makes pointer from integer without 
a cast
mod_lisp.c: At top level:
mod_lisp.c:1073: parse error before '*' token
mod_lisp.c: In function `lisp_create_server_config':
mod_lisp.c:1077: `s' undeclared (first use in this function)
mod_lisp.c:1083: `p' undeclared (first use in this function)
mod_lisp.c:1093: warning: assignment makes pointer from integer without 
a cast
mod_lisp.c: At top level:
mod_lisp.c:1110: parse error before '*' token
mod_lisp.c: In function `lisp_merge_server_config':
mod_lisp.c:1114: `p' undeclared (first use in this function)
mod_lisp.c:1115: `server1_conf' undeclared (first use in this function)
mod_lisp.c:1116: `server2_conf' undeclared (first use in this function)
mod_lisp.c:1126: warning: assignment makes pointer from integer without 
a cast
mod_lisp.c: At top level:
mod_lisp.c:1331: warning: initialization from incompatible pointer type
mod_lisp.c:1362: parse error before "lisp_handlers"
mod_lisp.c:1364: warning: braces around scalar initializer
mod_lisp.c:1364: warning: (near initialization for `lisp_handlers[0]')
mod_lisp.c:1364: warning: initialization makes integer from pointer 
without a cast
mod_lisp.c:1364: warning: excess elements in scalar initializer
mod_lisp.c:1364: warning: (near initialization for `lisp_handlers[0]')
mod_lisp.c:1365: warning: braces around scalar initializer
mod_lisp.c:1365: warning: (near initialization for `lisp_handlers[1]')
mod_lisp.c:1365: warning: initialization makes integer from pointer 
without a cast
mod_lisp.c:1366: warning: data definition has no type or storage class
mod_lisp.c:1382: conflicting types for `lisp_module'
mod_lisp.c:209: previous declaration of `lisp_module'
mod_lisp.c:1384: `this_module_needs_to_be_ported_to_apache_2_0' 
undeclared here (not in a function)
mod_lisp.c:1384: initializer element is not constant
mod_lisp.c:1384: (near initialization for `lisp_module.version')
mod_lisp.c:1385: warning: initialization makes integer from pointer 
without a cast
mod_lisp.c:1386: warning: initialization makes integer from pointer 
without a cast
mod_lisp.c:1387: warning: initialization from incompatible pointer type
mod_lisp.c:1389: warning: initialization from incompatible pointer type
mod_lisp.c:1390: warning: initialization makes integer from pointer 
without a cast
mod_lisp.c:1391: warning: initialization from incompatible pointer type
mod_lisp.c:1392: warning: initialization from incompatible pointer type
mod_lisp.c:1393: warning: initialization from incompatible pointer type
mod_lisp.c:1394: warning: initialization from incompatible pointer type
mod_lisp.c:1395: warning: initialization from incompatible pointer type
mod_lisp.c:1396: warning: initialization from incompatible pointer type
mod_lisp.c:1397: warning: initialization from incompatible pointer type
mod_lisp.c:1398: warning: excess elements in struct initializer
mod_lisp.c:1398: warning: (near initialization for `lisp_module')
mod_lisp.c:1400: warning: excess elements in struct initializer
mod_lisp.c:1400: warning: (near initialization for `lisp_module')
mod_lisp.c:1403: warning: excess elements in struct initializer
mod_lisp.c:1403: warning: (near initialization for `lisp_module')
mod_lisp.c:1406: warning: excess elements in struct initializer
mod_lisp.c:1406: warning: (near initialization for `lisp_module')
mod_lisp.c:1411: warning: excess elements in struct initializer
mod_lisp.c:1411: warning: (near initialization for `lisp_module')
apxs:Error: Command failed with rc=65536






More information about the bese-devel mailing list