Re: compiling PHP with --enable-maintainer-zts crypt_r() is unknown

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

 



On Thu, Jan 29, 2015 at 06:26:06PM +0100, rosenberger@xxxxxxxxx wrote:
> Hello
> 
> i tried to build php 5.4.20 or 5.6.5 with ZTS support to use pthreads.
> But the build always stops with
> 
> 
> /usr/src/packages/BUILD/php-5.6.5/ext/standard/crypt.c: In function 
> 'php_crypt':
> /usr/src/packages/BUILD/php-5.6.5/ext/standard/crypt.c:239:6: error: 
> #error Data struct used by crypt_r() is unknown. Please report.
> #    error Data struct used by crypt_r() is unknown. Please report.
> ^

What OS is this?  

Kevin Kinsey



> /usr/src/packages/BUILD/php-5.6.5/ext/standard/crypt.c:241:3: warning: 
> implicit declaration of function 'crypt_r' 
> [-Wimplicit-function-declaration]
> crypt_res = crypt_r(password, salt, &buffer);
> ^
> /usr/src/packages/BUILD/php-5.6.5/ext/standard/crypt.c:241:40: error: 
> 'buffer' undeclared (first use in this function)
> crypt_res = crypt_r(password, salt, &buffer);
> ^
> /usr/src/packages/BUILD/php-5.6.5/ext/standard/crypt.c:241:40: note: 
> each undeclared identifier is reported only once for each function it 
> appears in
> make: *** [ext/standard/crypt.lo] Fehler 1
> 
> 
> my configure looks like this
> ./configure --prefix=/usr --datadir=/usr/share/php5 
> --mandir=/usr/share/man --bindir=/usr/bin --with-libdir=lib64 
> --includedir=/usr/include --sysconfdir=/etc/php5/apache2 
> --with-config-file-path=/etc/php5/apache2 
> --with-config-file-scan-dir=/etc/php5/conf.d --enable-libxml 
> --enable-debug --enable-maintainer-zts --enable-session 
> --with-pcre-regex=/usr --enable-xml --enable-simplexml --enable-spl 
> --enable-filter  --enable-inline-optimization --disable-rpath 
> --disable-static --enable-shared --with-pic --with-gnu-ld 
> --enable-re2c-cgoto --with-system-tzdata=/usr/share/zoneinfo 
> --enable-hash --with-mhash --with-apxs2=/usr/sbin/apxs2 --disable-all
> 
> in the end i wil only build the cli with pthread support to control the 
> Banana PI Robot for my son.
> 
> Best Regards
> Torsten
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux