IRIX compilation and openbsd-compat/basename.h

Kevin Taylor no at nowhere.org
Wed Apr 9 04:09:14 EST 2003


	

I was trying to compile openssh-3.6.1p1 on IRIX and ran across this 
error while compiling progressmeter.c:

"/usr/include/libgen.h", line 35: error(1143): 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".
*** Error code 2 (bu21)


I commented this line in openbsd-compat/basename.h:

char *basename(const char *path);

and everything compiled fine.



Kevin Taylor
ktaylor at no-spammers.daac.gsfc.nasa.gov






More information about the openssh-unix-dev mailing list