Re: mod_vhost compilation errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <mohitanchlia@xxxxxxxxx> wrote:
> no
>
> On Fri, Nov 27, 2009 at 8:41 AM, Eric Covener <covener@xxxxxxxxx> wrote:
>> On 11/27/09, Mohit Anchlia <mohitanchlia@xxxxxxxxx> 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
>> covener@xxxxxxxxx
>>
>> ---------------------------------------------------------------------
>> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
>>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>>
>

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux