For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > August 2007 > undefined reference to `yp_get_default_domain'









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author undefined reference to `yp_get_default_domain'
sampei02@tiscali.it

2007-08-09, 4:10 am

I'm trying to install php 5.2.3
I have mysql 5.0.45
../configu./configure --with-apxs=3D/usr/local/apache/bin/apxs --with-mysql=
=3D/usr/local/mysql --with-mysqli=3D/usr/local/mysql/bin/mysql_config=20
--enable-mbstring --enable-soap --with-zlib-dir=3D/usr/lib


During ./configure process I am getting this error:


configure:13780: checking for yp_get_default_domain
configure:13808: gcc -o conftest -g -O2 conftest.c 1>&5
/tmp/ccuFvAXJ.o(.text+0xa): In function `main':
/usr/local/src/php-5.2.3/configure:13802: undefined reference to `yp_get_de=
fault_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 13785 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char yp_get_default_domain(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char yp_get_default_domain();

int main() {

/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_yp_get_default_domain) || defined (__stub___yp_get_defa=
ult_domain)
choke me
#else
yp_get_default_domain();
#endif
; return 0; }


________________________________________
____________________
ADSL 4 MB FLAT
navighi GRATIS per tutto il 2007=20
Affrettati! l'offerta =C3=A8 valida sino al 23 agosto 2007
http://abbonati.tiscali.it/adsl/prodotti/tc/4flat/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com