[Gambas-user] Compile error for 5197 in opengl, ARM A10 SoC, Lubuntu 12.04

jm joem at ...2671...
Wed Sep 26 15:52:21 CEST 2012


On Tue, 2012-09-25 at 17:43 +0200, Benoît Minisini wrote:
> Le 25/09/2012 11:42, jm a écrit :
> > Thank you for the fixes in 5197.
> 
> I fixed nothing relating to your problem in r5197, so I think the 
> problem comes from your system installation.

I haven't change my system between 5196 and 5197. The only thing I had
done was to do a "chmod -R 777 trunk" in case something was amis
with permissions.

> > The compiling has got past previous issues and is now moved to the
> > opengl module. Compile error for 5197 in opengl, ARM A10 SoC, Lubuntu
> > 12.04:
> >
> >
> >          Making all in opengl
> >          make[5]: Entering directory
> >          `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl'
> >            CXX    gb_qt4_opengl_la-main.lo
> >          In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
> >                           from /usr/include/qt4/QtGui/qwidget.h:46,
> >                           from /usr/include/qt4/QtGui/QWidget:1,
> >                           from ../gb.qt.h:33,
> >                           from main.h:28,
> >                           from main.cpp:26:
> >          /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of
> >          'va_list' has changed in GCC 4.4
> >          /usr/bin/moc-qt4 -o CGLarea_moc.cpp CGLarea.h
> >            CXX    gb_qt4_opengl_la-CGLarea_moc.lo
> >          In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
> >                           from /usr/include/qt4/QtGui/qwidget.h:46,
> >                           from /usr/include/qt4/QtGui/QWidget:1,
> >                           from ../gb.qt.h:33,
> >                           from main.h:28,
> >                           from CGLarea.h:27,
> >                           from CGLarea_moc.cpp:10:
> >          /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of
> >          'va_list' has changed in GCC 4.4
> >            CXX    gb_qt4_opengl_la-CGLarea.lo
> >          CGLarea.cpp: In function 'void CGLAREA_text(void*, void*)':
> >          CGLarea.cpp:110:36: error: 'GL_LIGHTING' was not declared in
> >          this scope
> >          make[5]: *** [gb_qt4_opengl_la-CGLarea.lo] Error 1
> >          make[5]: Leaving directory
> >          `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl'
> >          make[4]: *** [all-recursive] Error 1
> >          make[4]: Leaving directory
> >          `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src'
> >          make[3]: *** [all-recursive] Error 1
> >          make[3]: Leaving directory
> >          `/home/miniand/Downloads/gambas3/trunk/gb.qt4'
> >          make[2]: *** [all] Error 2
> >          make[2]: Leaving directory
> >          `/home/miniand/Downloads/gambas3/trunk/gb.qt4'
> >          make[1]: *** [all-recursive] Error 1
> >          make[1]: Leaving directory
> >          `/home/miniand/Downloads/gambas3/trunk'
> >          make: *** [all] Error 2
> >
> >
> > Output of the following script attached:
> > ( ./reconf-all; ./configure -C; make ) > output.txt 2>&1
> >
> > Regards
> >
> 
> Mmm... It seems to be a problem in Qt or OpenGL: which version of Qt do 
> you use? Please try to add the following line at the beginning of 
> CGLArea.cpp, line 25:
> 
> #include <GL/gl.h>
> 
> Recompile and tell me the result!

The version of qt is qt4 4.8.1 0ubuntu4

Attached the modified recompiled version of 5197.

The crashing problem with MK802 solved by others by opening case and
attaching heatsink! Its was just too hot inside the case when compiling
for hours on end. I order 2nd duplicate device.
I should be able to do more things more often from here in.

Also attached is the trunk version of 5206.
(Same problem at same place as 5197 trunk.)

Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output_5197_CGLArea.cpp_modified.txt.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 7100 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20120926/36c12fd3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output_5206_trunk.txt.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 11291 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20120926/36c12fd3/attachment-0001.bin>


More information about the User mailing list