"../openbsd-compat/port-aix.h", line 92.44: 1506-046 (S) Syntax error. openssh-5.3p1 on aix 5.3
phoebus phoebus
frphoebus at yahoo.fr
Fri Feb 19 10:07:35 EST 2010
Tim,
The junk file is not in attachment because is too big.
i found occurences for line 92 into junk file at:
* line 2544 to 2555
#line 92 "/usr/include/time.h"
struct tm {
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
};
* line 2939 to 2944
#line 92
int sys_auth_allowed_user(struct passwd *, Buffer *);
int sys_auth_record_login(const char *, const char *, const char *, Buffer *);
char *sys_auth_get_lastlogin_msg(const char *, uid_t);
* line 4617 to 4636
#line 92
int RAND_set_rand_method(const RAND_METHOD *meth);
const RAND_METHOD *RAND_get_rand_method(void);
int RAND_set_rand_engine(ENGINE *engine);
RAND_METHOD *RAND_SSLeay(void);
void RAND_cleanup(void );
int RAND_bytes(unsigned char *buf,int num);
int RAND_pseudo_bytes(unsigned char *buf,int num);
void RAND_seed(const void *buf,int num);
void RAND_add(const void *buf,int num,double entropy);
int RAND_load_file(const char *file,long max_bytes);
int RAND_write_file(const char *file);
const char *RAND_file_name(char *file,size_t num);
int RAND_status(void);
int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes);
int RAND_egd(const char *path);
int RAND_egd_bytes(const char *path,int bytes);
int RAND_poll(void);
i found occurence for line 94 into junk files at:
* line 325 to 341
#line 94
typedef int pdtx_t;
typedef short psx_t;
typedef ushort_t pshift_t;
typedef ushort_t sshift_t;
typedef int unidx_t;
typedef int snidx_t;
typedef int vmnodeidx_t;
typedef int kvpn_t;
typedef int krpn_t;
typedef int32long64_t vmsize_t;
typedef int32long64_t vmm_lock_t;
* line 3238 to 3252
#line 94
extern size_t __getmbcurmax (void);
extern int __getmaxdispwidth (void);
* line 4009 to 4010
#line 94
} ;
What the next step !
Regards,
Phoebus
----- Message d'origine ----
De : Tim Rice <tim at multitalents.net>
À : openssh-unix-dev at mindrot.org
Envoyé le : Jeu 18 Février 2010, 18 h 41 min 24 s
Objet : Re: Re : "../openbsd-compat/port-aix.h", line 92.44: 1506-046 (S) Syntax error. openssh-5.3p1 on aix 5.3
On Thu, 18 Feb 2010, phoebus phoebus wrote:
> Tim,
> I tryed "cc -E" but i don't have more information in the ouput. To pass the argument to the preprocessor, i used the varaibale CPP="cc -E"
> I put in attachment the logs.
>
> How can i find what it makes on of all the headers and source ?
$ cd openbsd-compat
# cc -qlanglvl=extc89 -I/opt/freeware/include/openssl/ \
-I/usr/local/include -qmaxmem=-1 -I. -I.. -I. -I./.. \
-I/opt/freeware/include -I/usr/local/lib/libwrap.a -DHAVE_CONFIG_H \
-E bsd-arc4random.c > junk
Now look at junk and see whrere Buffer is defined.
> Regards,
> Phoebus
>
> ----- Message d'origine ----
> [snip]
> > > (cd openbsd-compat && make)
> > > cc -qlanglvl=extc89 -I/opt/freeware/include/openssl/ -I/usr/local/include -qmaxmem=-1 -I. -I.. -I. -I./.. -I/opt/freeware/include -I/usr/local/lib/libwrap.a -DHAVE_CONFIG_H -c bsd-arc4random.c
> > >"../openbsd-compat/port-aix.h", line 92.44: 1506-046 (S) Syntax error.
> > >"../openbsd-compat/port-aix.h", line 94.69: 1506-046 (S) Syntax error.
> > >make: 1254-004 The error code from the last command is 1.
> > >Stop.
> > >make: 1254-004 The error code from the last command is 2.
> > >
> > >Stop.
> >
> > I don't undestand why this error. Could you help or provides some advices?
> > Thanks.
>
> If we look at lines 92 & 94 we see
> int sys_auth_allowed_user(struct passwd *, Buffer *);
> int sys_auth_record_login(const char *, const char *, const char *, Buffer *);
> So the question is why is it choking on Buffer?
>
> Try cc -E to see what the preprocessor makes of all the headers and source.
>
--
Tim Rice Multitalents (707) 887-1469
tim at multitalents.net
More information about the openssh-unix-dev
mailing list