[vlc-devel] Newbie: Intel OS X porting problems for vstream access module

Ian McCall ian at eruvia.org
Sat May 13 21:13:23 CEST 2006


Newbie to VLC development here, first posting to the list.

I'm trying to port the vstream access module as found on this page:

The source there is  not compilable on an Intel Mac as the Mac's gcc  
doesn't support nested functions. gcc -v gives:
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5250.obj~12/src/configure -- 
disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- 
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] 
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 -- 
build=powerpc-apple-darwin8 --with-arch=pentium-m --with- 
tune=prescott --program-prefix= --host=i686-apple-darwin8 -- 
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5250)

I've altered the vstream source to remove the nested functions, and  
compiled up an i386 .dylib against the vlc 0.8.5 source. However,  
copying that to the modules directory inside the VLC.app package  
doesn't seem to load anything. running  ./clivlc --list  doesn't show  
anything about vstream in there.

Any clues for a newbie as to where to look next? This module has  
worked for me in the past against older VLC versions on PPC, but I'm  
not getting anywhere at the moment


This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list