Subject: Re: multimedia/gstreamer in amd64 doesn't compile
To: None <kibumh@gmail.com>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: port-amd64
Date: 12/06/2004 13:54:03
Hello,

At Sun, 5 Dec 2004 23:10:40 +0900,
<kibumh@gmail.com> wrote:
> 
> i planed to change a desktop environment to 'gnome2' with the power of
> amd64, but stuck with multimedia/gstreamer.
> 
> ---------------------
> In file included from cothreads.c:37:
> gstarch.h:201:2: #error Need to know about this architecture, or have
> a generic implementation
> cothreads.c: In function `cothread_switch':
> cothreads.c:654: warning: implicit declaration of function
> `GST_ARCH_SETUP_STACK'
> cothreads.c:655: warning: implicit declaration of function `GST_ARCH_SET_SP'
> cothreads.c:657: warning: implicit declaration of function `GST_ARCH_CALL'
> gmake[4]: *** [libcothreads_la-cothreads.lo] Error 1
> gmake[4]: Leaving directory
> `/usr/pkgsrc/multimedia/gstreamer/work/gstreamer-0.8.7/gst'
> ---------------------
> 
> gstarch.h doesn't have any amd64-related codes.
> any ideas?
> 
Revision 1.2 of src/lib/libc/arch/x86_64/gen/swapcontext.S has a bug.
So gstreamer's configure script fails to detect swapcontext(3).  If
system has makecontext(3)/swapcontext(3), these functions
(GST_ARCH_SETUP_STACK etc.) aren't needed for build.
Please update swapcontext.S to 1.3 and try again.

best regards.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp