|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-08-31 08:55 UTC] cahagn_o at epita dot fr
Hi, OS: NetBSD 1.3.3 x86 gcc: 2.7.2.2+myc2 PHP: 4.0.2 Here's the configure line: ./configure --without-gd --with-curl=/u/guest/www/mbin/i386-NetBSD/ Compiling with or without GD provokes the same failure. Curl is v.7.1.1 (I also tried v.7.1) and is installed with default parameters (m ake install) so I guess every include and lib file are present. GD support works fine when I configure it (GD 1.8.3+png+jpeg) I'd be happy to see a more detailed config.log about curl support: configure:9238: checking for CURL support Here's a little warning: In file included from /nfs/s5/space/users/guest/www/compil/php-4.0.2/ext/curl/php_curl.h:31, from internal_functions.c:47: /u/guest/www/mbin/i386-NetBSD/include/curl/curl.h:175: warning: `T' redefined Here're the warnings that make the compilation fail, this is the final linking step: /usr/lib/bison.simple:249: Definition of symbol `_gd_parse' (multiply defined) /usr/local/share/bison.simple:249: Definition of symbol `_gd_parse' (multiply defined) Even though I do not have bison and do not have this file /usr/lib/bison.simple neither the other one. There seems to be other problems (similar warnings) with this version of gcc (see next bug report :) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 23:00:02 2026 UTC |
Just tested RC4 --with-curl (7.3 I guess) One build warning I did not have before: curl.c: In function `php_if_curl_init': curl.c:303: warning: passing arg 3 of `zend_llist_init' from incompatible pointer type And still the same fatal warning when linking: parsedate.c:619: Definition of symbol `_gd_parse' (multiply defined) y.tab.c:1102: Definition of symbol `_gd_parse' (multiply defined) ./configure --with-config-file-path=/usr/www/etc/httpd/conf/php_cgi \ --enable-discard-path \ --without-mysql \ --with-curl=/u/guest/www/mbin/i386-NetBSD You can consider closing this bug unfortunately because: - I won't have the time to test PHP on this particular platform in the future (it takes 1 hour to build !) - Adding cURL support would increase the PHP binary even more and slowing down its execution (running as CGI). It's really related to old version of gcc, and the file indicated in previous updates.