Build error on undefined tool_polygon_select, modifier_select symbols

View: New views
4 Messages — Rating Filter:   Alert me  

Build error on undefined tool_polygon_select, modifier_select symbols

by Ettore Pasquini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just updated my working copy from trunk and I am getting the following
build errors:

make[3]: Entering directory `/home/ep/svn/gimp/trunk/app/widgets'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -I../../app -I../../app
-pthread -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12   -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/home/ep/svn/gimp/builds/main2//include
-DISO_CODES_LOCATION=\"/usr/share/xml/iso-codes\"
-DISO_CODES_LOCALEDIR=\"/usr/share/locale\" -DG_LOG_DOMAIN=\"Gimp-Widgets\"
-DGIMP_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
-DGTK_MULTIHEAD_SAFE  -g -O2 -Wall -Wdeclaration-after-statement
-Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
-Wold-style-definition -MT gimpcursor.o -MD -MP -MF .deps/gimpcursor.Tpo -c
-o gimpcursor.o gimpcursor.c
gimpcursor.c:315: error: 'tool_polygon_select' undeclared here (not in a
function)
gimpcursor.c:597: error: 'modifier_select' undeclared here (not in a
function)
gimpcursor.c:597: error: initializer element is not constant
gimpcursor.c:597: error: (near initialization for
'gimp_cursor_modifiers[13].pixbuf_data')
make[3]: *** [gimpcursor.o] Error 1

I grepped the entire source tree looking for the tool_polygon_select and
modifier_select symbols but they seem defined nowhere...

Anyone experiencing/seen this?

Thanks in advance.

Ettore

Ps.
I am using Linux/Debian 2.6.18, gcc 4.2.3, glib 2.16.3

--
http://www.3dconnexion.com/


_______________________________________________
Gimp-developer mailing list
Gimp-developer@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Re: Build error on undefined tool_polygon_select, modifier_select symbols

by Martin Nordholts-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ettore Pasquini wrote:
> I just updated my working copy from trunk and I am getting the following
> build errors:
>
>
>  

Hello

A complete rebuild and reinstall will most probably fix this.


- Martin
_______________________________________________
Gimp-developer mailing list
Gimp-developer@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Re: Build error on undefined tool_polygon_select, modifier_select symbols

by Sven Neumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Thu, 2008-05-15 at 17:41 -0700, Ettore Pasquini wrote:
> I just updated my working copy from trunk and I am getting the following
> build errors:

> gimpcursor.c:315: error: 'tool_polygon_select' undeclared here (not in a
> function)
> gimpcursor.c:597: error: 'modifier_select' undeclared here (not in a
> function)
> gimpcursor.c:597: error: initializer element is not constant
> gimpcursor.c:597: error: (near initialization for
> 'gimp_cursor_modifiers[13].pixbuf_data')
> make[3]: *** [gimpcursor.o] Error 1

Make sure that you are building in the cursors folder before doing the
build in app.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Re: Build error on undefined tool_polygon_select, modifier_select symbols

by Ettore Pasquini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin Nordholts wrote:
 
> A complete rebuild and reinstall will most probably fix this.

I can swear this is the first thing I did, but anyway... re-did it one more time, and no more errors.  Could be that I upgraded a few libraries in between "make clean" and "make", but I don't remember.

Thanks.

Ettore
_______________________________________________
Gimp-developer mailing list
Gimp-developer@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer