This is compile.sh
libtool --silent --mode=compile gcc -g -O2 -pthread -DLINUX=2 \
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE \
-I/usr/local/apache2/include \
-prefer-pic -c mod_vhost_limit.c && touch mod_vhost_limit.slo
libtool --silent --mode=link gcc -g -O2 -pthread -DLINUX=2 \
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE \
-D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER \
-I/usr/local/apache2/include \
-export-dynamic -o mod_vhost_limit.la -rpath /usr/lib/httpd/modules \
-module -avoid-version mod_vhost_limit.lo
rm -rf *.a *.la *.lo *.slo *.o
mv .libs/*.so .
rm -rf .libs
On Fri, Nov 27, 2009 at 8:43 AM, Mohit Anchlia <[email protected]> wrote:
> no
>
> On Fri, Nov 27, 2009 at 8:41 AM, Eric Covener <[email protected]> wrote:
>> On 11/27/09, Mohit Anchlia <[email protected]> wrote:
>>> I downloaded the module mod_vhost_limit from "http://apache.ivn.cl/"
>>> site. When I try to complile I get the following errors. The module I
>>> downloaded is for apache2. Could someone please help me?
>>>
>>> In file included from /usr/local/apache2/include/ap_config.h:25,
>>> from /usr/local/apache2/include/httpd.h:43,
>>> from mod_vhost_limit.c:53:
>>> /usr/local/apache2/include/apr.h:285: error: syntax error before
>>> "apr_off_t"
>>> /usr/local/apache2/include/apr.h:285: warning: data definition has no
>>> type or storage class
>>
>>
>> Are you using apxs?
>>
>> --
>> Eric Covener
>> [email protected]
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: [email protected]
>> " from the digest: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]