[Mono-list] mod_mono make error

Shawn Vose mono@programmerforrent.com
Fri, 10 Dec 2004 17:13:15 -0500


This is a multi-part message in MIME format.
--------------010807020500070706070000
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I just grabbed the latest version of mod_mono from the downloads 
section, when  I run make after running :

./configure --prefix=/usr/local/apache --with-apxs=/usr/local/apache 
--with-apr-config=/usr/local/apache

*I get:*
---
Configuration summary for mod_mono

   * Installation prefix = /usr/local/apache
   * Apache version = 1.3
   * Apache modules directory =
   * apxs = /usr/local/apache
   * mono prefix = /usr
   * Default MonoApplicationsConfigDir = /mod-mono-applications

---
*When I run make: The following is as far as it makes it.*

[root@devServer mod_mono-1.0.5]# make
Making all in src
make[1]: Entering directory `/home/voseman/mono/mod_mono-1.0.5/src'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../include
-g -O2 -I  -DAPACHE13 -DEAPI  -Wall 
-DDFLT_MONO_CONFIG_DIR=\"/mod-mono-applicati
ons\" -g -O2 -I  -DAPACHE13 -DEAPI  -MT mod_mono_la-mod_mono.lo -MD -MP 
-MF ".de
ps/mod_mono_la-mod_mono.Tpo" -c -o mod_mono_la-mod_mono.lo `test -f 
'mod_mono.c'
 || echo './'`mod_mono.c; \
then mv -f ".deps/mod_mono_la-mod_mono.Tpo" 
".deps/mod_mono_la-mod_mono.Plo"; el
se rm -f ".deps/mod_mono_la-mod_mono.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -I -DAPACHE13 -DEAPI 
-Wall -DDF
LT_MONO_CONFIG_DIR=\"/mod-mono-applications\" -g -O2 -I -DAPACHE13 
-DEAPI -MT mo
d_mono_la-mod_mono.lo -MD -MP -MF .deps/mod_mono_la-mod_mono.Tpo -c 
mod_mono.c
-fPIC -DPIC -o .libs/mod_mono_la-mod_mono.o
mod_mono.c:378: conflicting types for `apr_sockaddr_info_get'
/usr/local/include/apr_network_io.h:394: previous declaration of 
`apr_sockaddr_i
nfo_get'
mod_mono.c: In function `apr_sockaddr_info_get':
mod_mono.c:400: structure has no member named `addrlen'
mod_mono.c:401: structure has no member named `addr'
mod_mono.c:402: structure has no member named `addr'
mod_mono.c:403: structure has no member named `addr'
mod_mono.c: At top level:
mod_mono.c:413: warning: static declaration for `apr_socket_connect' 
follows non
-static
mod_mono.c: In function `apr_socket_connect':
mod_mono.c:417: structure has no member named `addr'
mod_mono.c:417: structure has no member named `addrlen'
mod_mono.c: At top level:
mod_mono.c:425: warning: static declaration for `apr_socket_send' 
follows non-st
atic
mod_mono.c: In function `apr_socket_send':
mod_mono.c:431: dereferencing pointer to incomplete type
mod_mono.c: At top level:
mod_mono.c:441: warning: static declaration for `apr_socket_recv' 
follows non-st
atic
mod_mono.c:459: conflicting types for `apr_wait_for_io_or_timeout'
/usr/local/include/apr_support.h:42: previous declaration of 
`apr_wait_for_io_or
_timeout'
mod_mono.c: In function `apr_wait_for_io_or_timeout':
mod_mono.c:467: dereferencing pointer to incomplete type
mod_mono.c:468: dereferencing pointer to incomplete type
mod_mono.c: At top level:
mod_mono.c:493: conflicting types for `apr_sleep'
/usr/local/include/apr_time.h:190: previous declaration of `apr_sleep'
mod_mono.c: In function `setup_socket':
mod_mono.c:796: dereferencing pointer to incomplete type
mod_mono.c:796: warning: implicit declaration of function `ap_psocket'
mod_mono.c:797: dereferencing pointer to incomplete type
mod_mono.c:798: dereferencing pointer to incomplete type
/usr/include/stdlib.h: At top level:
mod_mono.c:459: warning: `apr_wait_for_io_or_timeout' defined but not used
make[1]: *** [mod_mono_la-mod_mono.lo] Error 1
make[1]: Leaving directory `/home/voseman/mono/mod_mono-1.0.5/src'
make: *** [all-recursive] Error 1


Any ideas?

Kindest Regards,
Shawn Vose

--------------010807020500070706070000
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I just grabbed the latest version of mod_mono from the downloads
section, when&nbsp; I run make after running :<br>
<br>
./configure --prefix=/usr/local/apache --with-apxs=/usr/local/apache
--with-apr-config=/usr/local/apache<br>
<br>
<b>I get:</b><br>
---<br>
Configuration summary for mod_mono<br>
<br>
&nbsp;&nbsp; * Installation prefix = /usr/local/apache<br>
&nbsp;&nbsp; * Apache version = 1.3<br>
&nbsp;&nbsp; * Apache modules directory =<br>
&nbsp;&nbsp; * apxs = /usr/local/apache<br>
&nbsp;&nbsp; * mono prefix = /usr<br>
&nbsp;&nbsp; * Default MonoApplicationsConfigDir = /mod-mono-applications<br>
<br>
---<br>
<b>When I run make: The following is as far as it makes it.</b><br>
<br>
[root@devServer mod_mono-1.0.5]# make<br>
Making all in src<br>
make[1]: Entering directory `/home/voseman/mono/mod_mono-1.0.5/src'<br>
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../include<br>
-g -O2 -I&nbsp; -DAPACHE13 -DEAPI&nbsp; -Wall
-DDFLT_MONO_CONFIG_DIR=\"/mod-mono-applicati<br>
ons\" -g -O2 -I&nbsp; -DAPACHE13 -DEAPI&nbsp; -MT mod_mono_la-mod_mono.lo -MD -MP
-MF ".de<br>
ps/mod_mono_la-mod_mono.Tpo" -c -o mod_mono_la-mod_mono.lo `test -f
'mod_mono.c'<br>
&nbsp;|| echo './'`mod_mono.c; \<br>
then mv -f ".deps/mod_mono_la-mod_mono.Tpo"
".deps/mod_mono_la-mod_mono.Plo"; el<br>
se rm -f ".deps/mod_mono_la-mod_mono.Tpo"; exit 1; fi<br>
mkdir .libs<br>
&nbsp;gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -I -DAPACHE13 -DEAPI
-Wall -DDF<br>
LT_MONO_CONFIG_DIR=\"/mod-mono-applications\" -g -O2 -I -DAPACHE13
-DEAPI -MT mo<br>
d_mono_la-mod_mono.lo -MD -MP -MF .deps/mod_mono_la-mod_mono.Tpo -c
mod_mono.c<br>
-fPIC -DPIC -o .libs/mod_mono_la-mod_mono.o<br>
mod_mono.c:378: conflicting types for `apr_sockaddr_info_get'<br>
/usr/local/include/apr_network_io.h:394: previous declaration of
`apr_sockaddr_i<br>
nfo_get'<br>
mod_mono.c: In function `apr_sockaddr_info_get':<br>
mod_mono.c:400: structure has no member named `addrlen'<br>
mod_mono.c:401: structure has no member named `addr'<br>
mod_mono.c:402: structure has no member named `addr'<br>
mod_mono.c:403: structure has no member named `addr'<br>
mod_mono.c: At top level:<br>
mod_mono.c:413: warning: static declaration for `apr_socket_connect'
follows non<br>
-static<br>
mod_mono.c: In function `apr_socket_connect':<br>
mod_mono.c:417: structure has no member named `addr'<br>
mod_mono.c:417: structure has no member named `addrlen'<br>
mod_mono.c: At top level:<br>
mod_mono.c:425: warning: static declaration for `apr_socket_send'
follows non-st<br>
atic<br>
mod_mono.c: In function `apr_socket_send':<br>
mod_mono.c:431: dereferencing pointer to incomplete type<br>
mod_mono.c: At top level:<br>
mod_mono.c:441: warning: static declaration for `apr_socket_recv'
follows non-st<br>
atic<br>
mod_mono.c:459: conflicting types for `apr_wait_for_io_or_timeout'<br>
/usr/local/include/apr_support.h:42: previous declaration of
`apr_wait_for_io_or<br>
_timeout'<br>
mod_mono.c: In function `apr_wait_for_io_or_timeout':<br>
mod_mono.c:467: dereferencing pointer to incomplete type<br>
mod_mono.c:468: dereferencing pointer to incomplete type<br>
mod_mono.c: At top level:<br>
mod_mono.c:493: conflicting types for `apr_sleep'<br>
/usr/local/include/apr_time.h:190: previous declaration of `apr_sleep'<br>
mod_mono.c: In function `setup_socket':<br>
mod_mono.c:796: dereferencing pointer to incomplete type<br>
mod_mono.c:796: warning: implicit declaration of function `ap_psocket'<br>
mod_mono.c:797: dereferencing pointer to incomplete type<br>
mod_mono.c:798: dereferencing pointer to incomplete type<br>
/usr/include/stdlib.h: At top level:<br>
mod_mono.c:459: warning: `apr_wait_for_io_or_timeout' defined but not
used<br>
make[1]: *** [mod_mono_la-mod_mono.lo] Error 1<br>
make[1]: Leaving directory `/home/voseman/mono/mod_mono-1.0.5/src'<br>
make: *** [all-recursive] Error 1<br>
<br>
<br>
Any ideas?<br>
<br>
Kindest Regards,<br>
Shawn Vose<br>
</body>
</html>

--------------010807020500070706070000--