php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17941 No YP support
Submitted: 2002-06-24 06:42 UTC Modified: 2002-06-24 14:03 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: red at tripany dot com Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.0CVS-2002-06-24 OS: Debian 2.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: red at tripany dot com
New email:
PHP Version: OS:

 

 [2002-06-24 06:42 UTC] red at tripany dot com
Using the following configure option, 

./configure --prefix=/opt/php-4.2.1 --enable-force-cgi-redirect --enable-ftp --enable-magic-quotes --enable-bcmath --enable-calendar --enable-dbase --enable-dbx --enable-ftp --enable-gd-native-ttf --enable-mbstring --enable-track-vars --enable-ucd-snmp-hack --enable-sockets --enable-sysvsem --enable-sysvshm --enable-yp --enable-shared=PKGS --enable-debug --enable-memory-limit --with-zlib --with-gd --with-jpeg --with-tiff-dir=/usr/lib --with-png-dir=/usr/lib --with-mysql --with-snmp --with-apxs2=/opt/httpd-2.0.39/bin/apxs

(which goes fine!)

the make gives this error:

Zend/zend_ini.lo Zend/zend_qsort.lo Zend/z
/cli/getopt.lo main/internal_functions_cli.lo -o sapi/cli/php -Wl,--export-dynam
v -lm -ldl -lresolv -lcrypt -ldl -Wl,--rpath -Wl,/usr/local/lib
ext/yp/yp.lo: In function `zif_yp_get_default_domain':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:81: undefined reference to `yp_
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:82: undefined reference to `ype
ext/yp/yp.lo: In function `zif_yp_order':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:108: undefined reference to `yp
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:109: undefined reference to `yp
ext/yp/yp.lo: In function `zif_yp_master':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:131: undefined reference to `yp
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:132: undefined reference to `yp
ext/yp/yp.lo: In function `zif_yp_match':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:156: undefined reference to `yp
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:157: undefined reference to `yp
ext/yp/yp.lo: In function `zif_yp_first':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:180: undefined reference to `yp
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:181: undefined reference to `yp
ext/yp/yp.lo: In function `zif_yp_next':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:209: undefined reference to `yp
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:210: undefined reference to `yp
ext/yp/yp.lo: In function `php_foreach_all':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:234: undefined reference to `yp
ext/yp/yp.lo: In function `zif_yp_all':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:278: undefined reference to `yp
ext/yp/yp.lo: In function `php_foreach_cat':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:290: undefined reference to `yp
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:305: undefined reference to `yp
ext/yp/yp.lo: In function `zif_yp_cat':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:331: undefined reference to `yp
ext/yp/yp.lo: In function `zif_yp_err_string':
/usr/local/src/php/php4-200206240000/ext/yp/yp.c:360: undefined reference to `yp
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

so no yp support :(

Cheers,

Robin Edgar

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-24 10:36 UTC] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 [2002-06-24 11:24 UTC] red at tripany dot com
the make now gives:

Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -o sapi/cli/php -Wl,--export-dynamic  -L/usr/local/lib -lsnmp -lgd -lpng -lz -lz -lcrypt -lresolv -lm -ldl -lresolv -lcrypt -ldl -Wl,--rpath -Wl,/usr/local/lib
ext/yp/yp.lo: In function `zif_yp_get_default_domain':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:81: undefined reference to `yp_get_default_domain'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:82: undefined reference to `yperr_string'
ext/yp/yp.lo: In function `zif_yp_order':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:108: undefined reference to `yp_order'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:109: undefined reference to `yperr_string'
ext/yp/yp.lo: In function `zif_yp_master':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:131: undefined reference to `yp_master'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:132: undefined reference to `yperr_string'
ext/yp/yp.lo: In function `zif_yp_match':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:156: undefined reference to `yp_match'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:157: undefined reference to `yperr_string'
ext/yp/yp.lo: In function `zif_yp_first':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:180: undefined reference to `yp_first'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:181: undefined reference to `yperr_string'
ext/yp/yp.lo: In function `zif_yp_next':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:209: undefined reference to `yp_next'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:210: undefined reference to `yperr_string'
ext/yp/yp.lo: In function `php_foreach_all':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:234: undefined reference to `ypprot_err'
ext/yp/yp.lo: In function `zif_yp_all':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:278: undefined reference to `yp_all'
ext/yp/yp.lo: In function `php_foreach_cat':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:290: undefined reference to `ypprot_err'
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:305: undefined reference to `yperr_string'
ext/yp/yp.lo: In function `zif_yp_cat':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:331: undefined reference to `yp_all'
ext/yp/yp.lo: In function `zif_yp_err_string':
/usr/local/src/php/php4-200206240600/ext/yp/yp.c:360: undefined reference to `yperr_string'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

Cheers
Robin Edgar
 [2002-06-24 11:28 UTC] sniper@php.net
You just need to wait for new snapshot to be generated,
the change just hasn't got in that one yet.

 [2002-06-24 11:35 UTC] red at tripany dot com
see above, didn't work :(
 [2002-06-24 11:37 UTC] red at tripany dot com
sorry, didn't get your message before posting above ...
 [2002-06-24 14:03 UTC] sniper@php.net
This is fixed and now the fix should also be in the latest
snapshot too. http://snaps.php.net/php4-latest.tar.gz

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC