[MacPorts] #18653: x264 fails to compile

MacPorts noreply at macports.org
Wed Feb 25 23:50:48 PST 2009


#18653: x264 fails to compile
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  acho@…           
     Type:  defect                 |      Status:  new              
 Priority:  Normal                 |   Milestone:  Port Bugs        
Component:  ports                  |     Version:  1.7.0            
 Keywords:  compilation            |        Port:  x264             
-----------------------------------+----------------------------------------
 {{{
 gcc -O4 -ffast-math -O2 -fno-common -read_only_relocs suppress -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -arch ppc -I/opt/local/include
 -L/opt/local/lib -Wall -I. -falign-loops=16 -DARCH_X86 -DSYS_MACOSX
 -DWORDS_BIGENDIAN -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer   -c -o
 common/cpu.o common/cpu.c
 common/cpu.c:58: error: 'X264_CPU_SSE42' undeclared here (not in a
 function)
 common/cpu.c:61: error: 'X264_CPU_SSE_MISALIGN' undeclared here (not in a
 function)
 common/cpu.c:62: error: 'X264_CPU_LZCNT' undeclared here (not in a
 function)
 make: *** [common/cpu.o] Error 1
 Error: Target org.macports.build returned: shell command "cd
 /opt/local/var/macports/build/_Users_jeremy_src_macports-
 trunk_dports_multimedia_x264/work/ppc && make default" returned error 2
 Command output: gcc -O4 -ffast-math -O2 -fno-common -read_only_relocs
 suppress -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc
 -I/opt/local/include -L/opt/local/lib -Wall -I. -falign-loops=16
 -DARCH_X86 -DSYS_MACOSX -DWORDS_BIGENDIAN -DHAVE_PTHREAD -fPIC -s -fomit-
 frame-pointer   -c -o common/cpu.o common/cpu.c
 common/cpu.c:58: error: 'X264_CPU_SSE42' undeclared here (not in a
 function)
 common/cpu.c:61: error: 'X264_CPU_SSE_MISALIGN' undeclared here (not in a
 function)
 common/cpu.c:62: error: 'X264_CPU_LZCNT' undeclared here (not in a
 function)
 make: *** [common/cpu.o] Error 1

 Warning: the following items did not execute (for x264):
 org.macports.destroot org.macports.build
 Error: Unable to upgrade port: 1
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/18653>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list