Re: threads extension
| From: | Alan Knowles | Date: | Fri, 02 Jan 2004 14:35:35 +0000 |
| Subject: | Re: threads extension | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-303@lists.php.net to get a copy of this message | ||
http://cvs.php.net/cvs.php/pecl/threads
Regards
Alan
Paternoster Sergio wrote:
Hi Marc, sorry, where can I find this thread extension? I did visit pecl.php.net and there is no threads ext... Thanx in advance regards Sergio -----Original Message----- From: Marc [mailto:bac@oops.com.br] Sent: Sun 28/12/2003 14.26 To: pecl-dev@lists.php.net Cc: Subject: [PECL-DEV] threads extension I did not obtain to compile the extension threads in linux, appearing the following message: In file included from /home/www/php-4.3.4/ext/threads/threads.c:40: /home/www/php-4.3.4/ext/threads/php_threads.h:58: parse error before "THR_RW_LOCK" /home/www/php-4.3.4/ext/threads/php_threads.h:58: warning: no semicolon at end of struct or union /home/www/php-4.3.4/ext/threads/php_threads.h:59: warning: data definition has no type or storage class /home/www/php-4.3.4/ext/threads/php_threads.h:63: parse error before "THR_THREAD" /home/www/php-4.3.4/ext/threads/php_threads.h:63: warning: no semicolon at end of struct or union /home/www/php-4.3.4/ext/threads/php_threads.h:64: warning: data definition has no type or storage class /home/www/php-4.3.4/ext/threads/php_threads.h:65: parse error before '}' token /home/www/php-4.3.4/ext/threads/php_threads.h:65: warning: data definition has no type or storage class /home/www/php-4.3.4/ext/threads/threads.c:52: parse error before "threads_globals" /home/www/php-4.3.4/ext/threads/threads.c:52: warning: data definition has no type or storage class /home/www/php-4.3.4/ext/threads/threads.c: In function `_php_threads_join_children': /home/www/php-4.3.4/ext/threads/threads.c:114: `THR_THREAD' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:114: (Each undeclared identifier is reported only once /home/www/php-4.3.4/ext/threads/threads.c:114: for each function it appears in.) /home/www/php-4.3.4/ext/threads/threads.c:114: `thread' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:114: parse error before ')' token /home/www/php-4.3.4/ext/threads/threads.c: At top level: /home/www/php-4.3.4/ext/threads/threads.c:124: parse error before '*' token /home/www/php-4.3.4/ext/threads/threads.c: In function `zm_activate_threads': /home/www/php-4.3.4/ext/threads/threads.c:162: request for member `self' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:163: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:165: request for member `children' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:165: `THR_THREAD' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c: In function `zm_deactivate_threads': /home/www/php-4.3.4/ext/threads/threads.c:178: request for member `children' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:179: request for member `self' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:181: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:182: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c: In function `THR_THREAD_PROC': /home/www/php-4.3.4/ext/threads/threads.c:214: `THR_THREAD' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:214: `thread' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:214: parse error before ')' token /home/www/php-4.3.4/ext/threads/threads.c:216: request for member `self' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:218: `sapi_globals_id' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c: In function `zif_thread_start': /home/www/php-4.3.4/ext/threads/threads.c:294: `THR_THREAD' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:294: `thread' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:301: parse error before ')' token /home/www/php-4.3.4/ext/threads/threads.c:304: `tsrm_ls' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:307: `phpthreads_create' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:310: `THR_INFINITE' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:311: request for member `children' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c: In function `phpthreads_include': /home/www/php-4.3.4/ext/threads/threads.c:322: `THR_THREAD' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:322: `thread' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:322: parse error before ')' token /home/www/php-4.3.4/ext/threads/threads.c:327: invalid operands to binary * /home/www/php-4.3.4/ext/threads/threads.c:327: parse error before ')' token /home/www/php-4.3.4/ext/threads/threads.c:335: `sapi_globals_id' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:340: request for member `self' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:341: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c: In function `zif_thread_include': /home/www/php-4.3.4/ext/threads/threads.c:383: `THR_THREAD' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:383: `thread' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:384: invalid operands to binary * /home/www/php-4.3.4/ext/threads/threads.c:384: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:390: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:393: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:393: parse error before ')' token /home/www/php-4.3.4/ext/threads/threads.c:394: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:395: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:396: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:401: parse error before ')' token /home/www/php-4.3.4/ext/threads/threads.c:404: `tsrm_ls' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:406: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:415: `THR_INFINITE' undeclared (first use in this function) /home/www/php-4.3.4/ext/threads/threads.c:417: request for member `children' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c: In function `zif_thread_set': /home/www/php-4.3.4/ext/threads/threads.c:430: invalid operands to binary * /home/www/php-4.3.4/ext/threads/threads.c:430: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:448: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:449: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:450: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c: In function `zif_thread_get': /home/www/php-4.3.4/ext/threads/threads.c:479: invalid operands to binary * /home/www/php-4.3.4/ext/threads/threads.c:479: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:485: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:486: request for member `vars' in something not a structure or union /home/www/php-4.3.4/ext/threads/threads.c:500: request for member `vars' in something not a structure or union make: ** [threads.lo] Erro 1 how I must proceed to compile I modulate it? more informations: OS: Conectiva Linux 9 kernel: Linux manga.oops.com.br 2.4.18-3U8_4cl #1 Qui Mai 30 01:55:03 BRT 2002 i686 unknown gcc: Reading specs from /usr/lib/gcc-lib/i386-conectiva-linux/3.2.2/specs Configured with: /usr/src/rpm/BUILD/gcc-3.2.2/configure --prefix=/usr --bindir=/usr/bin --lib dir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/us r/share --enable-shared --enable-threads=posix --enable-haifa --enable-libgc j --enable-languages=c,c++,f77,objc,java --with-system-zlib --with-gxx_inclu de_dir=/usr/include/c++/3.2.2 --host=i386-conectiva-linux Thread model: posix gcc version 3.2.2 php: PHP 4.3.4 (cgi) (built: Dec 27 2003 13:33:32) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies php ./configure : ./configure --prefix=/home/www/php4 --enable-cli --enable-pcntl --enable-pos ix --enable-shmop --enable-sockets --enable-threads --disable-mysql --enable -maintainer-zts yours truly, marc victor carvalho cabadas bac@oops.com.br -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com