Re: nfs-utils 1.1.3 and glibc 2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 28, 2008 at 10:30 AM, Gabor Z. Papp <gzp@xxxxxxx> wrote:
> Hello,
>
> seems like nfs-utils no more compatible with glibc 2.2?

By the way, this wasn't by design.  :-)

> make[2]: Entering directory
> `/home/gzp/src/nfs-utils-1.1.3/utils/mount'
> gcc -DHAVE_CONFIG_H -I. -I../../support/include
> -I../../support/include -D_GNU_SOURCE -Wall -Wstrict-prototypes  -pipe
> -g -O2 -MT network.o -MD -MP -MF .deps/network.Tpo -c -o network.o network.c
> network.c: In function 'nfs_name_to_address':
> network.c:154: error: 'AI_ADDRCONFIG' undeclared (first use in this function)
> network.c:154: error: (Each undeclared identifier is reported only once
> network.c:154: error: for each function it appears in.)
> network.c:160: error: 'AI_V4MAPPED' undeclared (first use in this function)
> network.c:160: error: 'AI_ALL' undeclared (first use in this function)
> make[2]: *** [network.o] Error 1
> make[2]: Leaving directory `/home/gzp/src/nfs-utils-1.1.3/utils/mount'
>
> 1.1.2 compiles fine.

Can you tell me what distribution you are using?  I don't think I have
access to a glibc2.2-based distribution to do testing/debugging, but
if you are using a fairly contemporary distribution that is
glibc2.2-based, I might try setting up a temporary guest for testing.

In my distribution (Fedora), these macros, along with getaddrinfo(3),
are defined in /usr/include/netdb.h.  utils/mount/network.c appears to
include this file directly, so I am still puzzled by this.

-- 
Chuck Lever
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux