Mailing List Archive

more problems with solaris 7?
configure appears to be setting things right:

dragon:/var/src/openssh-1.2.1pre23> grep INTXX config.h
#define HAVE_INTXX_T 1
/* #undef HAVE_U_INTXX_T */
#define HAVE_UINTXX_T 1



Marc G. Fournier marc.fournier@acadiau.ca
Senior Systems Administrator Acadia University

"These are my opinions, which are not necessarily shared by my employer"

---------- Forwarded message ----------
Date: Thu, 30 Dec 1999 11:10:42 -0400 (AST)
From: Super User <root@dragon.acadiau.ca>
To: marc@acadiau.ca
Subject: openssh

gcc -g -O2 -Wall -I/usr/slocal/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/slocal/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/slocal/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c atomicio.c -o atomicio.o
In file included from config.h:289,
from includes.h:22,
from atomicio.c:26:
defines.h:102: conflicting types for `quad_t'
/usr/include/sys/types.h:531: previous declaration of `quad_t'
In file included from config.h:289,
from bsd-misc.h:39,
from includes.h:91,
from atomicio.c:26:
defines.h:73: redefinition of `u_int16_t'
defines.h:73: `u_int16_t' previously declared here
defines.h:74: redefinition of `u_int32_t'
defines.h:74: `u_int32_t' previously declared here
defines.h:75: redefinition of `u_int64_t'
defines.h:75: `u_int64_t' previously declared here
defines.h:102: redefinition of `quad_t'
defines.h:102: `quad_t' previously declared here
In file included from config.h:289,
from bsd-strlcpy.h:4,
from includes.h:92,
from atomicio.c:26:
defines.h:73: redefinition of `u_int16_t'
defines.h:73: `u_int16_t' previously declared here
defines.h:74: redefinition of `u_int32_t'
defines.h:74: `u_int32_t' previously declared here
defines.h:75: redefinition of `u_int64_t'
defines.h:75: `u_int64_t' previously declared here
defines.h:102: redefinition of `quad_t'
defines.h:102: `quad_t' previously declared here
In file included from config.h:289,
from bsd-strlcat.h:4,
from includes.h:93,
from atomicio.c:26:
defines.h:73: redefinition of `u_int16_t'
defines.h:73: `u_int16_t' previously declared here
defines.h:74: redefinition of `u_int32_t'
defines.h:74: `u_int32_t' previously declared here
defines.h:75: redefinition of `u_int64_t'
defines.h:75: `u_int64_t' previously declared here
defines.h:102: redefinition of `quad_t'
defines.h:102: `quad_t' previously declared here
In file included from config.h:289,
from bsd-mktemp.h:4,
from includes.h:94,
from atomicio.c:26:
defines.h:73: redefinition of `u_int16_t'
defines.h:73: `u_int16_t' previously declared here
defines.h:74: redefinition of `u_int32_t'
defines.h:74: `u_int32_t' previously declared here
defines.h:75: redefinition of `u_int64_t'
defines.h:75: `u_int64_t' previously declared here
defines.h:102: redefinition of `quad_t'
defines.h:102: `quad_t' previously declared here
In file included from config.h:289,
from bsd-snprintf.h:4,
from includes.h:95,
from atomicio.c:26:
defines.h:73: redefinition of `u_int16_t'
defines.h:73: `u_int16_t' previously declared here
defines.h:74: redefinition of `u_int32_t'
defines.h:74: `u_int32_t' previously declared here
defines.h:75: redefinition of `u_int64_t'
defines.h:75: `u_int64_t' previously declared here
defines.h:102: redefinition of `quad_t'
defines.h:102: `quad_t' previously declared here
In file included from config.h:289,
from bsd-daemon.h:4,
from includes.h:96,
from atomicio.c:26:
defines.h:73: redefinition of `u_int16_t'
defines.h:73: `u_int16_t' previously declared here
defines.h:74: redefinition of `u_int32_t'
defines.h:74: `u_int32_t' previously declared here
defines.h:75: redefinition of `u_int64_t'
defines.h:75: `u_int64_t' previously declared here
defines.h:102: redefinition of `quad_t'
defines.h:102: `quad_t' previously declared here
In file included from config.h:289,
from bsd-login.h:4,
from includes.h:97,
from atomicio.c:26:
defines.h:73: redefinition of `u_int16_t'
defines.h:73: `u_int16_t' previously declared here
defines.h:74: redefinition of `u_int32_t'
defines.h:74: `u_int32_t' previously declared here
defines.h:75: redefinition of `u_int64_t'
defines.h:75: `u_int64_t' previously declared here
defines.h:102: redefinition of `quad_t'
defines.h:102: `quad_t' previously declared here
In file included from config.h:289,
from rsa.h:21,
from ssh.h:27,
from atomicio.c:30:
defines.h:73: redefinition of `u_int16_t'
defines.h:73: `u_int16_t' previously declared here
defines.h:74: redefinition of `u_int32_t'
defines.h:74: `u_int32_t' previously declared here
defines.h:75: redefinition of `u_int64_t'
defines.h:75: `u_int64_t' previously declared here
defines.h:102: redefinition of `quad_t'
defines.h:102: `quad_t' previously declared here
In file included from config.h:289,
from cipher.h:19,
from ssh.h:28,
from atomicio.c:30:
defines.h:73: redefinition of `u_int16_t'
defines.h:73: `u_int16_t' previously declared here
defines.h:74: redefinition of `u_int32_t'
defines.h:74: `u_int32_t' previously declared here
defines.h:75: redefinition of `u_int64_t'
defines.h:75: `u_int64_t' previously declared here
defines.h:102: redefinition of `quad_t'
defines.h:102: `quad_t' previously declared here
make: *** [atomicio.o] Error 1
Re: more problems with solaris 7? [ In reply to ]
"Marc G. Fournier" wrote:
>
> configure appears to be setting things right:
>
> dragon:/var/src/openssh-1.2.1pre23> grep INTXX config.h
> #define HAVE_INTXX_T 1
> /* #undef HAVE_U_INTXX_T */
> #define HAVE_UINTXX_T 1

I have found one bug, patch attached.

This is curious though:

> defines.h:102: conflicting types for `quad_t'
> /usr/include/sys/types.h:531: previous declaration of `quad_t'
> In file included from config.h:289,
> from bsd-misc.h:39,
> from includes.h:91,
> from atomicio.c:26:

Does ./configure detect whether you have quad_t? It seems to attempting
to define it even though your system header already have it.

Regards,
Damien