Hello White Angel,

  Thanks a lot, I found apr.h and replaced
  typedef off64_t apr_off_t;
  with
  typedef int64_t apr_off_t;

  and it compiled fine. But is this normal? I don't believe apr
  headers are incorrect...

Wgd> I had the same.

Wgd> Fast solution:
Wgd> edit the apache apr header and replace apr_off_t with int64_t (or
Wgd> simular).

Wgd> long:

Wgd> search for apr_off_t defintion, (sometwhere in apr dir) and include the
Wgd> header in the mod_neko modul.





Wgd> Am Fri, 1 Dec 2006 12:40:12 +0300 schrieb Michael Pliskin
Wgd> <[EMAIL PROTECTED]> :

>> Hello list,
>> 
>>   I'm having trouble compiling neko with apache 2.2.3 and apr 1.2.7.
>>   After specifying /usr/local/apr/include/apr-1 as include path to
>>   search for apr.h, I have a bunch of errors starting from
>> 
>>   gcc -O3 -fPIC -c -I../../vm -I/usr/local/apache2/include 
>> -I/usr/local/apr/include/apr-1 mod_neko.c
>>   In file included from /usr/local/apache2/include/ap_config.h:25,
>>                  from /usr/local/apache2/include/httpd.h:43,
>>                  from mod_neko.h:20,
>>                  from mod_neko.c:17:
>>   /usr/local/apr/include/apr-1/apr.h:270: error: syntax error before 
>> 'apr_off_t'
>>   /usr/local/apr/include/apr-1/apr.h:270: warning: data definition has no 
>> type or storage class
>> 
>>   I saw some related discussion in the list some time ago and then it
>>   was the conflict with apache 2.0 headers - but I don't have them on
>>   my system! Any ideas?
>> 
>> -- 
>> Best regards,
>>  Michael                          mailto:[EMAIL PROTECTED]
>> 
>> 
>> -- 
>> Neko : One VM to run them all
>> (http://nekovm.org)



-- 
Best regards,
 Michael                            mailto:[EMAIL PROTECTED]


-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to