Date: Tue, 23 Sep 2003 13:53:09 -0400 (EDT) From: Chung Lau <clau@cs.cmu.edu> To: dinoex@freebsd.org Cc: ports@freebsd.org Subject: FreeBSD Port: openssh-3.6.1 build error Message-ID: <Pine.LNX.4.33L.0309231351470.24913-100000@ux13.sp.cs.cmu.edu>
next in thread | raw e-mail | index | archive | help
Hi, I get the following errors when compiling openssh-portable: cc -O -pipe -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I/usr/include -DHAVE_CONFIG_H -c bsd-arc4random.c In file included from ../includes.h:122, from bsd-arc4random.c:25: /usr/include/sys/bitypes.h:25: conflicting types for `int8_t' /usr/include/sys/inttypes.h:11: previous declaration of `int8_t' /usr/include/sys/bitypes.h:26: redefinition of `u_int8_t' /usr/include/sys/types.h:60: `u_int8_t' previously declared here /usr/include/sys/bitypes.h:27: redefinition of `int16_t' /usr/include/sys/inttypes.h:12: `int16_t' previously declared here /usr/include/sys/bitypes.h:28: redefinition of `u_int16_t' /usr/include/sys/types.h:61: `u_int16_t' previously declared here /usr/include/sys/bitypes.h:29: redefinition of `int32_t' /usr/include/sys/inttypes.h:13: `int32_t' previously declared here /usr/include/sys/bitypes.h:30: redefinition of `u_int32_t' /usr/include/sys/types.h:62: `u_int32_t' previously declared here In file included from ../includes.h:166, from bsd-arc4random.c:25: ../defines.h:194: redefinition of `int64_t' /usr/include/sys/inttypes.h:14: `int64_t' previously declared here *** Error code 1 Stop in /usr/ports/security/openssh-portable/work/openssh-3.6.1p2/openbsd-compat. *** Error code 1 Stop in /usr/ports/security/openssh-portable/work/openssh-3.6.1p2. *** Error code 1 Stop in /usr/ports/security/openssh-portable. I had to edit includes.h and defines.h in order to get it to compile, but the resulting binary is 20% larger than the original binary even though it's the same exact version of openssh w/o the patches. I successfully compiled the same exact port on my other system thats freebsd 4.7-p10 Here are my system configurations: Make command: "make OPENSSH_OVERWRITE_BASE=yes" Uname -a: FreeBSD xxx.net 4.8-RELEASE-p7 FreeBSD 4.8-RELEASE-p7 #0: Tue Sep 23 13:15:55 EDT 2003 root@xxx.net:/usr/obj/usr/src/sys/GOAT i386 If you guys can figure out why the configure script isn't detecting the system typedefs correctly, please let me know... thanks. -Chung Lau
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33L.0309231351470.24913-100000>