Boinc and Cuda in Gentoo

Message boards : BOINC client : Boinc and Cuda in Gentoo
Message board moderation

To post messages, you must log in.

AuthorMessage
Randy

Send message
Joined: 23 Apr 12
Posts: 1
United States
Message 43698 - Posted: 23 Apr 2012, 7:08:55 UTC

Boinc compiles and runs well without the cuda use flag, but as soon as I try to utilize cuda:
In file included from gtk/taskbarex.cpp:23:0:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac  -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng15    `pkg-config --cflags gtk+-2.0`   -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread  -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng15    `pkg-config --cflags gtk+-2.0` -O2 -pipe -pthread -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/libpng15 -I/usr/include/libdrm   -c -o boincmgr-NotDetectedPage.o `test -f 'NotDetectedPage.cpp' || echo './'`NotDetectedPage.cpp
MainDocument.cpp: In member function ���void CMainDocument::KillGraphicsApp(int)���:
MainDocument.cpp:1665:19: warning: deprecated conversion from string constant to ���char*���
MainDocument.cpp:1666:19: warning: deprecated conversion from string constant to ���char*���
MainDocument.cpp:1667:20: warning: deprecated conversion from string constant to ���char*���
MainDocument.cpp:1668:19: warning: deprecated conversion from string constant to ���char*���
MainDocument.cpp: In member function ���int CMainDocument::WorkShowGraphics(RESULT*)���:
MainDocument.cpp:1726:19: warning: deprecated conversion from string constant to ���char*���
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac  -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng15    `pkg-config --cflags gtk+-2.0`   -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread  -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng15    `pkg-config --cflags gtk+-2.0` -O2 -pipe -pthread -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/libpng15 -I/usr/include/libdrm   -c -o boincmgr-NotFoundPage.o `test -f 'NotFoundPage.cpp' || echo './'`NotFoundPage.cpp
gtk/taskbarex.cpp: In member function ���virtual bool wxTaskBarIconEx::SetBalloon(const wxIcon&, wxString, wxString, unsigned int)���:
gtk/taskbarex.cpp:239:28: warning: deprecated conversion from string constant to ���gchar*���
gtk/taskbarex.cpp:242:28: warning: deprecated conversion from string constant to ���gchar*���
gtk/taskbarex.cpp:245:28: warning: deprecated conversion from string constant to ���gchar*���
MainDocument.cpp: In member function ���int CNetworkConnection::GetLocalPassword(wxString&)���:
MainDocument.cpp:126:23: warning: ignoring return value of ���char* fgets(char*, int, FILE*)���, declared with attribute warn_unused_result
make[2]: *** [boincmgr-taskbarex.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sci-misc/boinc-6.12.42/work/boinc-6.12.42/clientgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-misc/boinc-6.12.42/work/boinc-6.12.42'
make: *** [all] Error 2


Not sure what to make of that.
ID: 43698 · Report as offensive
Profile Trog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 43706 - Posted: 23 Apr 2012, 12:37:13 UTC - in response to Message 43698.  

Better off posting in the gentoo forums first (Portage & Programming) is probably best or filing a bug in the gentoo bugzilla - that way you can check that its neither a problem with the ebuild nor your system. 6.12.42 has been out for some time and quite a number of gentoo boincers run NVidia cards, so you should get assistance quite readily.
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
ID: 43706 · Report as offensive
Toralf Foerster

Send message
Joined: 13 Aug 09
Posts: 14
Germany
Message 44620 - Posted: 24 Jun 2012, 16:47:33 UTC

https://forums.gentoo.org/viewtopic-t-923320-start-25.html is a good starting point - I run here 7.0.29 at a x86 Gentoo w/o problems.
ID: 44620 · Report as offensive

Message boards : BOINC client : Boinc and Cuda in Gentoo

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.