openssh on AIX v4.3.3 with native compiler

edgy at edgy at
Fri Dec 10 20:18:13 EST 1999


     Was looking in the archives... and haven't seen this one listed.
When I compile openssh-1.2pre17 on AIX v4.3.3 with the native compiler
I get the following errors. I haven't see this __attribute__ code.. What
compiler/libraries are needed to compile this? I have seen that people
have compiled openssh on AIX.. Just wondering what you have used.

# make
        cc -g -I/usr/local/include -DETCDIR=\"//etc\"
-DSSH_ASKPASS_DEFAULT=\"//libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c
"ssh.h", line 494.36: 1506-276 (S) Syntax error: possible missing '{'?
make: 1254-004 The error code from the last command is 1.

The code is below...

/* Output a message to syslog or stderr */
void    fatal(const char *fmt,...) __attribute__((format(printf, 1, 2)));
void    error(const char *fmt,...) __attribute__((format(printf, 1, 2)));
void    log(const char *fmt,...) __attribute__((format(printf, 1, 2)));
void    verbose(const char *fmt,...) __attribute__((format(printf, 1, 2)));
void    debug(const char *fmt,...) __attribute__((format(printf, 1, 2)));

Any suggestions? Any help would be greatly appreciated!

More information about the openssh-unix-dev mailing list