solaris 2.5.1 still no good

Damien Miller djm at mindrot.org
Fri Dec 10 19:34:59 EST 1999


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 9 Dec 1999, ET wrote:

> Hi folks,
> 
> Here's what I get under solaris 2.5.1 (sparc) with gcc-2.95.2 and
> gnumake 3.78-something :
> 
> bsd-snprintf.c: In function `msetup':
> bsd-snprintf.c:67: warning: implicit declaration of function
> `getpagesize'

Can anyone offer a replacement for this?

> bsd-snprintf.c:72: `x' undeclared (first use in this function)
> bsd-snprintf.c:72: (Each undeclared identifier is reported only once
> bsd-snprintf.c:72: for each function it appears in.)
> bsd-snprintf.c:72: `y' undeclared (first use in this function)
> bsd-snprintf.c:72: warning: left-hand operand of comma expression has
> no effect

This is weird - it looks like your C compiler is breaking while
trying to expand the roundup() macro.

> bsd-snprintf.c: In function `snprintf':
> bsd-snprintf.c:123: warning: implicit declaration of function
> `vsnprintf'

At least this warning was easily fixed.

> I can't find getpagesize() in /usr/include, nor can I find
> vsnprintf() or snprintf()

There are not #defines which contain the same information?

Regards,
Damien

- --
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4ULs2ormJ9RG1dI8RAuCnAJ4vFHXo517wc5W+Kq7naZ3KLYoy8wCfTrHW
ClefFOgUKN2lIypIpqK+20A=
=9LxV
-----END PGP SIGNATURE-----






More information about the openssh-unix-dev mailing list