From bug-octave-request at bevo dot che dot wisc dot edu Sat Oct 18 08:33:12 1997 Subject: Problems compiling Octave von NetBSD From: Peter Simons To: bug-octave at bevo dot che dot wisc dot edu Date: Sat, 18 Oct 1997 15:32:39 +0200 (MET DST) -----BEGIN PGP SIGNED MESSAGE----- Hi, NetBSD's errno.h include defines sys_errlist as follows: | extern const char *const sys_errlist[]; This definition is somehow mangled with by Octave when compiling file-ops.cc, so that the compiler reports an error, because it ends up getting the declaration: | extern const char *const const sys_errlist[]; Unfortunately I was unable to track down where this happens. Removing the include statement from safe-lstat.h fixed the problem for me. -peter -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: latin1 iQCVAwUBNEi6dQ9HL1s0103BAQHRnAQAvWK8vuXwB7rfrHAhm6ZOelM+iHu/6eKQ yxjGIUlsn3M8sIGVlgNEIOJQAMOibWFnuSWFTu6God7AlrWm9+ADoBBVHMt66FBJ Ke0WLmsfcrUtOFPsAIlzMHWUM7NntgRfdnZzUXAnD6yxYsEg41Sis4kx4gfxWOyF VTzw2C0OIn0= =tBvL -----END PGP SIGNATURE-----