Home

 


Re: Build failing Posted on: Mon, 1 Mar 2010 18:58:43 +0000 (UTC)

On Mar 1, 17:54=A0UTC, Gene Spafford wrote:
> >> I am building on a Sun under Solaris. =A0This is the output I get
> >> (captured via script):
>
> > The output is missing from the mail. What you see above is what the lis=
t
> > got, so there is not much we can say about the problem.
>
> The output was attached as a file, and apparently the mailer software str=
iped it out. :-(
>
> I am enclosing the "typescript" file below.
>
> As best as I can tell, the autoconf thinks that a couple of the types are=
n't defined and then generates conflicting definitions for them. =A0This is=
because the int types on my machine are defined via and inttypes.h> and not which is the file that is checked for the=
m.
> gcc -std=3Dgnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -D__EXTENSIONS__ -I/usr/lo=
cal/ssl/include -g -O2 -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ari=
th -Wshadow -Winit-self -Wno-strict-prototypes -MT libopts_la-libopts.lo -M=
D -MP -MF .deps/libopts_la-libopts.Tpo -c libopts.c -o libopts_la-libopts.o
> In file included from libopts.c:2:
> compat/compat.h:268: error: conflicting types for 'int8_t'
> /usr/include/sys/int_types.h:62: error: previous declaration of 'int8_t' =
was here
> In file included from libopts.c:2:
> compat/compat.h:299:5: #error Cannot create a uint32_t type.
> compat/compat.h:300: error: parse error before "Me"
> compat/compat.h:316: error: conflicting types for 'intptr_t'
> /usr/include/sys/int_types.h:110: error: previous declaration of 'intptr_=
t' was here
> compat/compat.h:337: error: conflicting types for 'pid_t'
> /pkgs/gcc/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.3/include/sys/types.h:4=
55 : error: previous declaration of 'pid_t' was here

This failure is while compiling libopts, a component of NTP provided
by Bruce Korb's Autogen package. [1]

Generally Bruce has been very helpful providing fixes promptly when we
have tripped over similar issues in the past, and as a result we've
generally not maintained local patches to Autogen or libopts, but
waited for a fixed version and dropped it in unmodified.

I've cc'd Bruce, but you might also report the failure via the Autogen
issue tracker:

http://sourceforge.net/tracker/?func=3Dadd&group_id=3D3593&atid=3D103593

(linked from the main Autogen page)

Cheers,
Dave Hart

[1] http://www.gnu.org/software/autogen/
56959. Re: Build failing
56960. Re: Build failing
56961. Re: Build failing
56962. Re: Build failing
56963. Re: Build failing
56964. Re: Build failing
56965. Re: Build failing
56966. Re: Build failing
56967. Re: Build failing
56968. Re: Build failing
56969. Re: Build failing
56970. Re: Build failing
56971. Re: Build failing
56972. Re: Build failing
56973. Re: Build failing
56974. Re: Build failing
56975. Re: Build failing
56976. Re: Build failing
56977. Re: Build failing
56978. Re: Build failing