Questions and Answers :
Unix/Linux :
qmake and make for boincgui....help for a newbie...please
Message board moderation
Author | Message |
---|---|
xi3piscium Send message Joined: 17 Aug 99 Posts: 287 Credit: 26,674 RAC: 0 |
I installed qt3.3.2....running RH9....trying compile boincgui...i typed qmake...no problem. Then I typed make and here is what I get: [yusuf@localhost boincgui]$ qmake [yusuf@localhost boincgui]$ make g++ -c -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions -DQT_NO_DEBUG -I/usr/lib/qt-3.1/mkspecs/default -I. -I. -I/usr/lib/qt-3.1/include -o boincgui.o boincgui.cpp g++ -c -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions -DQT_NO_DEBUG -I/usr/lib/qt-3.1/mkspecs/default -I. -I. -I/usr/lib/qt-3.1/include -o filesys.o filesys.C filesys.C: In function `DIR* dir_open(const char*)': filesys.C:96: warning: unused parameter `const char*p' filesys.C:97: warning: `DIR*dirp' might be used uninitialized in this function filesys.C: In function `int dir_scan(char*, DIR*, int)': filesys.C:116: warning: unused parameter `char*p' filesys.C:116: warning: unused parameter `DIR*dirp' filesys.C:116: warning: unused parameter `int p_len' filesys.C:155: warning: control reaches end of non-void function filesys.C: In function `void dir_close(DIR*)': filesys.C:159: warning: unused parameter `DIR*dirp' filesys.C: In member function `DirScanner::DirScanner(const std::string&)': filesys.C:174: warning: unused parameter `const std::string&path' filesys.C: In member function `bool DirScanner::scan(std::string&)': filesys.C:191: warning: unused parameter `std::string&s' filesys.C:232: warning: control reaches end of non-void function filesys.C: In function `int boinc_delete_file(const char*)': filesys.C:264: `unlink' undeclared (first use this function) filesys.C:264: (Each undeclared identifier is reported only once for each function it appears in.) filesys.C: In function `int boinc_rmdir(const char*)': filesys.C:433: `rmdir' undeclared (first use this function) filesys.C: In function `int lock_file(char*)': filesys.C:462: warning: unused parameter `char*filename' filesys.C: In function `void relative_to_absolute(char*, char*)': filesys.C:490: `getcwd' undeclared (first use this function) make: *** [filesys.o] Error 1 <a> [/url] |
tullio Send message Joined: 9 Apr 04 Posts: 8797 Credit: 2,930,782 RAC: 1 |
I have compiled boincgui on a SuSE Linux 7.3, kernel 2.4.x, gcc2.95.3 and it worked. Then I upgraded to SuSE 9,1, kernel 2,6.x, gcc 3.3.2, and got a bunch of errors. I then went to www.davidzilch.co.uk/boincgui and downloaded the compiled version. It works.I advice you to do the same. |
flim Send message Joined: 27 Jul 04 Posts: 4 Credit: 922 RAC: 0 |
I had a problem compiling BOINCGUI. It said something about not being able to find the makefile, so I downloaded the precompiled one, as you said. It now tells me I can't execute the file. It says permission denied, even though I've done a chmod 777 as root! The permissions are -rwxrwxrwx and the ownership is .users - why is it saying I don't have permission? |
barry r smith Send message Joined: 3 Apr 99 Posts: 1 Credit: 0 RAC: 0 |
(answering this slightly old question, but anyway:) The error can be fixed on RH9 by adding an extra include near the top of file filesys.C // Add this for RH9 #include <unistd.h> I did not investigate any other info at all... (actually theres an #ifdef in that file which includes unistd if it thinks its available). barry |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.