[vlc-devel] vlc compile problems on PPC

Cian Cullinan cian.cullinan at gmail.com
Fri Apr 22 17:21:45 CEST 2005


Hi, I've been trying to compile VLC, both 0.8.1 and snapshot-20050421
on a mac-mini running Fedora Core 3 with required packages added*. I
use the same configure command for both:

  ./configure --enable-dvdread --enable-v4l --enable-pvr 
--enable-mozilla --with-ffmpeg-tree=/usr/local/src/ffmpeg/
--enable-ffmpeg

I then try to make, but both fail with different errors, 0.8.1 fails with:

memcpyaltivec.c: In function `fast_memcpy':
memcpyaltivec.c:107: error: `vector' undeclared (first use in this function)
memcpyaltivec.c:107: error: (Each undeclared identifier is reported only once
memcpyaltivec.c:107: error: for each function it appears in.)
memcpyaltivec.c:107: error: syntax error before "unsigned"
memcpyaltivec.c:109: error: `perm' undeclared (first use in this function)
memcpyaltivec.c:109: warning: implicit declaration of function `vec_lvsl'
memcpyaltivec.c:110: error: `ref0' undeclared (first use in this function)
memcpyaltivec.c:110: warning: implicit declaration of function `vec_ld'
memcpyaltivec.c:111: error: `ref1' undeclared (first use in this function)
memcpyaltivec.c:114: error: `tmp' undeclared (first use in this function)
memcpyaltivec.c:114: warning: implicit declaration of function `vec_perm'
memcpyaltivec.c:121: warning: implicit declaration of function `vec_st'
make[6]: *** [libmemcpyaltivec_a-memcpyaltivec.o] Error 1
make[6]: Leaving directory `/usr/local/src/vlc-0.8.1/modules/misc/memcpy'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/usr/local/src/vlc-0.8.1/modules/misc/memcpy'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/src/vlc-0.8.1/modules/misc'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/vlc-0.8.1/modules/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/vlc-0.8.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vlc-0.8.1'
make: *** [all] Error 2

And the snapshot fails with:

In file included from /usr/include/wx/wx.h:57,
                 from wxwindows.h:33,
                 from iteminfo.cpp:39:
/usr/include/wx/scrolbar.h: In member function `bool
wxScrollBarBase::IsVertical() const':
/usr/include/wx/scrolbar.h:32: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[6]: *** [libwxwindows_plugin_a-iteminfo.o] Error 1
make[6]: Leaving directory
`/usr/local/src/vlc-snapshot-20050421/modules/gui/wxwindows'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory
`/usr/local/src/vlc-snapshot-20050421/modules/gui/wxwindows'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/src/vlc-snapshot-20050421/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/vlc-snapshot-20050421/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/vlc-snapshot-20050421/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vlc-snapshot-20050421'
make: *** [all] Error 2


Do I need to specify altivec stuff somwhere (all I could find in
configure was the --disable-altivec option which had no effect), and
more worryingly from the snapshot build attempt, is my compiler
borked?
Has anyone built VLC on a linux/PPC system recently, maybe some kind
of voodoo is required?

TIA
Cian


* I installed the following before configuring and trying to compile vlc:

i) libdvdread-0.9.4 from tarball
ii) libmad-0.15.1b from tarball
iii) ffmepg from CVS
iv) mpeg2dec-0.4.0b from tarball
v) wxGTK2 from RPM
vi) mozilla-devel from RPM

-- 
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