From owner-freebsd-ports Thu Oct 10 2:40: 4 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5103437B401 for ; Thu, 10 Oct 2002 02:40:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D2F343E42 for ; Thu, 10 Oct 2002 02:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9A9e2Co007309 for ; Thu, 10 Oct 2002 02:40:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9A9e28h007308; Thu, 10 Oct 2002 02:40:02 -0700 (PDT) Date: Thu, 10 Oct 2002 02:40:02 -0700 (PDT) Message-Id: <200210100940.g9A9e28h007308@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Jose Marques Subject: Re: ports/43877: Ogle port broken on STABLE Reply-To: Jose Marques Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/43877; it has been noted by GNATS. From: Jose Marques To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/43877: Ogle port broken on STABLE Date: Thu, 10 Oct 2002 10:36:25 +0100 (BST) I think I've found the problem on my system. I re-ran the make command manually in the "mpeg2_video" directory as: make CFLAGS="-E -dD" This caused gcc to output what was defined. From the output I could see that FROM_BE_32 was being defined as swap32. Basically HAVE_SYS_ENDIAN_H is defined which in turn leads to the following: #elif defined(HAVE_SYS_ENDIAN_H) # include # define FROM_BE_32(x) (swap32(x)) being activated from ogle_endian.h, there is no swap32 so a link error occurs. If I edit the Ogle Makefile and change the CONFIGURE_ENV variable to include: CFLAGS="-UHAVE_SYS_ENDIAN_H" The the port builds (but as I don't have a DVD player at work I can't actually test it). -- Jose Marques To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message