[MacPorts] #22748: handbrake 0.7.1 build error

MacPorts noreply at macports.org
Tue Dec 1 17:35:33 PST 2009


#22748: handbrake 0.7.1  build error
---------------------------------+------------------------------------------
 Reporter:  trier@…              |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.8.1                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 When I try to install handbrake, I get the error report below.  Evidently,
 a function x264_encoder_close() is being referenced before it was
 declared.  is it missing from some header file?


 --->  Computing dependencies for HandBrake
 --->  Building HandBrake
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_Volumes_NetworkDrive_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_HandBrake/work/HandBrake-0.7.1"
 && jam " returned error 1
 Command output: libhb/encx264.c:126: warning: implicit declaration of
 function 'x264_encoder_close'
 libhb/encx264.c:126: error: dereferencing pointer to incomplete type
 libhb/encx264.c:130: error: dereferencing pointer to incomplete type
 libhb/encx264.c: In function 'Work':
 libhb/encx264.c:138: error: dereferencing pointer to incomplete type
 libhb/encx264.c:141: error: 'x264_nal_t' undeclared (first use in this
 function)
 libhb/encx264.c:141: error: 'nal' undeclared (first use in this function)
 libhb/encx264.c:145: error: dereferencing pointer to incomplete type
 libhb/encx264.c:149: error: dereferencing pointer to incomplete type
 libhb/encx264.c:150: error: dereferencing pointer to incomplete type
 libhb/encx264.c:154: error: dereferencing pointer to incomplete type
 libhb/encx264.c:156: error: dereferencing pointer to incomplete type
 libhb/encx264.c:160: error: dereferencing pointer to incomplete type
 libhb/encx264.c:160: error: 'X264_TYPE_AUTO' undeclared (first use in this
 function)
 libhb/encx264.c:161: error: dereferencing pointer to incomplete type
 libhb/encx264.c:163: warning: implicit declaration of function
 'x264_encoder_encode'
 libhb/encx264.c:163: error: dereferencing pointer to incomplete type
 libhb/encx264.c:164: error: dereferencing pointer to incomplete type
 libhb/encx264.c:164: error: dereferencing pointer to incomplete type
 libhb/encx264.c:178: warning: implicit declaration of function
 'x264_nal_encode'
 libhb/encx264.c:186: error: 'NAL_PRIORITY_HIGHEST' undeclared (first use
 in this function)

 gcc -c -o libhb/encx264.o -Wall -g -O3 -funroll-loops -I./contrib/include
 -DSYS_DARWIN -DWORDS_BIGENDIAN -DHB_VERSION=\"0.7.1\"
 -DHB_BUILD=2006022400 -D__LIBHB__ -Ilibhb libhb/encx264.c

 ...failed Cc libhb/encx264.o ...
 ...skipped libhb.a for lack of libhb.a(encx264.o)...
 ...skipped HBTest for lack of libhb.a...
 ...skipped HandBrake.app for lack of libhb.a...
 ...failed updating 2 target(s)...
 ...skipped 3 target(s)...

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


More information about the macports-tickets mailing list