如何安裝lunar-applet-2.0 在Hardy?

其他Linux/Unix/BSD/OSX等发行版讨论
回复
kk2628
帖子: 6
注册时间: 2008-09-09 23:34

如何安裝lunar-applet-2.0 在Hardy?

#1

帖子 kk2628 » 2009-09-25 15:18

當用make 時,出現 以下錯誤 :

lunar.c: In function ‘create_calendar’:
lunar.c:1453: warning: implicit declaration of function ‘lunar_calendar_new’
lunar.c:1453: warning: assignment makes pointer from integer without a cast
lunar.c:1455: warning: dereferencing type-punned pointer will break strict-aliasing rules
lunar.c:1457: warning: implicit declaration of function ‘lunar_calendar_get_display_options’
lunar.c:1457: warning: implicit declaration of function ‘LUNAR_CALENDAR’
lunar.c:1459: error: ‘LUNAR_CALENDAR_SHOW_WEEK_NUMBERS’ undeclared (first use in this function)
lunar.c:1459: error: (Each undeclared identifier is reported only once
lunar.c:1459: error: for each function it appears in.)
lunar.c:1461: error: ‘LUNAR_CALENDAR_SHOW_LUNAR’ undeclared (first use in this function)
lunar.c:1464: warning: implicit declaration of function ‘lunar_calendar_set_display_options’
lunar.c:1470: warning: implicit declaration of function ‘lunar_calendar_select_month’
lunar.c:1473: warning: implicit declaration of function ‘lunar_calendar_select_day’
lunar.c: In function ‘refresh_calendar’:
lunar.c:1605: warning: dereferencing type-punned pointer will break strict-aliasing rules
lunar.c: In function ‘update_popup’:
lunar.c:1632: warning: dereferencing type-punned pointer will break strict-aliasing rules
lunar.c: In function ‘show_week_changed’:
lunar.c:2202: error: ‘LUNAR_CALENDAR_SHOW_WEEK_NUMBERS’ undeclared (first use in this function)
make[2]: *** [lunar_applet-lunar.o] Error 1
make[2]: Leaving directory `/home/kk/Download/lunar-applet-2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kk/Download/lunar-applet-2.0'
make: *** [all] Error 2
回复