[vlc-devel] Current master doesn't compile on an intel Mac

Mick Weiss mick at mickweiss.com
Thu May 6 08:41:44 CEST 2010


You've been able to build AND run vlc on osx? I haven't been able to get 
it to run (on snow leopard) - it builds though. I get "* no suitable 
interface module"*.
You might be able to provide some advice. What did you use on your 
./configure line?

This is what happens after I run it:

./VLC -vvv
[0x100212400] main libvlc debug: VLC media player - 1.2.0-git Twoflower
[0x100212400] main libvlc debug: Copyright © 1996-2010 the VideoLAN team
[0x100212400] main libvlc debug: revision 1.1.0-pre1-339-g82f69eb
[0x100212400] main libvlc debug: configured with ./configure  '-C' 
'--build=x86_64-apple-darwin10' '--enable-debug' '--enable-macosx-vout' 
'--disable-qt4' '--enable-run-as-root' 
'--with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk/' 
'--with-macosx-version-min=10.6' '--disable-lua' 
'--disable-macosx-defaults' '--enable-faad' '--enable-flac' 
'--enable-theora' '--enable-shout' '--enable-vcdx' '--enable-caca' 
'--enable-ncurses' '--enable-twolame' '--enable-realrtsp' 
'--enable-libass' '--enable-asademux' '--disable-skins2' '--disable-xcb' 
'build_alias=x86_64-apple-darwin10' 'CC=/Developer/usr/bin/llvm-gcc-4.2' 
'CXX=/Developer/usr/bin/llvm-g++-4.2' 'OBJC=/Developer/usr/bin/llvm-gcc-4.2'
[0x100212400] main libvlc debug: translation test: code is "de"
[0x100212400] main libvlc debug: opening config file 
(/Users/somehacker/Library/Preferences/org.videolan.vlc/vlcrc)
[0x100212400] main libvlc debug: checking plugin modules
[0x100212400] main libvlc debug: loading plugins cache file 
/Users/somehacker/Projects/vlc-orig/VLC-release.app/Contents/MacOS/./plugins/plugins-04081e-7e8.dat
[0x100212400] main libvlc debug: recursively browsing 
`/Users/somehacker/Projects/vlc-orig/VLC-release.app/Contents/MacOS/./plugins'
[0x100212400] main libvlc debug: saving plugins cache 
/Users/somehacker/Projects/vlc-orig/VLC-release.app/Contents/MacOS/./plugins/plugins-04081e-7e8.dat
[0x100212400] main libvlc debug: module bank initialized (335 modules)
[0x100212400] main libvlc debug: opening config file 
(/Users/somehacker/Library/Preferences/org.videolan.vlc/vlcrc)
[0x100212400] main libvlc debug: CPU has capabilities MMX MMXEXT SSE 
SSE2 SSE3 SSSE3 SSE4.1 FPU
[0x100212400] main libvlc debug: looking for memcpy module: 4 candidates
[0x100212400] main libvlc debug: using memcpy module "memcpymmxext"
[0x104213140] main input debug: Creating an input for 'Medienbibliothek'
[0x104213140] main input debug: Input is a meta file: disabling unneeded 
options
[0x104213140] main input debug: using timeshift granularity of 50 MiB
[0x104213140] main input debug: using timeshift path '/tmp'
[0x104213140] main input debug: 
`file/xspf-open:///Users/somehacker/Library/Application%20Support/org.videolan.vlc/ml.xspf' 
gives access `file' demux `xspf-open' path 
`/Users/somehacker/Library/Application Support/org.videolan.vlc/ml.xspf'
[0x104213140] main input debug: creating demux: access='file' 
demux='xspf-open' path='/Users/somehacker/Library/Application 
Support/org.videolan.vlc/ml.xspf'
[0x104217ee0] main demux debug: looking for access_demux module: 2 
candidates
[0x104217ee0] main demux debug: no access_demux module matching "file" 
could be loaded
[0x104217ee0] main demux debug: TIMER module_need() : 0,101 ms - Total 
0,101 ms / 1 intvls (Avg 0,101 ms)
[0x104213140] main input debug: creating access 'file' 
path='/Users/somehacker/Library/Application 
Support/org.videolan.vlc/ml.xspf'
[0x104217ed0] main access debug: looking for access module: 3 candidates
[0x104217ed0] access_mmap access debug: opening file 
/Users/somehacker/Library/Application Support/org.videolan.vlc/ml.xspf
[0x104217ed0] main access debug: using access module "access_mmap"
[0x104217ed0] main access debug: TIMER module_need() : 0,112 ms - Total 
0,112 ms / 1 intvls (Avg 0,112 ms)
[0x1042183d0] main stream debug: Using AStream*Block
[0x1042183d0] main stream debug: pre buffering
[0x1042183d0] main stream debug: received first data after 0 ms
[0x1042183d0] main stream debug: prebuffering done 299 bytes in 0s - 
13272 KiB/s
[0x1042187f0] main stream debug: looking for stream_filter module: 5 
candidates
[0x1042187f0] main stream debug: no stream_filter module matching "any" 
could be loaded
[0x1042187f0] main stream debug: TIMER module_need() : 0,087 ms - Total 
0,087 ms / 1 intvls (Avg 0,087 ms)
[0x1042187a0] main stream debug: looking for stream_filter module: 1 
candidate
[0x1042187a0] main stream debug: using stream_filter module 
"stream_filter_record"
[0x1042187a0] main stream debug: TIMER module_need() : 0,057 ms - Total 
0,057 ms / 1 intvls (Avg 0,057 ms)
[0x104213140] main input debug: creating demux: access='file' 
demux='xspf-open' path='/Users/somehacker/Library/Application 
Support/org.videolan.vlc/ml.xspf'
[0x104218a10] main demux debug: looking for demux module: 1 candidate
[0x104218a10] playlist demux debug: using XSPF playlist reader
[0x104218a10] main demux debug: using demux module "playlist"
[0x104218a10] main demux debug: TIMER module_need() : 0,086 ms - Total 
0,086 ms / 1 intvls (Avg 0,086 ms)
[0x104218d70] main demux meta debug: looking for meta reader module: 1 
candidate
[0x104218d70] main demux meta debug: no meta reader module matching 
"any" could be loaded
[0x104218d70] main demux meta debug: TIMER module_need() : 0,095 ms - 
Total 0,095 ms / 1 intvls (Avg 0,095 ms)
[0x104213140] main input debug: 
`file/xspf-open:///Users/somehacker/Library/Application%20Support/org.videolan.vlc/ml.xspf' 
successfully opened
[0x104218e80] main xml debug: looking for xml module: 2 candidates
[0x104218e80] main xml debug: using xml module "xml"
[0x104218e80] main xml debug: TIMER module_need() : 0,146 ms - Total 
0,146 ms / 1 intvls (Avg 0,146 ms)
[0x104217ed0] access_mmap access debug: at end of memory mapped file
[0x104218a10] playlist demux debug: parsed 0 tracks successfully
[0x104218e80] main xml debug: removing module "xml"
[0x104213140] main input debug: EOF reached
[0x104218a10] main demux debug: removing module "playlist"
[0x1042187a0] main stream debug: removing module "stream_filter_record"
[0x104217ed0] main access debug: removing module "access_mmap"
[0x104213140] main input debug: Destroying the input for 'Medienbibliothek'
[0x104213140] main input debug: TIMER input launching for 
'Medienbibliothek' : 1,045 ms - Total 1,045 ms / 1 intvls (Avg 1,045 ms)
[0x104213140] main interface debug: looking for interface module: 1 
candidate
[0x104213140] main interface debug: using interface module "hotkeys"
[0x104213140] main interface debug: TIMER module_need() : 0,064 ms - 
Total 0,064 ms / 1 intvls (Avg 0,064 ms)
[0x104217ed0] main interface debug: looking for interface module: 1 
candidate
[0x104217ed0] main interface debug: using interface module "signals"
[0x104217ed0] main interface debug: TIMER module_need() : 0,153 ms - 
Total 0,153 ms / 1 intvls (Avg 0,153 ms)
[0x104a00220] main interface debug: looking for interface module: 0 
candidates
[0x104a00220] main interface debug: no interface module matched 
"globalhotkeys,none"
[0x104a00220] main interface debug: TIMER module_need() : 0,107 ms - 
Total 0,107 ms / 1 intvls (Avg 0,107 ms)
*[0x104a00220] main interface error: no suitable interface module*
*[0x100212400] main libvlc error: interface "globalhotkeys,none" 
initialization failed*
[0x100212400] main libvlc: vlc wird mit dem Standard-Interface 
ausgeführt. Benutzen Sie 'cvlc', um vlc ohne Interface zu verwenden.
[0x104a00320] main interface debug: looking for interface module: 2 
candidates
Remote-Control-Interface initialisiert. Geben Sie `help' für Hilfe ein.
[0x104a00320] main interface debug: using interface module "oldrc"
[0x104a00320] main interface debug: TIMER module_need() : 0,100 ms - 
Total 0,100 ms / 1 intvls (Avg 0,100 ms)
[0x104a00320] main interface debug: thread (interface) created at 
priority 0 (interface/interface.c:160)
[0x104a00320] main interface debug: thread started
[0x104210ce0] main playlist debug: Activated
[0x104210ce0] main playlist debug: rebuilding array of current - root 
Wiedergabeliste
[0x104210ce0] main playlist debug: rebuild done - 0 items, index -1
*^C[0x104217ed0] signals interface error: Caught Interrupt signal, 
exiting...*
[0x100212400] main libvlc debug: deactivating the playlist
[0x104210ce0] main playlist debug: Deactivate
[0x104215580] main playlist export debug: saving Medienbibliothek to 
file /Users/somehacker/Library/Application Support/org.videolan.vlc/ml.xspf
[0x104215580] main playlist export debug: looking for playlist export 
module: 1 candidate
[0x104215580] main playlist export debug: using playlist export module 
"export"
[0x104215580] main playlist export debug: TIMER module_need() : 0,161 ms 
- Total 0,161 ms / 1 intvls (Avg 0,161 ms)
[0x104215580] main playlist export debug: removing module "export"
[0x104210ce0] main playlist debug: Deactivated
[0x100212400] main libvlc debug: removing all services discovery tasks
[0x100212400] main libvlc debug: removing all interfaces
[0x104a00320] main interface debug: waitpipe: object killed
[0x104a00320] main interface debug: socket 0 polling interrupted
status change: ( stop state: 0 )
status change: ( quit )
[0x104a00320] main interface debug: thread ended
[0x104a00320] main interface debug: removing module "oldrc"
[0x104217ed0] main interface debug: removing module "signals"
[0x104213140] main interface debug: removing module "hotkeys"
[0x104210ce0] main playlist debug: destroying
[0x100212400] main libvlc debug: TIMER ML Load : Total 1,658 ms / 1 
intvls (Avg 1,658 ms)
[0x100212400] main libvlc debug: TIMER Items array build : Total 0,027 
ms / 1 intvls (Avg 0,027 ms)
[0x100212400] main libvlc debug: TIMER ML Dump : Total 0,414 ms / 1 
intvls (Avg 0,414 ms)
[0x100212400] main libvlc debug: removing stats
[0x100212400] main libvlc debug: removing module "memcpymmxext"

thanks,

- Mick


On 05.05.10 18:16, Juho Vähä-Herttua wrote:
> Hi,
>
> The commit 3953586c057cb4cbecb2c5d5aa7631ec17e40d1f seems to break Mac compilation for me, because it tries to call sysctlbyname which is defined in<sys/sysctl.h>  header, but that header is only included for PPC macs for some reason. A very straightforward patch that fixed the issue for me is included.
>
>
> Juho
>
>
>    
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100506/60088435/attachment.html>


More information about the vlc-devel mailing list