Opened 15 years ago

Closed 14 years ago

#22748 closed defect (fixed)

handbrake 0.7.1 build error

Reported by: trier@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: handbrake

Description (last modified by jmroot (Joshua Root))

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)...

Change History (4)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Port: handbrake added

Please remember to fill in the Port field, and to preview and use WikiFormatting.

comment:2 Changed 14 years ago by raimue (Rainer Müller)

Resolution: wontfix
Status: newclosed

HandBrake updated to 0.9.5 in r75470.

comment:3 Changed 14 years ago by raimue (Rainer Müller)

Resolution: wontfix
Status: closedreopened

comment:4 Changed 14 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.