[uClibc] does dn_skipname implemented in latest uclibc snapshot?

I HOLLO ihollo at tom.com
Wed Dec 1 07:24:00 UTC 2004


Hi,

I was compiling php-4.3.9 under uwoody. but compilation failed with error :

ext/standard/dns.o(.text+0x868): In function `zif_getmxrr':
/opt/netone/buildroot/build_i386/php-4.3.9/ext/standard/dns.c:328: undefined reference to `__dn_skipname'
ext/standard/dns.o(.text+0x8ad):/opt/netone/buildroot/build_i386/php-4.3.9/ext/standard/dns.c:334: undefined reference to `__dn_skipname'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1 

I searched dn_skipname in uClibc source tree. but only found dn_skipname declaration in resolv.h.

so I wrote a little code piece like this:
#include <resolv.h>
main()
{
        dn_skipname(NULL, NULL);
        return 0;
}
then compiled it with command: gcc -o t t.c -lresolv
the same error happened.
/tmp/cc89sDFc.o(.text+0x20): In function `main':
: undefined reference to `__dn_skipname'
collect2: ld returned 1 exit status

Can anyone tell me whether or not dn_skipname implemented in latest uclibc snapshot? or how can I compile php4 under uwoody?
thanks very much. 

        I HOLLO
        ihollo at tom.com
          2004-12-01





More information about the uClibc mailing list