Re: msession compilation errors
| From: | mlwmohawk | Date: | Tue, 15 Jan 2002 01:22:03 +0000 |
| Subject: | Re: msession compilation errors | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-9064@lists.php.net to get a copy of this message | ||
I have not been able to reproduce this error.
It looks like you may not have updated php_msession.h?
On Sunday 13 January 2002 05:59 pm, Ryan Mahoney wrote:
> I downloaded the CVS version of the config.m4 file and my php can see
> msession now. However, I am unable to compile due to the following errors:
>
> gcc -I. -I/home/ryan/php-4.1.1/ext/msession -I/home/ryan/php-4.1.1/main
> -I/home/ryan/php-4.1.1 -I/home/ryan/apache_1.3.22/src/include
> -I/home/ryan/apache_1.3.22/src/os/unix -I/home/ryan/php-4.1.1/Zend
> -I/usr/local/include -I/usr/local/etc/mck331/c-api
> -I/home/ryan/php-4.1.1/ext/xml/expat -I/home/ryan/php-4.1.1/TSRM -g
> -O2 -c msession.c && touch msession.lo
> msession.c:99: warning: initialization makes integer from pointer without a
> cast
> msession.c:99: initializer element is not computable at load time
> msession.c:99: (near initialization for `msession_module_entry.size')
> msession.c:100: warning: initialization makes integer from pointer without
> a cast
> msession.c:101: warning: initialization makes integer from pointer without
> a cast
> msession.c:101: initializer element is not computable at load time
> msession.c:101: (near initialization for
> `msession_module_entry.zend_debug') msession.c:102: warning: initialization
> makes integer from pointer without a cast
> msession.c:102: initializer element is not computable at load time
> msession.c:102: (near initialization for `msession_module_entry.zts')
> msession.c:103: warning: initialization from incompatible pointer type
> msession.c:104: warning: initialization from incompatible pointer type
> msession.c:105: warning: initialization from incompatible pointer type
> make[3]: *** [msession.lo] Error 1
> make[3]: Leaving directory `/home/ryan/php-4.1.1/ext/msession'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/ryan/php-4.1.1/ext/msession'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ryan/php-4.1.1/ext'
> make: *** [all-recursive] Error 1