Compiling VLC for Mac OS X

Michael Butler volrath at mac.com
Tue Apr 17 08:51:44 CEST 2001


Well that sorta worked.  I got it to make the app partially, even though 
it ended in an error.  It runs.  It plays an mpeg movie... or at least 
its sound track.  I tried building the kext, but it says a bunch of 
things about the kext files being invalid and so I can't really play 
dvds or anything at all with it.  Sure would like to though...

here is the error from the pbxbuild:
DVDioctl.cpp: In function `int DVDBlockIoctl(int, long unsigned int, 
char *, int, proc *)':
DVDioctl.cpp:488: parse error before `->'
DVDioctl.cpp: In function `void DVDReadWriteCompletion(void *, void *, 
int, long long unsigned int)':
DVDioctl.cpp:617: warning: unused variable `dev_t dev'
...failed CompileCplusplus 
/var/root/vlc-0.2.72/extras/DVDioctl/build/DVDioctl.build/DVDioctl.build/Objects/
ppc/DVDioctl.o ...
** BUILD FAILED **

Michael Butler
volrath at mac.com
On Monday, April 16, 2001, at 11:19 PM, Eric Carlson wrote:

> Do this (do a make clean first if necessary):
> ./configure --disable-gtk
> make
> <wait... it will fail with a bunch of ld errors>
> ranlib lib/*.a
> make
>
> I just tested this with the latest 0.2.72 tarball and it works fine.
>
> You should end up with a working command line binary. vlc.app still 
> seems to have issues, but your results may vary.
>
> Eric
>
> On Monday, April 16, 2001, at 11:39  PM, volrath at mac.com wrote:
>>
>> I can't quite get vlc to compile.  After compiling for a while, it says
>> this:
>> (massive link here)
>> cc: unrecognized option `-rdynamic'
>> /usr/bin/ld: table of contents for archive: lib/ps.a is out of date;
>> rerun ranlib(1) (can't load from it)
>> /usr/bin/ld: table of contents for archive: lib/ts.a is out of date;
>> rerun ranlib(1) (can't load from it)
>> etc...
>> After I ranlib lib/*, and start making again, it says this:
>> /usr/bin/ld: multiple definitions of symbol _g_atexit
>> intf_gtk.o definition of _g_atexit in section (__TEXT,__text)
>> /usr/local/lib/libglib.a(gutils.o) definition of _g_atexit in section
>> (__TEXT,__text)
>> Anyone have any idea what I am doing wrong?  I'm compiling on Mac OS X
>> 10.0.1 with everything that they said was needed.  Dunno what to do.  
>> If
>> it helps, I can send the full text as well.  Someone lemme know if I
>> should.
>>
>> Michael Butler
>> volrath at mac.com
>>
>>
>>
>
>




More information about the vlc mailing list