Re: Problem building on Linux with D-Bus

Dmitry Medvinsky <[email protected]>
Newsgroups gmane.comp.misc.workrave.user
Message-ID <[email protected]>
Hi again,

> I fixed the --disable-dbus case. Not sure why the --enable-dbus case fails. 
> You you please mail me the config.log file?

Actually, it was my fault with those errors with --enable-dbus, since I didn't
do the proper clean before doing configure.

But now I'm getting other errors, both with --enable-dbus and --disable-dbus.

Some first lines from error log:

    timebar.c:65:3: error: unknown type name 'GdkRGBA'
    timebar.c:85:3: error: unknown type name 'GtkStyleContext'
    timebar.c:89:3: error: unknown type name 'GdkRGBA'
    timebar.c:90:3: error: unknown type name 'GdkRGBA'
    timebar.c:94:1: error: unknown type name 'GdkRGBA'

I guess there's some problem with GTK headers version mismatch or something, is
it? I'm attaching full log for you.

Also, I did minor fix in build files, I'll send pull request via github in a
moment.

Best regards,
Dmitry

On 2011-10-19 21:02:05 +0400, Rob Caelers wrote:
> Hoi,
> 
> > I'm trying to build the latest master branch of Workrave and I have a problem
> > with D-bus.
> 
> 
> Groetjes,
>    Rob
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> _______________________________________________
> Workrave-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/workrave-user

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev

_______________________________________________
Workrave-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/workrave-user
workrave-make--dbus.err.log (text/plain, 6.5 KB)
SoundPlayer.cc:316:4: warning: #warning Sound card support disabled. [-Wcpp]
timebar.c:65:3: error: unknown type name 'GdkRGBA'
timebar.c:85:3: error: unknown type name 'GtkStyleContext'
timebar.c:89:3: error: unknown type name 'GdkRGBA'
timebar.c:90:3: error: unknown type name 'GdkRGBA'
timebar.c:94:1: error: unknown type name 'GdkRGBA'
timebar.c: In function 'workrave_timebar_class_init':
timebar.c:119:3: warning: implicit declaration of function 'gdk_rgba_parse' [-Wimplicit-function-declaration]
timebar.c: In function 'workrave_timebar_draw_bar':
timebar.c:224:50: error: request for member 'red' in something not a structure or union
timebar.c:224:78: error: request for member 'green' in something not a structure or union
timebar.c:224:108: error: request for member 'blue' in something not a structure or union
timebar.c:271:15: error: unknown type name 'GdkRGBA'
timebar.c:272:45: error: request for member 'red' in something not a structure or union
timebar.c:272:56: error: request for member 'green' in something not a structure or union
timebar.c:272:69: error: request for member 'blue' in something not a structure or union
timebar.c:271:23: warning: variable 'color' set but not used [-Wunused-but-set-variable]
timebar.c:281:15: error: unknown type name 'GdkRGBA'
timebar.c:282:45: error: request for member 'red' in something not a structure or union
timebar.c:282:56: error: request for member 'green' in something not a structure or union
timebar.c:282:69: error: request for member 'blue' in something not a structure or union
timebar.c:281:23: warning: variable 'color' set but not used [-Wunused-but-set-variable]
timebar.c:293:15: error: unknown type name 'GdkRGBA'
timebar.c:294:45: error: request for member 'red' in something not a structure or union
timebar.c:294:56: error: request for member 'green' in something not a structure or union
timebar.c:294:69: error: request for member 'blue' in something not a structure or union
timebar.c:293:23: warning: variable 'color' set but not used [-Wunused-but-set-variable]
timebar.c:300:11: error: unknown type name 'GdkRGBA'
timebar.c:301:41: error: request for member 'red' in something not a structure or union
timebar.c:301:52: error: request for member 'green' in something not a structure or union
timebar.c:301:65: error: request for member 'blue' in something not a structure or union
timebar.c:300:19: warning: variable 'color' set but not used [-Wunused-but-set-variable]
timebar.c:311:7: error: unknown type name 'GdkRGBA'
timebar.c:312:37: error: request for member 'red' in something not a structure or union
timebar.c:312:48: error: request for member 'green' in something not a structure or union
timebar.c:312:61: error: request for member 'blue' in something not a structure or union
timebar.c:311:15: warning: variable 'color' set but not used [-Wunused-but-set-variable]
timebar.c: In function 'workrave_timebar_draw_text':
timebar.c:357:48: error: request for member 'red' in something not a structure or union
timebar.c:357:74: error: request for member 'green' in something not a structure or union
timebar.c:357:102: error: request for member 'blue' in something not a structure or union
timebar.c:365:45: error: request for member 'red' in something not a structure or union
timebar.c:365:68: error: request for member 'green' in something not a structure or union
timebar.c:365:93: error: request for member 'blue' in something not a structure or union
timebar.c: In function 'workrave_timebar_init_ui':
timebar.c:375:3: warning: implicit declaration of function 'gtk_style_context_new' [-Wimplicit-function-declaration]
timebar.c:375:23: warning: assignment makes pointer from integer without a cast [enabled by default]
timebar.c:376:3: error: unknown type name 'GtkWidgetPath'
timebar.c:376:3: warning: implicit declaration of function 'gtk_widget_path_new' [-Wimplicit-function-declaration]
timebar.c:376:25: warning: initialization makes pointer from integer without a cast [enabled by default]
timebar.c:378:3: warning: implicit declaration of function 'gtk_widget_path_append_type' [-Wimplicit-function-declaration]
timebar.c:379:3: warning: implicit declaration of function 'gtk_style_context_set_path' [-Wimplicit-function-declaration]
timebar.c:380:3: warning: implicit declaration of function 'gtk_style_context_add_class' [-Wimplicit-function-declaration]
timebar.c:380:52: error: 'GTK_STYLE_CLASS_FRAME' undeclared (first use in this function)
timebar.c:380:52: note: each undeclared identifier is reported only once for each function it appears in
timebar.c:385:3: warning: implicit declaration of function 'gtk_style_context_get_font' [-Wimplicit-function-declaration]
timebar.c:385:91: error: 'GTK_STATE_FLAG_ACTIVE' undeclared (first use in this function)
timebar.c:402:3: warning: implicit declaration of function 'gtk_widget_path_free' [-Wimplicit-function-declaration]
timebar.c:404:3: warning: implicit declaration of function 'gtk_style_context_set_state' [-Wimplicit-function-declaration]
timebar.c:405:3: warning: implicit declaration of function 'gtk_style_context_get_background_color' [-Wimplicit-function-declaration]
timebar.c:406:3: warning: implicit declaration of function 'gtk_style_context_get_color' [-Wimplicit-function-declaration]
timebar.c: In function 'workrave_timebar_draw_frame':
timebar.c:416:3: warning: implicit declaration of function 'gtk_style_context_save' [-Wimplicit-function-declaration]
timebar.c:417:53: error: 'GtkStateFlags' undeclared (first use in this function)
timebar.c:417:67: error: expected ')' before 'GTK_STATE_FLAG_ACTIVE'
timebar.c:418:3: warning: implicit declaration of function 'gtk_render_frame' [-Wimplicit-function-declaration]
timebar.c:419:3: warning: implicit declaration of function 'gtk_style_context_restore' [-Wimplicit-function-declaration]
timebar.c:421:50: error: request for member 'red' in something not a structure or union
timebar.c:421:78: error: request for member 'green' in something not a structure or union
timebar.c:421:108: error: request for member 'blue' in something not a structure or union
make[5]: *** [libworkrave_1_0_la-timebar.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
timerbox.c: In function 'workrave_timerbox_update':
timerbox.c:343:3: warning: implicit declaration of function 'gdk_pixbuf_get_from_surface' [-Wimplicit-function-declaration]
timerbox.c:343:23: warning: initialization makes pointer from integer without a cast [enabled by default]
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.