Compile error on RHEL 4

Questions and Answers : Unix/Linux : Compile error on RHEL 4
Message board moderation

To post messages, you must log in.

AuthorMessage
Bingchen,Li

Send message
Joined: 6 Jun 05
Posts: 1
Credit: 0
RAC: 0
China
Message 119725 - Posted: 6 Jun 2005, 7:52:18 UTC

Hi,

I downloaded boinc_public-cvs-2005-06-05.tar.gz for website. After untar this package, I configure it then make it. But I see such error message:

make[2]: Entering directory `/usr/local/boinc/apps'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../api -I../db -I../RSAEuro/source -I../client -I../tools -I../sched -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -include ../config.h -D__NO_CTYPE -I../lib -I../api -I../db -I../RSAEuro/source -I../client -I../tools -I../sched -I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -include ../config.h -g -O2 -pthread -MT upper_case.o -MD -MP -MF ".deps/upper_case.Tpo" -c -o upper_case.o upper_case.C; \
then mv -f ".deps/upper_case.Tpo" ".deps/upper_case.Po"; else rm -f ".deps/upper_case.Tpo"; exit 1; fi
upper_case.C: In function `int main(int, char**)':
upper_case.C:219: error: invalid initialization of non-const reference of type 'std::string&' from a temporary of type 'std::string'
../api/boinc_api.h:101: error: in passing argument 1 of `int boinc_upload_file(std::string&)'
upper_case.C:222: error: invalid initialization of non-const reference of type 'std::string&' from a temporary of type 'std::string'
../api/boinc_api.h:102: error: in passing argument 1 of `int boinc_upload_status(std::string&)'
make[2]: *** [upper_case.o] Error 1
make[2]: Leaving directory `/usr/local/boinc/apps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/boinc'
make: *** [all] Error 2

I am using RHEL 4 on a normal i686. Does anybody know how to solve this problem?

I have built seti_boinc-client-cvs-2005-06-06.zip package without any problem.

BTW, is there binary code of BOINC for IA64?
Thanks.



ID: 119725 · Report as offensive
Dotsch
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 919,393
RAC: 0
Germany
Message 170669 - Posted: 22 Sep 2005, 14:24:46 UTC

Here are binaries for HPUX and Linux on IA64 :
http://www.lb.shuttle.de/apastron/boincDown.shtml

ID: 170669 · Report as offensive
Profile Crunch3r
Volunteer tester
Avatar

Send message
Joined: 15 Apr 99
Posts: 1546
Credit: 3,438,823
RAC: 0
Germany
Message 170682 - Posted: 22 Sep 2005, 15:02:44 UTC - in response to Message 170669.  
Last modified: 22 Sep 2005, 15:03:26 UTC

Here are binaries for HPUX and Linux on IA64 :
http://www.lb.shuttle.de/apastron/boincDown.shtml

Here is another one for Linux on IA64 using the faster FFTW3 libs

regards
Crunch3r

Join BOINC United now!
ID: 170682 · Report as offensive

Questions and Answers : Unix/Linux : Compile error on RHEL 4


 
©2025 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.