[vlc-devel] Re: cross compile with gcc 3.4.1
Jean-Paul Saman
jean-paul.saman at planet.nl
Sat May 6 11:08:16 CEST 2006
Yiannis yiakoumis wrote:
> Hi,
>
> I try to cross compile vlc for arm (opie) with gcc 3.4.1 but it seems to
> have some problems. The first error i met was at qstring.h where an that
> error was reported:
>
> In file included from
> /opt/OpieSdk/opie/arm/qt-2.3.7/include/qwindowdefs.h:44,
> from /opt/OpieSdk/opie/arm/qt-2.3.7/include/qwidget.h:42,
> from
> /opt/OpieSdk/opie/arm/qt-2.3.7/include/qapplication.h:42,
> from qte_main.cpp:33:
> /opt/OpieSdk/opie/arm/qt-2.3.7/include/qstring.h: In member function
> `uchar& QChar::cell()':
> /opt/OpieSdk/opie/arm/qt-2.3.7/include/qstring.h:166: error: cannot bind
> packed field `((QChar*)this)->QChar::cl' to `uchar&'
> /opt/OpieSdk/opie/arm/qt-2.3.7/include/qstring.h: In member function
> `uchar& QChar::row()':
> /opt/OpieSdk/opie/arm/qt-2.3.7/include/qstring.h:167: error: cannot bind
> packed field `((QChar*)this)->QChar::rw' to `uchar&'
Which VLC version are you using?
And why do you use wxWidgets instead of the QT interface library as is
default by Opie?
Which wxWidgets version do you use? (VLC use 2.5 or 2.6 wxWidgets.)
> I found this http://gcc.gnu.org/ml/gcc-patches/2003-07/msg01664.html
> where it is said that gcc 3.4 behaves stricter to non-const bindings
> that gcc 3.3 and maybe the solution is to patch the toolchain.
>
> Meanwhile, when i try to cross compile ffmpeg (20050624), compilation
> stops here: (after hunging up the whole system for 5 minutes)
>
> snow.c: In function `common_init':
> snow.c:3231: warning: assignment from incompatible pointer type
> snow.c:3231: warning: assignment from incompatible pointer type
> snow.c:3232: warning: assignment from incompatible pointer type
> snow.c:3232: warning: assignment from incompatible pointer type
> snow.c:3233: warning: assignment from incompatible pointer type
> snow.c:3233: warning: assignment from incompatible pointer type
> snow.c:3234: warning: assignment from incompatible pointer type
> snow.c:3234: warning: assignment from incompatible pointer type
> arm-linux-gcc: Internal error: Killed (program cc1)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> make: *** [snow.o] Error 1
>
Report this to the FFMPEG mailinglist, since it is not directly related
to VLC.
> I'd prefer to avoid compiling the toolchain because i do not have great
> experience with that stuff. Is that a known problem with a fixed solution??
Greetings,
Jean-Paul Saman.
--
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