Compiling VLC 1.1.0-git VCDX Error

macOS specific usage questions
diegofn
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2008 17:34

Compiling VLC 1.1.0-git VCDX Error

Postby diegofn » 10 Jan 2010 01:37

Hi,

I'm update my contrib and Git tree until today.

I made

Code: Select all

./bootstrap & ./configure --disable-silent-rules & make
. But I found the following error:

Code: Select all

Extracting /Users/diegofn/Documents/vlc/vlc/modules/access/vcdx/../../../compat/.libs/libcompat.a (cd .libs/libvcdx_plugin.lax/libcompat.a && ar x /Users/diegofn/Documents/vlc/vlc/modules/access/vcdx/../../../compat/.libs/libcompat.a) gcc -std=gnu99 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -o .libs/libvcdx_plugin.dylib -bundle .libs/libvcdx_plugin_la-access.o .libs/libvcdx_plugin_la-vcd.o .libs/libvcdx_plugin_la-vcdplayer.o .libs/libvcdx_plugin_la-info.o .libs/libvcdx_plugin.lax/libcompat.a/strndup.o .libs/libvcdx_plugin.lax/libcompat.a/strnlen.o -L/Users/diegofn/Documents/vlc/vlc/./extras/contrib/hosts/i686-apple-darwin9/lib -lpthread -liconv ../../../src/.libs/libvlccore.dylib -L///Users/diegofn/Documents/vlc/vlc/extras/contrib/hosts/i686-apple-darwin9/lib ///Users/diegofn/Documents/vlc/vlc/extras/contrib/hosts/i686-apple-darwin9/lib/libintl.dylib /usr/lib/libiconv.dylib /usr/lib/libc.dylib -mmacosx-version-min=10.5 -march=prescott -mtune=generic -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation -Wl,-headerpad_max_install_names Undefined symbols: "_vcdinf_pld_get_next_offset", referenced from: _vcdplayer_play_next in libvcdx_plugin_la-vcdplayer.o _vcdplayer_read in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_multi_default_lid", referenced from: _vcdplayer_play_default in libvcdx_plugin_la-vcdplayer.o "_vcdinf_get_num_selections", referenced from: _vcdplayer_read in libvcdx_plugin_la-vcdplayer.o "_vcdinfo_classify_itemid", referenced from: _vcdplayer_inc_play_item in libvcdx_plugin_la-vcdplayer.o _vcdplayer_play in libvcdx_plugin_la-vcdplayer.o "_vcdinf_pld_get_play_item", referenced from: _vcdplayer_inc_play_item in libvcdx_plugin_la-vcdplayer.o "_vcdinfo_get_format_version_str", referenced from: _VCDFormatStr in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinf_get_loop_count", referenced from: _vcdplayer_read in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinf_psd_get_return_offset", referenced from: _vcdplayer_play_return in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_video_type", referenced from: _vcdplayer_play_single_item in libvcdx_plugin_la-vcdplayer.o "_vcdinfo_visit_lot", referenced from: _VCDOpen in libvcdx_plugin_la-access.o "_vcdinf_get_timeout_offset", referenced from: _vcdplayer_read in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_offset_t", referenced from: _vcdplayer_update_entry in libvcdx_plugin_la-vcdplayer.o _vcdplayer_read in libvcdx_plugin_la-vcdplayer.o "_vcdinfo_get_track", referenced from: _VCDOpen in libvcdx_plugin_la-access.o _vcdplayer_play_single_item in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_close", referenced from: _VCDClose in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o "_vcdinf_get_bsn", referenced from: _vcdplayer_read in libvcdx_plugin_la-vcdplayer.o "_vcdinfo_strip_trail", referenced from: _VCDFormatStr in libvcdx_plugin_la-info.o "_vcdinfo_audio_type_num_channels", referenced from: _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_seg_lsn", referenced from: _VCDControl in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o _vcdplayer_play_single_item in libvcdx_plugin_la-vcdplayer.o "_cdio_get_devices_with_cap", referenced from: _VCDOpen in libvcdx_plugin_la-access.o "_vcdinfo_lid_get_pxd", referenced from: _vcdplayer_play in libvcdx_plugin_la-vcdplayer.o _vcdplayer_play_next in libvcdx_plugin_la-vcdplayer.o _vcdplayer_play_prev in libvcdx_plugin_la-vcdplayer.o _vcdplayer_play_return in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_cdio_read_mode2_sector", referenced from: _vcdplayer_read in libvcdx_plugin_la-vcdplayer.o "_vcdinfo_get_track_lsn", referenced from: _VCDSetOrigin in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o _vcdplayer_play_single_item in libvcdx_plugin_la-vcdplayer.o _vcdplayer_set_origin in libvcdx_plugin_la-vcdplayer.o "_vcdinfo_get_volumeset_id", referenced from: _VCDFormatStr in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_num_segments", referenced from: _VCDOpen in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o _vcdplayer_play_single_item in libvcdx_plugin_la-vcdplayer.o _vcdplayer_play_single_item in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_volume_count", referenced from: _VCDFormatStr in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_system_id", referenced from: _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_publisher_id", referenced from: _VCDFormatStr in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinf_get_wait_time", referenced from: _vcdplayer_read in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinf_psd_get_prev_offset", referenced from: _vcdplayer_play_prev in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_entry_lsn", referenced from: _VCDReadBlock in libvcdx_plugin_la-access.o _VCDReadBlock in libvcdx_plugin_la-access.o _VCDReadBlock in libvcdx_plugin_la-access.o _VCDReadBlock in libvcdx_plugin_la-access.o _VCDControl in libvcdx_plugin_la-access.o _VCDControl in libvcdx_plugin_la-access.o _VCDControl in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o _vcdplayer_play_single_item in libvcdx_plugin_la-vcdplayer.o "_vcdinfo_get_application_id", referenced from: _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinf_psd_get_lid_rejected", referenced from: _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_preparer_id", referenced from: _VCDFormatStr in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinf_psd_get_default_offset", referenced from: _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_pin2str", referenced from: _vcdplayer_inc_play_item in libvcdx_plugin_la-vcdplayer.o "_vcdinf_pld_get_prev_offset", referenced from: _vcdplayer_play_prev in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_seg_sector_count", referenced from: _VCDOpen in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o "_vcdinfo_get_tracksSVD", referenced from: _VCDOpen in libvcdx_plugin_la-access.o "_vcdinfo_get_track_audio_type", referenced from: _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinf_pld_get_noi", referenced from: _vcdplayer_inc_play_item in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_entry_sect_count", referenced from: _VCDSetOrigin in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o "_vcdinfo_video_type2str", referenced from: _vcdplayer_play_single_item in libvcdx_plugin_la-vcdplayer.o _VCDFormatStr in libvcdx_plugin_la-info.o "_cdio_get_first_track_num", referenced from: _VCDOpen in libvcdx_plugin_la-access.o "_vcdinfo_get_volume_num", referenced from: _VCDFormatStr in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_track_size", referenced from: _VCDOpen in libvcdx_plugin_la-access.o "_vcdinfo_get_num_LIDs", referenced from: _VCDOpen in libvcdx_plugin_la-access.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_volume_id", referenced from: _VCDFormatStr in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_cdio_log_set_handler", referenced from: _VCDOpen in libvcdx_plugin_la-access.o "_vcdinf_pld_get_return_offset", referenced from: _vcdplayer_play_return in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinf_psd_get_next_offset", referenced from: _vcdplayer_play_next in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_num_entries", referenced from: _VCDOpen in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o _vcdplayer_play_single_item in libvcdx_plugin_la-vcdplayer.o _vcdplayer_play_single_item in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinf_get_timeout_time", referenced from: _vcdplayer_read in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_num_tracks", referenced from: _VCDOpen in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_cdio_free_device_list", referenced from: _VCDOpen in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o "_vcdinfo_get_album_id", referenced from: _VCDFormatStr in libvcdx_plugin_la-info.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_vcdinfo_get_track_sect_count", referenced from: _VCDOpen in libvcdx_plugin_la-access.o _vcdplayer_set_origin in libvcdx_plugin_la-vcdplayer.o _VCDMetaInfo in libvcdx_plugin_la-info.o "_cdio_get_num_tracks", referenced from: _VCDOpen in libvcdx_plugin_la-access.o "_vcdinfo_get_cd_image", referenced from: _VCDOpen in libvcdx_plugin_la-access.o _VCDOpen in libvcdx_plugin_la-access.o _vcdplayer_read in libvcdx_plugin_la-vcdplayer.o "_vcdinfo_read_psd", referenced from: _VCDOpen in libvcdx_plugin_la-access.o "_vcd_log_set_handler", referenced from: _VCDOpen in libvcdx_plugin_la-access.o "_vcdinfo_track_get_entry", referenced from: _VCDSetOrigin in libvcdx_plugin_la-access.o _VCDControl in libvcdx_plugin_la-access.o "_vcdinfo_open", referenced from: _VCDOpen in libvcdx_plugin_la-access.o "_vcdinf_psd_get_itemid", referenced from: _vcdplayer_play in libvcdx_plugin_la-vcdplayer.o "_vcdinfo_selection_get_lid", referenced from: _vcdplayer_read in libvcdx_plugin_la-vcdplayer.o ld: symbol(s) not found collect2: ld returned 1 exit status make[6]: *** [libvcdx_plugin.la] Error 1 make[5]: *** [all] Error 2 make[4]: *** [all-recursive] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
If I manually run the compile line with the

Code: Select all

-lvcdinfo -lcdio
I get the following error:

Code: Select all

$ gcc -std=gnu99 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -o .libs/libvcdx_plugin.dylib -bundle .libs/libvcdx_plugin_la-access.o .libs/libvcdx_plugin_la-vcd.o .libs/libvcdx_plugin_la-vcdplayer.o .libs/libvcdx_plugin_la-info.o .libs/libvcdx_plugin.lax/libcompat.a/strndup.o .libs/libvcdx_plugin.lax/libcompat.a/strnlen.o -L/Users/diegofn/Documents/vlc/vlc/./extras/contrib/hosts/i686-apple-darwin9/lib -lpthread ../../../src/.libs/libvlccore.dylib -L///Users/diegofn/Documents/vlc/vlc/extras/contrib/hosts/i686-apple-darwin9/lib ///Users/diegofn/Documents/vlc/vlc/extras/contrib/hosts/i686-apple-darwin9/lib/libintl.dylib /usr/lib/libiconv.dylib /usr/lib/libc.dylib -mmacosx-version-min=10.5 -march=prescott -mtune=generic -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation -Wl,-headerpad_max_install_names -lvcdinfo -lcdio Undefined symbols: "_DASessionCreate", referenced from: __eject_media_osx in libcdio.a(osx.o) "_DADiskEject", referenced from: _media_unmount_callback in libcdio.a(osx.o) __eject_media_osx in libcdio.a(osx.o) "_iso9660_get_application_id", referenced from: _vcdinfo_get_application_id in libvcdinfo.a(info.o) "_DADiskCreateFromBSDName", referenced from: __eject_media_osx in libcdio.a(osx.o) "_iso9660_fs_read_pvd", referenced from: _vcdinfo_open in libvcdinfo.a(info.o) "_iso9660_get_publisher_id", referenced from: _vcdinfo_get_publisher_id in libvcdinfo.a(info.o) "_iso9660_find_fs_lsn", referenced from: _vcdinfo_get_entry_sect_count in libvcdinfo.a(info.o) _vcdinfo_get_track_sect_count in libvcdinfo.a(info.o) _vcdinfo_get_track_size in libvcdinfo.a(info.o) "_iso9660_fs_stat", referenced from: _vcdinfo_open in libvcdinfo.a(info.o) _vcdinfo_open in libvcdinfo.a(info.o) _vcdinfo_open in libvcdinfo.a(info.o) _vcdinfo_open in libvcdinfo.a(info.o) _vcdinfo_open in libvcdinfo.a(info.o) _vcdinfo_open in libvcdinfo.a(info.o) _vcdinfo_open in libvcdinfo.a(info.o) _vcdinfo_open in libvcdinfo.a(info.o) "_DADissenterGetStatusString", referenced from: _media_eject_callback in libcdio.a(osx.o) "_iso9660_get_system_id", referenced from: _vcdinfo_get_system_id in libvcdinfo.a(info.o) "_iso9660_dirname_valid_p", referenced from: _vcd_obj_add_dir in libvcdinfo.a(vcd.o) "_iso9660_set_evd", referenced from: __write_vcd_iso_track in libvcdinfo.a(vcd.o) "_iso9660_dir_init_new_su", referenced from: _traverse_vcd_directory_dump_entries in libvcdinfo.a(directory.o) "_iso9660_pathname_valid_p", referenced from: _vcd_obj_add_file in libvcdinfo.a(vcd.o) "_iso9660_set_pvd", referenced from: __write_vcd_iso_track in libvcdinfo.a(vcd.o) "_DASessionScheduleWithRunLoop", referenced from: __eject_media_osx in libcdio.a(osx.o) "_iso9660_pathtable_m_add_entry", referenced from: __dump_pathtables_helper in libvcdinfo.a(directory.o) "_DADiskUnmount", referenced from: __eject_media_osx in libcdio.a(osx.o) "_iso9660_dir_add_entry_su", referenced from: _traverse_vcd_directory_dump_entries in libvcdinfo.a(directory.o) "_iso9660_pathtable_get_size", referenced from: __write_vcd_iso_track in libvcdinfo.a(vcd.o) "_iso9660_get_preparer_id", referenced from: _vcdinfo_get_preparer_id in libvcdinfo.a(info.o) "_DASessionUnscheduleFromRunLoop", referenced from: __eject_media_osx in libcdio.a(osx.o) "_iso9660_strncpy_pad", referenced from: _set_info_vcd in libvcdinfo.a(files.o) "_iso9660_pathname_isofy", referenced from: _traverse_update_sizes in libvcdinfo.a(directory.o) _traverse_vcd_directory_dump_entries in libvcdinfo.a(directory.o) "_kDADiskDescriptionVolumePathKey", referenced from: _kDADiskDescriptionVolumePathKey$non_lazy_ptr in libcdio.a(osx.o) "_iso9660_pathtable_l_add_entry", referenced from: __dump_pathtables_helper in libvcdinfo.a(directory.o) "_iso9660_xa_init", referenced from: _traverse_vcd_directory_dump_entries in libvcdinfo.a(directory.o) "_DADiskCopyDescription", referenced from: __eject_media_osx in libcdio.a(osx.o) "_iso9660_pathtable_init", referenced from: __vcd_directory_dump_pathtables in libvcdinfo.a(directory.o) __vcd_directory_dump_pathtables in libvcdinfo.a(directory.o) "_iso9660_get_volume_id", referenced from: _vcdinfo_get_volume_id in libvcdinfo.a(info.o) "_iso9660_dir_calc_record_size", referenced from: _traverse_update_sizes in libvcdinfo.a(directory.o) _traverse_update_sizes in libvcdinfo.a(directory.o) _traverse_update_sizes in libvcdinfo.a(directory.o) "_iso9660_fs_readdir", referenced from: __init_segments in libvcdinfo.a(info.o) ld: symbol(s) not found collect2: ld returned 1 exit status
Can you check this error.

Thanks for all

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compiling VLC 1.1.0-git VCDX Error

Postby Jean-Baptiste Kempf » 11 Jan 2010 11:54

-liso9660 -lcdio
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

juraj
Blank Cone
Blank Cone
Posts: 27
Joined: 05 Dec 2009 10:41

Re: Compiling VLC 1.1.0-git VCDX Error

Postby juraj » 11 Jan 2010 14:38

Same problem here. I don't understand this sentence "If I manually run the compile line with the -lvcdinfo -lcdio". What is compile line? I tried to do the following, when make didn't succeed. I ran:

Code: Select all

./compile -lvcdinfo -lcdio
same error.

Then I ran:

Code: Select all

./compile -liso9660 -lcdio
same error.

Please help. Thanks.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compiling VLC 1.1.0-git VCDX Error

Postby Jean-Baptiste Kempf » 11 Jan 2010 15:02

Of course not, you have to modify vlc-config accordingly.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

juraj
Blank Cone
Blank Cone
Posts: 27
Joined: 05 Dec 2009 10:41

Re: Compiling VLC 1.1.0-git VCDX Error

Postby juraj » 11 Jan 2010 16:00

Thanks for your quick replay but I don't know what file do I need to change and what should I write in there. If you have patience yet, please tell me.

Thanks!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compiling VLC 1.1.0-git VCDX Error

Postby Jean-Baptiste Kempf » 11 Jan 2010 16:02

open vlc-config.
Look at the vcdx module line. In libs, add ALL of the -l flags we discussed about.
rerun make.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

juraj
Blank Cone
Blank Cone
Posts: 27
Joined: 05 Dec 2009 10:41

Re: Compiling VLC 1.1.0-git VCDX Error

Postby juraj » 11 Jan 2010 16:24

Better, but I am still getting errors. I did following:
1.) opened vlc-config.in
2.) changed vcdx section:

Code: Select all

libs="${libs} -liconv -lvcdinfo -liso9660 -lcdio"
3.) rerun make

and got errors:

Code: Select all

Undefined symbols: "_DASessionUnscheduleFromRunLoop", referenced from: __eject_media_osx in libcdio.a(osx.o) "_DADiskCopyDescription", referenced from: __eject_media_osx in libcdio.a(osx.o) "_DADiskUnmount", referenced from: __eject_media_osx in libcdio.a(osx.o) "_DADiskCreateFromBSDName", referenced from: __eject_media_osx in libcdio.a(osx.o) "_DASessionCreate", referenced from: __eject_media_osx in libcdio.a(osx.o) "_DADissenterGetStatusString", referenced from: _media_eject_callback in libcdio.a(osx.o) "_kDADiskDescriptionVolumePathKey", referenced from: __eject_media_osx in libcdio.a(osx.o) "_DADiskEject", referenced from: _media_unmount_callback in libcdio.a(osx.o) __eject_media_osx in libcdio.a(osx.o) "_DASessionScheduleWithRunLoop", referenced from: __eject_media_osx in libcdio.a(osx.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[6]: *** [libvcdx_plugin.la] Error 1 make[5]: *** [all] Error 2 make[4]: *** [all-recursive] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2

des
New Cone
New Cone
Posts: 4
Joined: 03 Jul 2009 09:59

Re: Compiling VLC 1.1.0-git VCDX Error

Postby des » 11 Jan 2010 17:22

add framework DiskArbitration.
in vlc-config:

vcdx)
cflags="${cflags} "
ldflags="${ldflags} -Wl,-framework,IOKit,-framework,CoreFoundation,-framework,DiskArbitration"
libs="${libs} -liconv -lvcdinfo -liso9660 -lcdio"

diegofn
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2008 17:34

Re: Compiling VLC 1.1.0-git VCDX Error

Postby diegofn » 11 Jan 2010 18:05

Thanks for all 'des' with this line it compiles fine

I suggest to you the following Patch to include in the GIT repository

Code: Select all

diff --git a/configure.ac b/configure.ac index 5f88c3d..43fbdb6 100644 --- a/configure.ac +++ b/configure.ac @@ -2585,8 +2585,8 @@ then then VLC_ADD_PLUGIN([vcd]) VLC_ADD_PLUGIN([cdda]) - VLC_ADD_LDFLAGS([vcd vcdx cdda],[-Wl,-framework,IOKit,-framework,CoreFoundation]) - VLC_ADD_LIBS([vcdx cdda],[-liconv]) + VLC_ADD_LDFLAGS([vcd vcdx cdda],[-Wl,-framework,IOKit,-framework,CoreFoundation,-framework,DiskArbitration]) + VLC_ADD_LIBS([vcdx cdda],[-liconv -lvcdinfo -liso9660 -lcdio]) fi if test "$enable_libcddb" != "no"; then

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compiling VLC 1.1.0-git VCDX Error

Postby Jean-Baptiste Kempf » 11 Jan 2010 18:27

Don't you have PKG_CONFIG working?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

diegofn
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2008 17:34

Re: Compiling VLC 1.1.0-git VCDX Error

Postby diegofn » 11 Jan 2010 19:47

Yes, j-b

I have PKG-CONFIG in the contrib directory

Code: Select all

$ /Users/diegofn/Documents/vlc/vlc/extras/contrib/hosts/i686-apple-darwin9/bin/./pkg-config --version 0.23

des
New Cone
New Cone
Posts: 4
Joined: 03 Jul 2009 09:59

Re: Compiling VLC 1.1.0-git VCDX Error

Postby des » 12 Jan 2010 12:38

on 6th january vcdinfo changed to libvcdinfo
some items must also be renamed
diff in codesection works on my system, no more additional
libs or frameworks needed

Code: Select all

diff --git a/configure.ac b/configure.ac index 356f631..851d588 100644 --- a/configure.ac +++ b/configure.ac @@ -2488,7 +2488,7 @@ then [Define if you have libcdio 0.78.2 or greater installed]), [AC_MSG_WARN(CD Reading and information library not found)]) - if test "${enable_vcdinfo}" != "no" + if test "${enable_libvcdinfo}" != "no" then PKG_CHECK_MODULES(LIBVCDINFO, libvcdinfo >= 0.7.22, [have_libvcdinfo=yes], @@ -2506,8 +2506,8 @@ if test "${enable_vcdx}" = "yes" then if test "${have_libvcdinfo}" = "yes" then - VLC_ADD_LIBS([vcdx],[$VCDINFO_LIBS]) - VLC_ADD_CFLAGS([vcdx],[$VCDINFO_CFLAGS]) + VLC_ADD_LIBS([vcdx],[$LIBVCDINFO_LIBS]) + VLC_ADD_CFLAGS([vcdx],[$LIBVCDINFO_CFLAGS]) else AC_MSG_WARN([vcdx plugin disabled because ok libvcdinfo library not found or disabled]) HAVE_VCDX=no @@ -2523,8 +2523,8 @@ then then AC_DEFINE(HAVE_VCDX, 1, [Define for the VCD plugin using libcdio/libvcdinfo]) - VLC_ADD_LIBS([vcdx],[$VCDINFO_LIBS]) - VLC_ADD_CFLAGS([vcdx],[$VCDINFO_CFLAGS]) + VLC_ADD_LIBS([vcdx],[$LIBVCDINFO_LIBS]) + VLC_ADD_CFLAGS([vcdx],[$LIBVCDINFO_CFLAGS]) VLC_ADD_PLUGIN([vcdx]) else AC_MSG_WARN([vcdx plugin disabled because ok libvcdinfo library not found])

des
New Cone
New Cone
Posts: 4
Joined: 03 Jul 2009 09:59

Re: Compiling VLC 1.1.0-git VCDX Error

Postby des » 12 Jan 2010 22:40

ich have sent a patch

it's in the repository under 76f6410c0c6b37f5d582646eafacd8e4ffb24c16

http://git.videolan.org/gitweb.cgi/vlc. ... e4ffb24c16

please update your local repository

diegofn
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2008 17:34

Re: Compiling VLC 1.1.0-git VCDX Error

Postby diegofn » 15 Jan 2010 02:23

It compile fine... thanks!

But VLC crash when I play any video :S


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests