Re: 4.0.2 TSRM compile failure
| From: | Joey Smith | Date: | Mon, 11 Sep 2000 00:34:07 +0000 |
| Subject: | Re: 4.0.2 TSRM compile failure | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-32856@lists.php.net to get a copy of this message | ||
Are you trying to enable thread safety? IE, using something like:
--enable-experimental-zts ?
On Sun, 10 Sep 2000, Matthew Hagerty wrote the following to php-dev@lists.p...:
> Greetings,
>
> I'm trying very hard to get 4.0.2 to compile on my system. I finally got
> through the configure, now during make I get the following error. My
> system config is:
>
> FreeBSD-4.0-RELEASE
> Apache-1.3.12
> gcc version 2.95.2 19991024 (release)
>
> ./configure --with-gd=/usr/local --with-jpeg-dir=/usr/local
> --with-tiff-dir=/usr/local --with-zlib --with-mcrypt=/usr/local
> --with-pgsql --with-cpdflib=/usr/local --with-dbase
> --with-config-file-path=/usr/site/conf --enable-track-vars --without-mysql
> --with-cybercash=/usr/local/mck --with-apache=../../tempapache/apache_1.3.12
>
>
> Thanks,
> Matthew
>
>
>
> In file included from TSRM.c:16:
> TSRM.h:84: syntax error before `THREAD_T'
> TSRM.h:98: syntax error before `tsrm_thread_id'
> TSRM.h:98: warning: data definition has no type or storage class
> TSRM.h:99: syntax error before `tsrm_mutex_alloc'
> TSRM.h:99: warning: data definition has no type or storage class
> TSRM.h:100: syntax error before `mutexp'
> TSRM.h:101: syntax error before `mutexp'
> TSRM.h:102: syntax error before `mutexp'
> TSRM.h:104: syntax error before `thread_id'
> TSRM.h:105: syntax error before `thread_id'
> TSRM.c:29: syntax error before `THREAD_T'
> TSRM.c:51: syntax error before `tsmm_mutex'
> TSRM.c:51: warning: data definition has no type or storage class
> TSRM.c:181: syntax error before `THREAD_T'
> TSRM.c: In function `allocate_new_resource':
> TSRM.c:185: `thread_resources_ptr' undeclared (first use in this function)
> TSRM.c:185: (Each undeclared identifier is reported only once
> TSRM.c:185: for each function it appears in.)
> TSRM.c:188: `thread_id' undeclared (first use in this function)
> TSRM.c: At top level:
> TSRM.c:209: syntax error before `THREAD_T'
> TSRM.c: In function `ts_resource_ex':
> TSRM.c:211: syntax error before `thread_id'
> TSRM.c:216: `th_id' undeclared (first use in this function)
> TSRM.c:217: `thread_id' undeclared (first use in this function)
> TSRM.c:221: `id' undeclared (first use in this function)
> TSRM.c:233: structure has no member named `thread_id'
> TSRM.c: In function `ts_free_thread':
> TSRM.c:261: syntax error before `thread_id'
> TSRM.c:267: `thread_id' undeclared (first use in this function)
> TSRM.c:271: structure has no member named `thread_id'
> TSRM.c: At top level:
> TSRM.c:311: syntax error before `tsrm_thread_id'
> TSRM.c:328: syntax error before `tsrm_mutex_alloc'
> TSRM.c: In function `tsrm_mutex_alloc':
> TSRM.c:330: syntax error before `mutexp'
> TSRM.c:349: `mutexp' undeclared (first use in this function)
> TSRM.c: At top level:
> TSRM.c:354: syntax error before `mutexp'
> TSRM.c: In function `tsrm_mutex_free':
> TSRM.c:356: `mutexp' undeclared (first use in this function)
> TSRM.c: At top level:
> TSRM.c:377: syntax error before `mutexp'
> TSRM.c:398: syntax error before `mutexp'
> TSRM.c:418: syntax error before `thread_id'
> TSRM.c:427: syntax error before `thread_id'
> *** Error code 1
>
> Stop in /usr/local/download/tphp4/php-4.0.2/TSRM.
> *** Error code 1
>
> Stop in /usr/local/download/tphp4/php-4.0.2.
>
>
>