Please complete the following information about your configuration: - FreetuxTV version: freetuxtv-0.5.1 - Linux distribution and version: Gentoo - VLC version: 1.1.7 - ISP: Virgin Media
Describe here your problem: FreetuxTV fails to compile with the newer version of libnotify (0.7.1 in this instance).
What is the expected output? What do you see instead? A clean compile, but here is the compile error message:
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I../lib/ -Wall -g -march=core2 -msse -msse2 -msse3 -mssse3 -msse4.1 -msahf -mcx16 -O2 -pipe -fomit-frame-pointer -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/freetuxtv-window-main.Tpo .deps/freetuxtv-window-main.Po
mv -f .deps/freetuxtv-window-recording.Tpo .deps/freetuxtv-window-recording.Po
main.c: In function ‘freetuxtv_log’:
main.c:991: warning: cast from pointer to integer of different size
main.c: In function ‘main’:
main.c:1057: warning: cast to pointer from integer of different size
main.c:1078: error: too many arguments to function ‘notify_notification_new’
make[2]: * [main.o] Error 1
make[2]: Leaving directory /var/tmp/portage/media-tv/freetuxtv-0.5.1/work/freetuxtv-0.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
/var/tmp/portage/media-tv/freetuxtv-0.5.1/work/freetuxtv-0.5.1'
make: * [all] Error 2
Comment #1
Posted on Apr 7, 2011 by Happy RabbitI can confirm this (still Gentoo) with libnotify 0.7.2 and freetuxtv-0.5.1 (didn't test with 0.5.2 yet)
main.c:1078:3: erreur: too many arguments to function ‘notify_notification_new’ /usr/include/libnotify/notification.h:114:21: note: declared here
Comment #2
Posted on Apr 7, 2011 by Happy Rabbit0.5.2 also fails
Comment #3
Posted on Apr 7, 2011 by Happy RabbitSimply removing the last NULL argument line 1556 of main.c solves the problem, but the libnotify version dependency should be updated.
(see http://developer.gnome.org/libnotify/0.7/NotifyNotification.html#notify-notification-new)
Comment #4
Posted on Apr 7, 2011 by Grumpy BearI see, but i have to make a compilation option for new and old version of libnotify, to be comptabible with current distribution like Ubuntu 10.10. Maybe, i will work on this tonight if I have time.
Comment #5
Posted on Apr 9, 2011 by Massive Wombat(No comment was entered for this change.)
Comment #6
Posted on Apr 9, 2011 by Massive WombatThis issue was closed by revision r570.
Comment #7
Posted on Oct 7, 2012 by Massive WombatIssue 128 has been merged into this issue.
Status: Fixed
Labels:
Milestone-Release0.6.0
Type-Defect
Priority-High