Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка при сборке с libnotify 0.7 #75

Open
GoogleCodeExporter opened this issue Feb 3, 2016 · 8 comments
Open

Ошибка при сборке с libnotify 0.7 #75

GoogleCodeExporter opened this issue Feb 3, 2016 · 8 comments

Comments

@GoogleCodeExporter
Copy link

g++ -o build/default/freedcpp/notify.o -c -march=native -O2 -pipe 
-fomit-frame-pointer -I. -D_GNU_SOURCE -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -fpermissive -DHAVE_IFADDRS_H 
-D_DATADIR='"/usr/share"' -pthread -march=native -O2 -pipe -fomit-frame-pointer 
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 
-I/usr/lib/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/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 
-I/usr/include/libpng14 linux/notify.cc
linux/notify.cc: В функции-члене ‘void Notify::init()’:
linux/notify.cc:71:79: ошибка: too many arguments to function 
‘NotifyNotification* notify_notification_new(const char*, const char*, const 
char*)’
/usr/include/libnotify/notification.h:114:21: замечание: declared here
scons: *** [build/default/freedcpp/notify.o] Error 1
scons: building terminated because of errors.
==> ОШИБКА: A failure occurred in build().


Original issue reported on code.google.com by s...@shuu.ru on 17 Feb 2011 at 9:10

@GoogleCodeExporter
Copy link
Author

Эта проблема имеет место только с libnotify == 0.7.0
В версии 0.7.1 ее нет.

Original comment by tehnic...@yandex.ru on 19 Feb 2011 at 6:05

@GoogleCodeExporter
Copy link
Author

troll.freedcpp, если хочешь переделать r197 - r198 
через NOTIFY_CHECK_VERSION, смотри патч.

Original comment by tehnic...@yandex.ru on 19 Feb 2011 at 6:24

Attachments:

@GoogleCodeExporter
Copy link
Author

>>pkg-config --modversion libnotify                                             

>>0.7.1

Не собирается.





Original comment by s...@shuu.ru on 19 Feb 2011 at 6:28

@GoogleCodeExporter
Copy link
Author

s...@shuu.ru, какая версия у тебя не собирается? С 
какой ошибкой?

Original comment by tehnic...@yandex.ru on 19 Feb 2011 at 6:31

@GoogleCodeExporter
Copy link
Author

r199, ошибка всё таже:

linux/notify.cc: В функции-члене ‘void Notify::init()’:
linux/notify.cc:76:79: ошибка: too many arguments to function 
‘NotifyNotification* notify_notification_new(const char*, const char*, const 
char*)’
/usr/include/libnotify/notification.h:114:21: замечание: declared here
scons: *** [build/default/freedcpp/notify.o] Error 1
scons: building terminated because of errors.

Original comment by s...@shuu.ru on 19 Feb 2011 at 6:33

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Проверил лог сборки в песочнице на 
лаунчпаде.
Там все-таки libnotify 0.5.0 используется по 
дефолту пока...

s...@shuu.ru, что scons при проверке выдает? Должно 
быть:
Checking for libnotify >= 0.4.1... yes
Checking for libnotify >= 0.7.0... yes

И можешь попробовать с моим патчем 
собрать...

Original comment by tehnic...@yandex.ru on 19 Feb 2011 at 6:40

@GoogleCodeExporter
Copy link
Author

С патчем собралось, спасибо.

Original comment by s...@shuu.ru on 19 Feb 2011 at 6:58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant