[haiku-development] Re: VLC to drop BeOS port

  • From: "scott mc" <scottmc2@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 14 Aug 2008 07:37:46 -0700

On Thu, Aug 14, 2008 at 4:45 AM, Cian Duffy <myob87@xxxxxxxxx> wrote:
> 2008/8/14 François Revol <revol@xxxxxxx>:
>>> > Thanks for the info Cian.  I've noted this on the HaikuPorts page:
>>> > http://ports.haiku-files.org/wiki/media-video/vlc/0.8.6i
>>> > I might give it a try soon, to at least bring it up to 0.8.6i
>>> > -scottmc
>>> >
>>>
>>> Well I just gave it a couple hour tryout and after putting in the
>>> many
>>> many dependencies, it errored out.  The port log entry has been
>>> updated in case anyone has ideas on what to try to do to get past
>>> this
>>> error.
>>> I filled in the dependencies with binaries from haikuports and
>>> tiltos,
>>> along with the ffmpeg binary from www.gaelstar.com/beos as I wasn't
>>> able to get ffmpeg to build cleanly yet either.
>>
>> I do have a buildable ffmpeg tree here, but some fixes weren't accepted
>> by the team.
>> I svn up from time to time and keep it buildable but I didn't have to
>> release builds...
>> And since I build with gcc2 I had to disable mmx as it totally screws
>> it up.
>> I'll try to have a look at it again.
>> How come I was never made aware of those builds ?
>> The diff at
>> http://gaelstar.com/beos/ffmpeg-r10550-zeta-gcc3.diff
>> isn't clean at all anyway...
>>
>
>
> I would have told you at the time, and the diff isn't clean because it
> was a hack, done for a specific purpose - hence I never sent it
> upstream. No time.
>
> Cian
>
> --

Well we now sorta have a place to put these various patches that
aren't yet accepted upstream but still useful to get things built
while we wait:
http://ports.haiku-files.org ;)

Anyways, fixed the psz_args issue and a couple others like it that
popped up after that, but now I get this:

source='misc/modules.c' object='misc/libvlc_a-modules.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../autotools/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/boot/common/include
-DSYS_HAIKU -I../include `top_builddir=".." ../vlc-config --cflags vlc
pic` -Wsign-compare -Wall  -pipe -c -o misc/libvlc_a-modules.o `test
-f 'misc/modules.c' || echo './'`misc/modules.c
/boot/home/vlc-0.8.6i/src/misc/modules.c: In function `CacheName':
/boot/home/vlc-0.8.6i/src/misc/modules.c:2139: warning: unsigned int
format, long unsigned int arg (arg 3)
/boot/home/vlc-0.8.6i/src/misc/modules.c:2139: warning: unsigned int
format, long unsigned int arg (arg 4)
source='misc/threads.c' object='misc/libvlc_a-threads.o' libtool=no \
        DEPDIR=.deps depmode=gcc /bin/sh ../autotools/depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/boot/common/include
-DSYS_HAIKU -I../include `top_builddir=".." ../vlc-config --cflags vlc
pic` -Wsign-compare -Wall  -pipe -c -o misc/libvlc_a-threads.o `test
-f 'misc/threads.c' || echo './'`misc/threads.c
/boot/home/vlc-0.8.6i/src/misc/threads.c: In function
`__vlc_thread_set_priority':
/boot/home/vlc-0.8.6i/src/misc/threads.c:664: storage size of `param'
isn't known
/boot/home/vlc-0.8.6i/src/misc/threads.c:666: sizeof applied to an
incomplete type
/boot/home/vlc-0.8.6i/src/misc/threads.c:674: `SCHED_OTHER' undeclared
(first use in this function)
/boot/home/vlc-0.8.6i/src/misc/threads.c:674: (Each undeclared
identifier is reported only once
/boot/home/vlc-0.8.6i/src/misc/threads.c:674: for each function it appears in.)
/boot/home/vlc-0.8.6i/src/misc/threads.c:679: `SCHED_RR' undeclared
(first use in this function)
/boot/home/vlc-0.8.6i/src/misc/threads.c:682: warning: implicit
declaration of function `pthread_self'
/boot/home/vlc-0.8.6i/src/misc/threads.c:683: warning: implicit
declaration of function `pthread_setschedparam'
/boot/home/vlc-0.8.6i/src/misc/threads.c:664: warning: unused variable `param'
/boot/home/vlc-0.8.6i/src/misc/threads.c: In function `__vlc_thread_join':
/boot/home/vlc-0.8.6i/src/misc/threads.c:767: warning: passing arg 2
of `wait_for_thread' from incompatible pointer type
/boot/home/vlc-0.8.6i/src/misc/threads.c: In function
`__vlc_thread_set_priority':
/boot/home/vlc-0.8.6i/src/misc/threads.c:663: warning: `i_policy'
might be used uninitialized in this function
/boot/home/vlc-0.8.6i/src/misc/threads.c:793: Internal compiler error
in `gen_tagged_type_instantiation_die', at dwarf2out.c:9329
Please submit info to Oliver Tappe <gcc@xxxxxxxxxxxxxxx>.

make[4]: *** [misc/libvlc_a-threads.o] Error 1
make[4]: Leaving directory `/boot/home/vlc-0.8.6i/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/boot/home/vlc-0.8.6i/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/boot/home/vlc-0.8.6i/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/boot/home/vlc-0.8.6i'
make: *** [all] Error 2

Not sure what's wrong here, perhaps a wrong include?
-scottmc

Other related posts: