Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4094 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72398 invoked from network); 19 Aug 2003 20:17:01 -0000 Received: from unknown (HELO x-wing.brouda.com) (64.105.158.38) by pb1.pair.com with SMTP; 19 Aug 2003 20:17:01 -0000 Received: from deadmime.org (x-wing.brouda.com [64.105.158.38]) by x-wing.brouda.com (8.12.8/8.12.2) with ESMTP id h7JKGqiw016147; Tue, 19 Aug 2003 16:16:52 -0400 (EDT) Date: Tue, 19 Aug 2003 16:12:27 -0400 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: PHP Developers Mailing List To: nucleuz In-Reply-To: Message-ID: <747B52B2-D281-11D7-B7C6-000393121960@deadmime.org> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.552) Subject: Re: [PHP-DEV] Compile fails on OSX 10.3 From: dank@deadmime.org (Dan Kalowsky) References: You're doing something wrong then, as it has worked for others. A=20 configure line would help to debug this. On Tuesday, August 19, 2003, at 10:38 AM, nucleuz wrote: > 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:=20 > `T_CNAME' 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=20= > on what I can do to make it compile? > > ------------------------- > --- H=E5vard Eide --- > www.eide.org > www.phpvolcano.com > > > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > >---------------------------------------------------------------< Dan Kalowsky "The future is always uncertain, http://www.deadmime.org/~dank and the end is always near." dank-nom@aps-deadmime.org - "Roadhouse Blues", kalowsky@php.net The Doors