[Gambas-user] Issue 302 in gambas: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp"

gambas at ...2524... gambas at ...2524...
Fri Aug 10 15:27:06 CEST 2012


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 302 by uAle... at ...626...: Gambas3 r5025 doesn't compile on  
Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp"
http://code.google.com/p/gambas/issues/detail?id=302

1) Describe the problem.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: r5025 (if you use a development version)
Operating system: Linux
Distribution: Lubuntu ( LXDE)
Architecture: x86
GUI component: QT4? / GTK+?
Desktop used: LXDE

3) Provide a little project that reproduces the bug or the crash.

I run on r5025:
./reconf-all (success)
./configure -C (success)
make (fails)

The "make" output is as follows:
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  
-I..  -pthread -D_REENTRANT -I/usr/include/gtk-2.0  
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo  
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/  
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1  
-I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12  
-I/usr/include/librsvg-2 -I/usr/include/gtk-unix-print-2.0   -I../share   
-pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char  
-fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer  -MT  
gb_gtk_la-gmouse.lo -MD -MP -MF .deps/gb_gtk_la-gmouse.Tpo -c -o  
gb_gtk_la-gmouse.lo `test -f 'gmouse.cpp' || echo './'`gmouse.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT  
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0  
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/  
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1  
-I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12  
-I/usr/include/librsvg-2 -I/usr/include/gtk-unix-print-2.0 -I../share -pipe  
-Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden  
-g -ggdb -Os -fno-omit-frame-pointer -MT gb_gtk_la-gmouse.lo -MD -MP  
-MF .deps/gb_gtk_la-gmouse.Tpo -c gmouse.cpp  -fPIC -DPIC  
-o .libs/gb_gtk_la-gmouse.o
gmouse.cpp: In static member function ‘static int gMouse::getType()’:
gmouse.cpp:233: error: ‘gdk_device_get_source’ was not declared in this  
scope
make[5]: *** [gb_gtk_la-gmouse.lo] Error 1
make[5]: Leaving directory `/usr/src/gambas3-r5025/gb.gtk/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/gambas3-r5025/gb.gtk/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gambas3-r5025/gb.gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/gambas3-r5025/gb.gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gambas3-r5025'
make: *** [all] Error 2

This worked fine on gambas 3.2.1. I noticed new code has been added  
in "gmouse.cpp" which cases this "problem", when i restore the 3.2.1  
version into the r5025 trunk, it compiles fine.

All the buildlog are attached to this issue.

4) If your project needs a database, try to provide it, or part of it.
N/A

5) Explain clearly how to reproduce the bug or the crash.

6) By doing that carefully, you have done 50% of the bug fix job!

IMPORTANT NOTE: if you encounter several different problems or bugs, (for
example, a bug in your project, and an interpreter crash while debugging
it), please create distinct issues!

Attachments:
	buildlog.tar.gz  34.9 KB



More information about the User mailing list