Wolfgang Leideck
2001-Jul-26 13:26 UTC
Problems during building openssh-2.9p2 on solaris2.8
Hello. I have downloaded openssh-2.9p2 for solaris2.8. During compilation i got following errors: (cd openbsd-compat; make) make[1]: Entering directory `/home/wolfgang/openssh-2.9p2/openbsd-compat' gcc -g -O2 -Wall -I. -I.. -I. -I./.. -I/opt/Pkg/SunOS/include -I/usr/local/include -DHAVE_CONFIG_H -c bsd-arc4random.c In file included from ../config.h:748, from ../includes.h:22, from bsd-arc4random.c:25: ./defines.h:148: #error "8 bit int type not found." ./defines.h:156: #error "16 bit int type not found." ./defines.h:165: #error "32 bit int type not found." ./defines.h:181: #error "8 bit int type not found." ./defines.h:189: #error "16 bit int type not found." ./defines.h:198: #error "32 bit int type not found." In file included from ../openbsd-compat/openbsd-compat.h:35, from ../includes.h:102, from bsd-arc4random.c:25: ./openbsd-compat/bsd-waitpid.h:40: warning: `WEXITSTATUS' redefined /usr/include/sys/wait.h:78: warning: this is the location of the previous definition ./openbsd-compat/bsd-waitpid.h:41: warning: `WTERMSIG' redefined /usr/include/sys/wait.h:79: warning: this is the location of the previous definition ./openbsd-compat/bsd-waitpid.h:43: warning: `WCOREDUMP' redefined /usr/include/sys/wait.h:69: warning: this is the location of the previous definition In file included from ../openbsd-compat/openbsd-compat.h:40, from ../includes.h:102, from bsd-arc4random.c:25: ./openbsd-compat/fake-socket.h:10: warning: `_SS_MAXSIZE' redefined /usr/include/sys/socket.h:212: warning: this is the location of the previous definition make[1]: *** [bsd-arc4random.o] Error 1 make[1]: Leaving directory `/home/wolfgang/openssh-2.9p2/openbsd-compat' make: *** [openbsd-compat/libopenbsd-compat.a] Error 2 The configuration options are: Host: sparc-sun-solaris2.8 Compiler: gcc Compiler flags: -g -O2 -Wall Preprocessor flags: -I/opt/Pkg/SunOS/include -I/usr/local/include Linker flags: -R/opt/Pkg/SunOS/lib -L/opt/Pkg/SunOS/lib -L/usr/local/lib -R/usr/local/lib Libraries: -lz -lsocket -lnsl -lgen -lcrypto Wolfgang -- Wolfgang Leideck * University of Mannheim * Dep. PI III D7,27 * Raum 409 * D 68161 Mannheim Fon: +49 621 181 2583 * Fax: +49 621 181 2588 Email: wolfgang at pi3.informatik.uni-mannheim.de