Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] undefined reference From: Jason Innes (jason <email protected>)
Date: 07/31/98

Hi Andrew:

I had the same problem. You need to add "-lresolve" to the configuration
file's extra libs lines.

It's in the bug database at http://ca.php.net/bugs.php3?id=441

Good luck!
-Jason

At 10:57 AM -0500 7/31/98, Andrew Gibson wrote:
>Hi,
>
>I've been trying to install PHP on a PPC machine running RedHat Linux
>5.0 and get to the end and end up with this result:
>
>[root <email protected> php-3.0.2a]# make
>gcc -g -O2 -O2 -I. -I. -I/usr/include/pgsql/include
>-o php language-parser.tab.o language-scanner.o main.o php3_hash.o
>...
> functions/gdcache.o functions/zlib.o regex/libregex.a -ldb
> -L/usr/include/pgsql/lib -lpq -lm -ldl -lcrypt
>functions/dns.o: In function `php3_checkdnsrr':
>/agibson/php-3.0.2a/functions/dns.c:213: undefined reference to `__res_search'
>functions/dns.o: In function `php3_getmxrr':
>/agibson/php-3.0.2a/functions/dns.c:280: undefined reference to `__res_search'
>/agibson/php-3.0.2a/functions/dns.c:289: undefined reference to
>`__dn_skipname'
>/agibson/php-3.0.2a/functions/dns.c:295: undefined reference to
>`__dn_skipname'
>/agibson/php-3.0.2a/functions/dns.c:307: undefined reference to `__dn_expand'
>collect2: ld returned 1 exit status
>make: *** [php] Error 1
>
>Could anyone help me out with this - I'm out of ideas!
>Thanks
>
>---------------------------------------------------------
>ANDREW GIBSON (Director - Information Services)
>Cannon Hill Anglican College http://www.chac.qld.edu.au/
>PO Box 3366, Tingalpa DC, Q 4173, AUS
>Ph: +61 7 3896 0444, Fax: +61 7 3896 0448
>
>--
>PHP 3 Mailing List http://www.php.net/
>To unsubscribe send an empty message to php3-unsubscribe <email protected>
>To subscribe to the digest list: php3-digest-subscribe <email protected>
>For help: php3-help <email protected> Archive:
>http://www.php.net/mailsearch.php3

---------------------------
                Jason Innes
Internet Technology Analyst
  Versal Technologies, Inc.
     tel: 617-787-9400 x237
     http://www.versal.com/

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3