[vlc-devel] Re: cross compile with gcc 3.4.1

Sean Lowry Sean.Lowry at keycom.co.uk
Thu May 4 17:20:34 CEST 2006


I did have the errors with the snow.c but this was due to an older version
of ffmpeg when I used the cvs it worked fine.

Regards
Sean

-----Original Message-----
From: Yiannis yiakoumis [mailto:gyiakoumis at hotmail.com] 
Sent: 04 May 2006 12:23
To: vlc-devel at videolan.org
Subject: [vlc-devel] cross compile with gcc 3.4.1

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


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

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

Thanks in advance for any help.
Yiannis


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

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