Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4093 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23364 invoked from network); 19 Aug 2003 14:37:17 -0000 Received: from unknown (HELO sprout.phpwebhosting.com) (216.218.184.226) by pb1.pair.com with SMTP; 19 Aug 2003 14:37:17 -0000 Received: (qmail 32385 invoked from network); 19 Aug 2003 14:37:10 -0000 Received: from unknown (HELO phpvolcano.com) (202.138.40.82) by 216.218.184.226 with SMTP; 19 Aug 2003 14:37:10 -0000 Mime-Version: 1.0 (Apple Message framework v578) Content-Transfer-Encoding: quoted-printable Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed To: PHP Developers Mailing List Date: Wed, 20 Aug 2003 00:38:47 +1000 X-Mailer: Apple Mail (2.578) Subject: Compile fails on OSX 10.3 From: nucleuz@phpvolcano.com (nucleuz) Hi! I'm running OSX 10.3 ( Panther ) and the snaps fails to compile. I got the Panther seed at the WWDC earlier this year, and there are=20 newer seeds out, but I don't have that yet so I don't know if it will compile on that one. ( My C skills are rather limited, but here is what I have trying to=20 find out what happened ) Initially 'make' created the following output: /php/php.net/php5-200308061330/ext/standard/dns.c: In function=20 `zif_dns_check_record': /php/php.net/php5-200308061330/ext/standard/dns.c:227: error: `T_MX'=20 undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c:227: error: (Each=20 undeclared identifier is reported only once /php/php.net/php5-200308061330/ext/standard/dns.c:227: error: for each=20= function it appears in.) /php/php.net/php5-200308061330/ext/standard/dns.c:238: error: `T_A'=20 undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c:239: error: `T_NS'=20 undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c:241: error: `T_PTR'=20 undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c:242: error: `T_ANY'=20 undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c:243: error: `T_SOA'=20 undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c:244: error: `T_CNAME'=20= undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c:264: error: `C_IN'=20 undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c: In function=20 `zif_dns_get_mx': /php/php.net/php5-200308061330/ext/standard/dns.c:717: error: `HEADER'=20= undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c:717: error: `hp'=20 undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c:746: error: `C_IN'=20 undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c:746: error: `T_MX'=20 undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c:753: error: parse=20 error before ')' token /php/php.net/php5-200308061330/ext/standard/dns.c:754: error:=20 `HFIXEDSZ' undeclared (first use in this function) /php/php.net/php5-200308061330/ext/standard/dns.c:756: error:=20 `QFIXEDSZ' undeclared (first use in this function) I then did a grep for T_MX and found this in 'nameser8_comap.h' When doing #include in ext/standard/dns.c the above error goes away, but now I get: ld: Undefined symbols: _res_9_dn_expand _res_9_dn_skipname _res_9_search _php_ob_gzhandler_check doing a grep for one of those gives me: [nucleuz:/php/php.net/php5-200308061330] nucleuz% grep -d recurse=20 _res_9_dn_expand ext/ Binary file ext/standard/dns.o matches I don't know how to fix this last error, so does anyone have an idea on=20= what I can do to make it compile? ------------------------- --- H=E5vard Eide --- www.eide.org www.phpvolcano.com