pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: multimedia/x264-devel does not build on NetBSD/macppc

Hello Erik!

> I guess that this could patched to look like
> #if defined(SYS_LINUX) || defined(__NetBSD__)
> #include <altivec.h>
> #endif
> (The test for __NetBSD__ could be changed in to a test for an
> appropriate SYS_xxx if such a symbol is defined to denote NetBSD).

I think the same.

> After doing this, the next problem occurs:
> creating
> (cd .libs && rm -f && ln -s ../
> libtool  --mode=link cc -o x264 x264.o matroska.o muxers.o
> -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -lm -lpthread -s
> cc -o .libs/x264 x264.o matroska.o muxers.o -Wl,-R/usr/pkg/lib -s
> ./.libs/
> -L/home/NetBSD/wrkobj/multimedia/x264-devel/work.powerpc/.buildlink/lib
> -lm -lpthread  -Wl,--rpath -Wl,/usr/pkg/lib
> ./.libs/ undefined reference to `x264_cpu_detect'
> gmake: *** [x264] Error 1
> *** Error code 2

Maybe SYS_LINUX has some other effect too?

The best shot would be to discuss with the x264 developers itself, I hope they 
will be responsive.
If you can contact them, could you point us to their reply, please?


Home | Main Index | Thread Index | Old Index