LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   osmo (slackbuilds) problems (http://www.linuxquestions.org/questions/slackware-14/osmo-slackbuilds-problems-859966/)

carlitoco 02-01-2011 07:15 AM

osmo (slackbuilds) problems
 
I've installed all these (libsyncml, libgringotts, and libtar) pkgs and requirements from slackbuild, compilling osmo gives:

Code:

calendar.o: In function `calendar_create_color_selector_window':
calendar.c:(.text+0x46df): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.o: In function `gui_calendar_set_day_color':
calendar_widget.c:(.text+0xb31): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.o: In function `gui_calendar_unmark_day':
calendar_widget.c:(.text+0xd01): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.o: In function `gui_calendar_mark_day':
calendar_widget.c:(.text+0xeb1): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.o: In function `gui_calendar_select_day':
calendar_widget.c:(.text+0x1092): undefined reference to `GTK_WIDGET_DRAWABLE'
calendar_widget.c:(.text+0x10ee): undefined reference to `GTK_WIDGET_DRAWABLE'
calendar_widget.o: In function `calendar_realize_arrows':
calendar_widget.c:(.text+0x1c26): undefined reference to `GTK_WIDGET_IS_SENSITIVE'
calendar_widget.c:(.text+0x1c66): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.o: In function `calendar_realize_header':
calendar_widget.c:(.text+0x1df0): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.o: In function `calendar_realize_day_names':
calendar_widget.c:(.text+0x1f5d): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.o: In function `calendar_realize_week_numbers':
calendar_widget.c:(.text+0x20c8): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.o: In function `gui_calendar_set_display_options':
calendar_widget.c:(.text+0x21bd): undefined reference to `GTK_WIDGET_REALIZED'
calendar_widget.o: In function `calendar_set_background':
calendar_widget.c:(.text+0x262a): undefined reference to `GTK_WIDGET_REALIZED'
calendar_widget.c:(.text+0x264a): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.c:(.text+0x267e): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.c:(.text+0x26a8): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.c:(.text+0x26d6): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.c:(.text+0x2704): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.o:calendar_widget.c:(.text+0x2731): more undefined references to `GTK_WIDGET_STATE' follow
calendar_widget.o: In function `gui_calendar_style_set':
calendar_widget.c:(.text+0x277c): undefined reference to `GTK_WIDGET_REALIZED'
calendar_widget.o: In function `gui_calendar_state_changed':
calendar_widget.c:(.text+0x3845): undefined reference to `GTK_WIDGET_IS_SENSITIVE'
calendar_widget.c:(.text+0x3858): undefined reference to `GTK_WIDGET_IS_SENSITIVE'
calendar_widget.o: In function `gui_calendar_scroll':
calendar_widget.c:(.text+0x3986): undefined reference to `GTK_WIDGET_HAS_FOCUS'
calendar_widget.c:(.text+0x39c4): undefined reference to `GTK_WIDGET_HAS_FOCUS'
calendar_widget.o: In function `gui_calendar_button_press':
calendar_widget.c:(.text+0x3c25): undefined reference to `GTK_WIDGET_HAS_FOCUS'
calendar_widget.c:(.text+0x3e6c): undefined reference to `GTK_WIDGET_HAS_FOCUS'
calendar_widget.o: In function `gui_calendar_size_allocate':
calendar_widget.c:(.text+0x40c7): undefined reference to `GTK_WIDGET_REALIZED'
calendar_widget.o: In function `calendar_paint_header':
calendar_widget.c:(.text+0x498e): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.o: In function `calendar_paint_day_names':
calendar_widget.c:(.text+0x4ca7): undefined reference to `GTK_WIDGET_HAS_FOCUS'
calendar_widget.o: In function `gui_calendar_expose':
calendar_widget.c:(.text+0x4ef0): undefined reference to `GTK_WIDGET_DRAWABLE'
calendar_widget.c:(.text+0x517c): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.c:(.text+0x538c): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.c:(.text+0x54d8): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.c:(.text+0x55db): undefined reference to `GTK_WIDGET_HAS_FOCUS'
calendar_widget.c:(.text+0x56f2): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.c:(.text+0x5858): undefined reference to `GTK_WIDGET_HAS_FOCUS'
calendar_widget.c:(.text+0x5e6a): undefined reference to `GTK_WIDGET_HAS_FOCUS'
calendar_widget.c:(.text+0x623e): undefined reference to `GTK_WIDGET_HAS_FOCUS'
calendar_widget.o: In function `gui_calendar_realize':
calendar_widget.c:(.text+0x68dc): undefined reference to `GTK_WIDGET_STATE'
calendar_widget.c:(.text+0x6919): undefined reference to `GTK_WIDGET_STATE'
notes.o: In function `insert_separator_cb':
notes.c:(.text+0x15c5): undefined reference to `GTK_WIDGET_VISIBLE'
utils_gui.o: In function `utl_gui_change_bg_widget_state':
utils_gui.c:(.text+0x18aa): undefined reference to `GTK_WIDGET_STATE'
collect2: ld returned 1 exit status
make[2]: *** [osmo] Error 1
make[2]: Leaving directory `/tmp/SBo/osmo-0.2.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/osmo-0.2.8'
make: *** [all] Error 2
bash-4.1#

did you have an idea, anny solution?
thx

manwichmakesameal 02-01-2011 10:31 AM

It looks like you're missing another dependency. Probably some sort of gtk-bindings package.

carlitoco 02-01-2011 10:41 AM

I wonder because i've installed gsb.

hmm

bgeddy 02-01-2011 01:26 PM

I've tried building osmo on my Slackware64 13.1 host system and it builds fine. I then tried the same build on a VM running GSB - Slackware13.1 and it failed the same as your build attempt. It looks like this is an error on GSB but not standard Slackware. It's looks like a linker error returned from ld. I've checked online and so far can't find any references to this problem with building osmo.

diwljina 02-07-2011 07:40 AM

I'm trying to build it under current and I'm getting something similar. No GSB here. I'm aware of the fact that slackbuild.org is ment to be used on stable.

Code:

calendar.c: In function 'add_calendar_toolbar_widget':
calendar.c:1207:9: warning: implicit declaration of function 'GTK_OBJECT_FLAGS'
calendar.c:1207:9: error: lvalue required as left operand of assignment
calendar.c: In function 'gui_create_calendar':
calendar.c:1721:5: error: lvalue required as left operand of assignment
calendar.c:1751:9: error: lvalue required as left operand of assignment
calendar.c:1778:9: error: lvalue required as left operand of assignment
calendar.c:1800:9: error: lvalue required as left operand of assignment
calendar.c:1845:9: error: lvalue required as left operand of assignment
calendar.c:1860:9: error: lvalue required as left operand of assignment
calendar.c:1872:9: error: lvalue required as left operand of assignment
calendar.c:1884:9: error: lvalue required as left operand of assignment
calendar.c:1896:9: error: lvalue required as left operand of assignment
calendar.c:1908:9: error: lvalue required as left operand of assignment
calendar.c:1924:9: error: lvalue required as left operand of assignment
calendar.c:1935:9: error: lvalue required as left operand of assignment
calendar.c:1946:9: error: lvalue required as left operand of assignment
calendar.c: In function 'calendar_create_color_selector_window':
calendar.c:2249:5: warning: implicit declaration of function 'GTK_WIDGET_STATE'
calendar.c:2296:5: error: lvalue required as left operand of assignment
calendar.c:2307:5: error: lvalue required as left operand of assignment
make[2]: *** [calendar.o] Error 1
make[2]: Leaving directory `/tmp/SBo/osmo-0.2.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/osmo-0.2.8'
make: *** [all] Error 2


knudfl 02-07-2011 10:53 AM

Post # 5 , suggest : Use osmo-0.2.10.tar.gz
http://sourceforge.net/projects/osmo...ar.gz/download

And edit osmo.Slackbuild, line 26 to : VERSION=${VERSION:-0.2.10}

..

diwljina 02-08-2011 06:02 AM

Just tried and now I'm getting:

Code:

In file included from calendar_ical.c:37:0:
/usr/include/libical/icalss.h:38:27: fatal error: icalcomponent.h: No such file or directory
compilation terminated.
make[2]: *** [calendar_ical.o] Error 1
make[2]: Leaving directory `/tmp/SBo/osmo-0.2.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/osmo-0.2.10'
make: *** [all] Error 2

Although, there is icalcomponent.h in /usr/include/libical.

knudfl 02-08-2011 08:02 AM

Quote:

icalcomponent.h: No such file ...
The most easy workaround is :
# ln -s /usr/include/libical/* /usr/local/include/

..

diwljina 02-08-2011 08:39 AM

Yes, that worked, thanks. Maybe something like this should be in osmo.SlackBuild:
Code:

AUXLIBS=-L/usr/include/libical
so no symlinking is necessary.

Edit: @OP Sorry for thread hijacking.


All times are GMT -5. The time now is 11:34 PM.