From: dieter at fiebelkorn dot net
Operating system: MacOS X 10.3 (Darwin 7.0)
PHP version: 4.3.3
PHP Bug Type: Compile Failure
Bug description: Unable compile "dns.c", unable to link "libphp4.so"

Description:
------------
On MacOS X 10.3 (Darwin 7.0) using gcc 3.3:

-----

Cannot compile "dns.c" (missing symbols T_MX and more).

Fixed by include:
#include <nameser8_compat.h>
on "dns.c"

-----

Cannot link "libphp4.so" (unresolved symbols _res_9_...)

Fixed by add "-lresolv" to "EXTRA_LIBS" in "Makefile"

Reproduce code:
---------------
Take "Panther" and pure "PHP 4.3.3"!

Expected result:
----------------
libphp4.so

Actual result:
--------------
Error "undefined symbols"
Error "unresolved symbols"

--
Edit bug report at [url]http://bugs.php.net/?id=26022&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=26022&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=26022&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=26022&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=26022&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=26022&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=26022&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=26022&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=26022&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=26022&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=26022&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=26022&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=26022&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=26022&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=26022&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=26022&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=26022&r=float[/url]