From owner-freebsd-ports@FreeBSD.ORG Tue Sep 23 10:53:28 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFF7616A4BF; Tue, 23 Sep 2003 10:53:28 -0700 (PDT) Received: from ux13.sp.cs.cmu.edu (UX13.SP.CS.CMU.EDU [128.2.203.57]) by mx1.FreeBSD.org (Postfix) with SMTP id 5A79943FEA; Tue, 23 Sep 2003 10:53:25 -0700 (PDT) (envelope-from clau@cs.cmu.edu) Received: from ux13.sp.cs.cmu.edu ([127.0.0.1]) by ux13.sp.cs.cmu.edu id aa24953; 23 Sep 2003 13:53 EDT Date: Tue, 23 Sep 2003 13:53:09 -0400 (EDT) From: Chung Lau X-X-Sender: To: dinoex@freebsd.org MMDF-Warning: Parse error in original version of preceding line at ux13.sp.cs.cmu.edu MMDF-Warning: Parse error in original version of preceding line at ux13.sp.cs.cmu.edu Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: ports@freebsd.org Subject: FreeBSD Port: openssh-3.6.1 build error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2003 17:53:29 -0000 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