Lachlan Cranswick
2003-Apr-09 06:33 UTC
error compiling portable openssh 3.6.1p1 on SGI IRIX 6.5x
Hi, First checking out http://www.openbsd.org/errata.html Following is output and error from trying to compile the latest openssh on SGI IRIX (using cc). Previous versions of openssh have compiled cleanly on this system using the following configure options. Is there a quick fix for this? Cheers, Lachlan. ------------------------------------------------------- For SGI IRIX 6.5x 10151453 IP32 Using openssh 3.6.1p1 form http://www.openssh.com/portable.html and the following from a cshell: env CC=cc ./configure --build=mips-sgi-irix6.5 --with-tcp-wrappers --with-ldflags='-L/usr/local/lib' Then make: (cd openbsd-compat && make) make[1]: Entering directory `/web_disc/ccp14/ssh/openssh-3.6.1p1/openbsd-compat' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/web_disc/ccp14/ssh/openssh-3.6.1p1/openbsd-compat' cc -g -I. -I. -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bi n/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\ " -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/ empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c progressmeter.c cc-1143 cc: ERROR File = /usr/include/libgen.h, Line = 35 Declaration is incompatible with "char *basename(const char *)" (declared at line 9 of "openbsd-compat/basename.h"). extern char *basename(char *); ^ 1 error detected in the compilation of "progressmeter.c". make: *** [progressmeter.o] Error 2 ------------------------------------------------------- ----------------------- Lachlan M. D. Cranswick 30th March till 5th May 2003 - visiting: Maproom Rm 31 Geochemistry - Lamont-Doherty Earth Observatory of Columbia University PO Box 1000, 61 Route 9W Palisades, New York 10964-1000 USA Tel: (845) 365-8302; Fax: (845) 365-8155; E-mail: l.m.d.cranswick at dl.ac.uk After 6th May 2003: Neutron Program for Materials Research (NPMR), National Research Council (NRC), Building 459, Station 18, Chalk River Laboratories, Chalk River, Ontario, Canada, K0J 1J0 Tel: (613) 584-8811; Fax: (613) 584-4040