bug-inetutils
[Top][All Lists]
Advanced

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

Re: [PATCH] build fixes for alphaev67-dec-osf5.1 and i386-unknown-freebs


From: Sergey Poznyakoff
Subject: Re: [PATCH] build fixes for alphaev67-dec-osf5.1 and i386-unknown-freebsd4.7
Date: Fri, 06 Dec 2002 12:24:04 +0200

> diff -u -p -u -w -r1.1 obstack.c
[...]
> -#if defined (__STDC__) && __STDC__
>  #define POINTER void *
> -#else
> -#define POINTER char *
> -#endif

OK. We'd better upgrade to the newer version of obstack I guess.

> Index: utmp_init.c
[...]
> -#if defined(HAVE_STRUCT_UTMP_UT_ID)
> +#if (defined(UTMPX) && defined(HAVE_STRUCT_UTMPX_UT_ID)) ||
> +    (!defined(UTMPX) && defined(HAVE_STRUCT_UTMP_UT_ID))

This will require modifying configure.ac as well, since currently
the only field we are checking for in utmpx is ut_tv, i.e. in your
case HAVE_STRUCT_UTMPX_UT_ID et al. will never be defined.

The error:

> utmp_init.c: In function `utmp_init':
> utmp_init.c:72: structure has no member named `ut_tv'
> *** Error code 1

indicates that the configure test have found the ut_tv member in the
utmpx structure (and thus defined HAVE_STRUCT_UTMPX_UT_TV), but somehow
the member is not visible in the scope of utmp_init. This could be
due to either configure malfunction, or (more probably) the improper
inclusion of utmp.h in the lines 31-36 of utmp_init.c. The contents
of your config.h and config.log might help in solving this. Could
you please send them over?

Regards,
Sergey






reply via email to

[Prev in Thread] Current Thread [Next in Thread]