Gentoo Archives: gentoo-embedded

From: "Philippe Clérié" <philippe@××××.net>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] uClibc and PHP
Date: Wed, 26 Oct 2005 21:21:42
Message-Id: 200510252031.25997.philippe@gcal.net
1 I've been trying to compile PHP on the uclibc profile for the last
2 couple of days. I am now stuck with an error on __dn_skipname as
3 seen below.
4
5 I've seen some references to this after googling for a while, some
6 of it being quite old. So it's not a new issue. But I haven't
7 really found a cure. Hope someone has been there already.
8
9 Thanks
10 Philippe
11
12
13 ========================================
14
15 emerge --info
16
17 Portage 2.0.51.22-r3 (uclibc/x86/2005.1, gcc-3.3.6,
18 uclibc-0.9.27-r0, 2.6.12-vs2.0-gentoo-r1 i686)
19 =================================================================
20 System uname: 2.6.12-vs2.0-gentoo-r1 i686 AMD Athlon(tm) XP 2000+
21 Gentoo Base System version 1.6.13
22 dev-lang/python: 2.3.4-r1, 2.4.2
23 sys-apps/sandbox: 1.2.12
24 sys-devel/autoconf: 2.13, 2.59-r6
25 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3,
26 1.9.6-r1
27 sys-devel/binutils: 2.15.92.0.2-r10
28 sys-devel/libtool: 1.5.20
29 virtual/os-headers: 2.6.11-r2
30 ACCEPT_KEYWORDS="x86"
31 AUTOCLEAN="yes"
32 CBUILD="i386-gentoo-linux-uclibc"
33 CFLAGS="-Os -pipe"
34 CHOST="i386-gentoo-linux-uclibc"
35 CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
36 CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
37 CXXFLAGS="-Os -pipe"
38 DISTDIR="/usr/portage/distfiles"
39 FEATURES="autoconfig buildpkg distlocks nodoc noinfo noman sandbox
40 sfperms strict"
41 GENTOO_MIRRORS="http://distfiles.gentoo.org
42 http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
43 PKGDIR="/usr/portage/packages/uclibc"
44 PORTAGE_TMPDIR="/var/tmp"
45 PORTDIR="/usr/portage"
46 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
47 USE="x86 berkdb libwww ncurses perl python readline tcpd uclibc xml2
48 zlib userland_GNU kernel_linux elibc_uclibc"
49 Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,
50 PORTDIR_OVERLAY
51
52 ==== /etc/portage/package.use ===========================
53
54 dev-lang/php cgi force-cgi-redirect -berkdb -xml2 -ncurses -readline
55
56 ==== command line ==================================
57
58 emerge dev-lang/php
59
60 ==== emerge output ========================
61
62 /bin/sh /var/tmp/portage/php-4.4.0-r1/work/php-4.4.0/libtool
63 --silent --preserve-dup-deps --mode=link gcc -export-dynamic -Os
64 -pipe ext/zlib/zlib.lo ext/zlib/zlib_fopen_wrapper.lo
65 regex/regcomp.lo regex/regexec.lo regex/regerror.lo
66 regex/regfree.lo ext/standard/array.lo ext/standard/base64.lo
67 ...
68 <lots of lines skipped>
69 ...
70 main/internal_functions.lo -lcrypt -lcrypt -lz -lm -ldl -lnsl
71 -lcrypt -lcrypt -o sapi/cgi/php
72 ext/standard/dns.o(.text+0x700): In function `zif_getmxrr':
73 : undefined reference to `__dn_skipname'
74 ext/standard/dns.o(.text+0x73c): In function `zif_getmxrr':
75 : undefined reference to `__dn_skipname'
76 collect2: ld returned 1 exit status
77 make: *** [sapi/cgi/php] Error 1
78
79 !!! ERROR: dev-lang/php-4.4.0-r1 failed.
80 !!! Function php4_4-sapi_src_compile, Line 511, Exitcode 2
81 !!! make failed
82 !!! If you need support, post the topmost build error, NOT this
83 status message.
84 =======================================
85
86 --
87 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] uClibc and PHP "René Rhéaume" <rene.rheaume@×××××.com>
Re: [gentoo-embedded] uClibc and PHP Mike Frysinger <vapier@g.o>
Re: [gentoo-embedded] uClibc and PHP Walter Goossens <wa.goossens@××××.nl>