Opened 13 years ago

Closed 13 years ago

#32118 closed defect (fixed)

VLC09 : png.c:152: error: 'png_infopp_NULL' undeclared (first use in this function)

Reported by: rudloff@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: tiger Cc: mnick@…, ryandesign (Ryan Carsten Schmidt)
Port: VLC09

Description

MacBook-Rudloff:~ pierre$ sudo port install vlc09 +no_ffmpeg
--->  Computing dependencies for vlc09
--->  Building vlc09
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for vlc09 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_VLC09/vlc09/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
MacBook-Rudloff:~ pierre$ 

Attachments (1)

main.log (91.6 KB) - added by rudloff@… 13 years ago.

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by rudloff@…

Attachment: main.log added

comment:1 Changed 13 years ago by royliu@…

Errr, this is an old, old port, and the bug has already been fixed in the VLC port. Have you tried using that instead?

comment:2 Changed 13 years ago by rudloff@…

The VLC port won't build on Tiger :

Error: VLC 1.0.6 requires Mac OS X 10.5 or greater, use port 'VLC09' instead
Error: Target org.macports.fetch returned: incompatible Mac OS X version

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

We should just need to back-port something like this; testing now.

comment:4 Changed 13 years ago by rudloff@…

I tried the patch and got this error :

x264.c:951: error: 'x264_param_t' has no member named 'b_bframe_pyramid'

So I tried with -x264 and got this error :

/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_av_free_packet
_av_init_packet

comment:5 in reply to:  3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

We should just need to back-port something like this; testing now.

r87380

comment:6 in reply to:  4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to rudloff@…:

x264.c:951: error: 'x264_param_t' has no member named 'b_bframe_pyramid'

Fixed in r87381 but that still leaves:

:info:build x264.c: In function 'Open':
:info:build x264.c:1306: warning: passing argument 1 of 'x264_nal_encode' from incompatible pointer type
:info:build x264.c:1306: warning: passing argument 2 of 'x264_nal_encode' from incompatible pointer type
:info:build x264.c:1306: warning: passing argument 3 of 'x264_nal_encode' makes pointer from integer without a cast
:info:build x264.c:1306: error: too many arguments to function 'x264_nal_encode'
:info:build x264.c: In function 'Encode':
:info:build x264.c:1358: warning: passing argument 1 of 'x264_nal_encode' from incompatible pointer type
:info:build x264.c:1358: warning: passing argument 2 of 'x264_nal_encode' from incompatible pointer type
:info:build x264.c:1358: warning: passing argument 3 of 'x264_nal_encode' makes pointer from integer without a cast
:info:build x264.c:1358: error: too many arguments to function 'x264_nal_encode'

Really, your best bet for getting VLC on Tiger is to download the 0.9.10 binary from the VLC web site.

comment:7 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

I updated VLC09 to build on Tiger a little while ago, mainly by removing support for things that no longer worked...

Note: See TracTickets for help on using tickets.