pkgsrc-Bugs archive

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

pkg/38470: multimedia/x264-devel doesn't compile on NetBSD/macppc



>Number:         38470
>Category:       pkg
>Synopsis:       multimedia/x264-devel doesn't compile on NetBSD/macppc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 20 15:20:00 +0000 2008
>Originator:     Magnus Henoch
>Release:        NetBSD 4.99.42
>Organization:
        
>Environment:
        
        
System: NetBSD zemdatav 4.99.42 NetBSD 4.99.42 (IBOOK) #2: Fri Dec 14 09:47:51 
CET 2007 magnus@zemdatav:/media/e/netbsd/obj/sys/arch/macppc/compile/IBOOK 
macppc
Architecture: powerpc
Machine: macppc
>Description:
        I'm trying to build pkgsrc/multimedia/x264-devel on
        NetBSD/macppc (more or less -current), but I get this error:

 cc -c -O4 -ffast-math -O2 -Wall -I. -DARCH_PPC -DSYS_NETBSD -DHAVE_PTHREAD -s 
-fomit-frame-pointer -maltivec -mabi=altivec common/ppc/mc.c  -fPIC -DPIC -o 
common/ppc/.libs/mc.o
In file included from common/ppc/mc.c:34:
./x264.h:32:4: warning: #warning You must include stdint.h or inttypes.h before 
x264.h
In file included from common/ppc/mc.c:39:
common/ppc/ppccommon.h:45: error: expected specifier-qualifier-list before 
'vector'
common/ppc/ppccommon.h:50: error: expected specifier-qualifier-list before 
'vector'
common/ppc/ppccommon.h:55: error: expected specifier-qualifier-list before 
'vector'
common/ppc/mc.c: In function 'pixel_avg_w8':
common/ppc/mc.c:80: error: 'vector' undeclared (first use in this function)
common/ppc/mc.c:80: error: (Each undeclared identifier is reported only once
common/ppc/mc.c:80: error: for each function it appears in.)
common/ppc/mc.c:80: error: expected ';' before 'unsigned'
common/ppc/mc.c:81: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'unsigned'
common/ppc/mc.c:81: warning: implicit declaration of function 'vec_splat_u8'
common/ppc/mc.c:82: error: expected ';' before 'unsigned'
common/ppc/mc.c:83: error: expected ';' before 'unsigned'
common/ppc/mc.c:83: error: expected ';' before 'unsigned'

[...lots of similar lines elided...]


>How-To-Repeat:
        
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index