Date: Thu, 10 Oct 2002 02:40:02 -0700 (PDT) From: Jose Marques <noway@nohow.demon.co.uk> To: freebsd-ports@FreeBSD.org Subject: Re: ports/43877: Ogle port broken on STABLE Message-ID: <200210100940.g9A9e28h007308@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/43877; it has been noted by GNATS. From: Jose Marques <noway@nohow.demon.co.uk> 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 <sys/endian.h> # 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210100940.g9A9e28h007308>