I've been trying to compile PHP on the uclibc profile for the last 
couple of days. I am now stuck with an error on __dn_skipname as 
seen below.

I've seen some references to this after googling for a while, some 
of it being quite old. So it's not a new issue. But I haven't 
really found a cure. Hope someone has been there already.

Thanks
Philippe


========================================

emerge --info

Portage 2.0.51.22-r3 (uclibc/x86/2005.1, gcc-3.3.6, 
uclibc-0.9.27-r0, 2.6.12-vs2.0-gentoo-r1 i686)
=================================================================
System uname: 2.6.12-vs2.0-gentoo-r1 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 
1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-gentoo-linux-uclibc"
CFLAGS="-Os -pipe"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks nodoc noinfo noman sandbox 
sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo";
PKGDIR="/usr/portage/packages/uclibc"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 berkdb libwww ncurses perl python readline tcpd uclibc xml2 
zlib userland_GNU kernel_linux elibc_uclibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, 
PORTDIR_OVERLAY

==== /etc/portage/package.use ===========================

dev-lang/php cgi force-cgi-redirect -berkdb -xml2 -ncurses -readline

==== command line ==================================

 emerge dev-lang/php

==== emerge output ========================

/bin/sh /var/tmp/portage/php-4.4.0-r1/work/php-4.4.0/libtool 
--silent --preserve-dup-deps --mode=link gcc -export-dynamic -Os 
-pipe     ext/zlib/zlib.lo ext/zlib/zlib_fopen_wrapper.lo 
regex/regcomp.lo regex/regexec.lo regex/regerror.lo 
regex/regfree.lo ext/standard/array.lo ext/standard/base64.lo
...
<lots of lines skipped>
...
 main/internal_functions.lo -lcrypt -lcrypt -lz -lm -ldl -lnsl 
-lcrypt -lcrypt  -o sapi/cgi/php
ext/standard/dns.o(.text+0x700): In function `zif_getmxrr':
: undefined reference to `__dn_skipname'
ext/standard/dns.o(.text+0x73c): In function `zif_getmxrr':
: undefined reference to `__dn_skipname'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1

!!! ERROR: dev-lang/php-4.4.0-r1 failed.
!!! Function php4_4-sapi_src_compile, Line 511, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this 
status message.
=======================================

-- 
[email protected] mailing list

Reply via email to