Compiling my own client

Message boards : Number crunching : Compiling my own client
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · Next

AuthorMessage
Merlin
Volunteer tester

Send message
Joined: 24 Nov 99
Posts: 18
Credit: 4,168,479
RAC: 1
Germany
Message 3251 - Posted: 1 Jul 2004, 21:06:42 UTC

@Juha Veijalainen:

"../db/xml_util.h:383: error: no matching function for call to `min(long int,
int)'
make[1]: *** [seti.o] Error 1"

You have to cast second parameter of function "min" to type "long":

for (i=0;i
ID: 3251 · Report as offensive
Profile David Vondrasek

Send message
Joined: 3 Apr 99
Posts: 17
Credit: 291
RAC: 0
United States
Message 3290 - Posted: 1 Jul 2004, 23:37:26 UTC

My FreeBSD errors... Help ? configure went just fine..

david@dell:/home/david/boinc : make
make all-recursive
Making all in RSAEuro
Making all in source
Making all in db
Making all in lib
source='util.C' object='util.o' libtool=no depfile='.deps/util.Po' tmpdepfile='.deps/util.TPo' depmode=gcc /usr/local/bin/bash ../depcomp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../api -I../db -I../RSAEuro/source -I../client -I../tools -I../sched -I'/usr/local/mysql/include/mysql' -include ../config.h -g -Wall -O3 -g -O2 -c -o util.o util.C
util.C:35: locale: No such file or directory
util.C:417: macro `tolower' used with too many (2) args
*** Error code 1

Stop in /usr/home/david/boinc/lib.
*** Error code 1

Stop in /usr/home/david/boinc.
*** Error code 1

Stop in /usr/home/david/boinc.
david@dell:/home/david/boinc :
Dave

ID: 3290 · Report as offensive
CXI

Send message
Joined: 23 Apr 99
Posts: 30
Credit: 270,498
RAC: 0
United States
Message 3366 - Posted: 2 Jul 2004, 5:12:40 UTC

Are you using the correct versions of gcc and gmake?

Read this page and the Software Prerequisites link.

I also notice something new (I think) about not needing to have mysql installed. You can fake out the configure script to avoid needing it.
ID: 3366 · Report as offensive
luke

Send message
Joined: 21 Aug 03
Posts: 4
Credit: 82,282
RAC: 0
Canada
Message 3368 - Posted: 2 Jul 2004, 5:22:52 UTC - in response to Message 3290.  

I have had good luck adding the line:

#define __OPENBSD__

to config.h in the root of the BOINC source tree. This solved my "tolower" problem on FreeBSD-4.5-RELEASE system.
ID: 3368 · Report as offensive
Profile David Vondrasek

Send message
Joined: 3 Apr 99
Posts: 17
Credit: 291
RAC: 0
United States
Message 3392 - Posted: 2 Jul 2004, 7:22:08 UTC


#define __OPENBSD__ didn't work..

And I have all the required software installed.

gcc version 2.95.3 20010315 (release) [FreeBSD]
GNU Make version 3.79.1, Built for i386--freebsd4.5
Your MySQL connection id is 22857 to server version: 3.23.47

Great, so I have 10 DUAL P4's sitting idle with nothing todo. Guess they can run Classic a while..

Why I should have to install and compile a complete server and client just to get a client is really crazy in my view. I guess I could install WIN2KPro .. HELL NO..


Dave

ID: 3392 · Report as offensive
luke

Send message
Joined: 21 Aug 03
Posts: 4
Credit: 82,282
RAC: 0
Canada
Message 3533 - Posted: 2 Jul 2004, 16:28:57 UTC - in response to Message 3392.  

Sorry. My bad. The correct line should read (caps error):

#define __OpenBSD__

I just added mine to the end of config.h. Worked like a charm, and both BOINC and SETI compiled. I haven't been able to get any work to fully test them, but they run and seem to operate normally.
ID: 3533 · Report as offensive
luke

Send message
Joined: 21 Aug 03
Posts: 4
Credit: 82,282
RAC: 0
Canada
Message 3536 - Posted: 2 Jul 2004, 16:30:44 UTC - in response to Message 3533.  

Also, if necessary, I can provide binaries for FreeBSD-4.x/x86 (of both BOINC & seti-client) to anyone interested. I am trying to compile BOINC for other platforms, including NetBSD/sparc(64), without much luck.
ID: 3536 · Report as offensive
Profile David Vondrasek

Send message
Joined: 3 Apr 99
Posts: 17
Credit: 291
RAC: 0
United States
Message 3553 - Posted: 2 Jul 2004, 16:58:12 UTC

If you have the bibary for FreeBSD that's all I need :)
Dave



ID: 3553 · Report as offensive
Profile David Vondrasek

Send message
Joined: 3 Apr 99
Posts: 17
Credit: 291
RAC: 0
United States
Message 3561 - Posted: 2 Jul 2004, 17:08:54 UTC

SUCCESS !

Adding the correct " #define __OpenBSD__ " created the bibary I need and it seems to work. Waiting to see if it get s WU and runs ok.. WIll update when that happens.

Thanks !

Dave



ID: 3561 · Report as offensive
Profile David Vondrasek

Send message
Joined: 3 Apr 99
Posts: 17
Credit: 291
RAC: 0
United States
Message 3746 - Posted: 3 Jul 2004, 19:22:19 UTC

ok now Im getting this message on the FreeBSD box..

2004-07-03 03:48:59 [---] Fewer active results than CPUs; requesting more work
2004-07-03 03:48:59 [SETI@home] Requesting 34560 seconds of work
2004-07-03 03:48:59 [SETI@home] Sending request to scheduler: http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi
2004-07-03 03:49:02 [SETI@home] Scheduler RPC to http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi succeeded
2004-07-03 03:49:02 [SETI@home] Message from server: platform 'i386-unknown-freebsd4.5' not found
2004-07-03 03:49:02 [SETI@home] No work from project

What does " 'i386-unknown-freebsd4.5' not found " detail ??????
Does this mean I'm not getting WU because it doen't know the FreeBSD I compiled for ??? Do I have to tell it something else to get WUs then ?


Dave



ID: 3746 · Report as offensive
morthound

Send message
Joined: 9 Oct 99
Posts: 7
Credit: 361,901
RAC: 0
Sweden
Message 3747 - Posted: 3 Jul 2004, 19:30:35 UTC

You need to create an app_info.xml file and put i386-unknown-freebsd4.5 in it.
Directions here: http://boinc.berkeley.edu/anonymous_platform.php
ID: 3747 · Report as offensive
Profile David Vondrasek

Send message
Joined: 3 Apr 99
Posts: 17
Credit: 291
RAC: 0
United States
Message 3749 - Posted: 3 Jul 2004, 19:37:16 UTC

I have the file, but it didn't say to change the name in the file.. I've done so and we'll see how it works now. I have a 55 minute wait now. Thanks
Dave



ID: 3749 · Report as offensive
Guido_A_Waldenmeier_

Send message
Joined: 3 Apr 99
Posts: 482
Credit: 4,774
RAC: 0
Liechtenstein
Message 3767 - Posted: 3 Jul 2004, 20:25:51 UTC

own client??? mmh oops or what ;-)
[/url] [/url]
Bei der Eroberung des Weltraums sind zwei Probleme zu lösen: die Schwerkraft und der Papierkrieg. Mit der Schwerkraft wären wir fertig geworden.Wernher von Braun
ID: 3767 · Report as offensive
Profile David Vondrasek

Send message
Joined: 3 Apr 99
Posts: 17
Credit: 291
RAC: 0
United States
Message 3774 - Posted: 3 Jul 2004, 20:33:25 UTC
Last modified: 3 Jul 2004, 20:39:00 UTC

Didn't help, Maybe someone can help. Here is the current error message and what I have.. Will this effect me getting WUs ?


2004-07-03 15:15:46 [---] No general preferences found - using BOINC defaults
2004-07-03 15:15:46 [SETI@home] Deferring communication with project for 4 minutes and 54 seconds
2004-07-03 15:15:46 [SETI@home] Deferring communication with project for 4 minutes and 54 seconds
2004-07-03 15:20:41 [---] Fewer active results than CPUs; requesting more work
2004-07-03 15:20:41 [SETI@home] Requesting 34560 seconds of work
2004-07-03 15:20:41 [SETI@home] Sending request to scheduler: http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi
2004-07-03 15:20:46 [SETI@home] Scheduler RPC to http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi succeeded
2004-07-03 15:20:46 [SETI@home] Message from server: platform 'i386-unknown-freebsd4.5' not found
2004-07-03 15:20:46 [SETI@home] Project prefs: no separate prefs for home; using your defaults
2004-07-03 15:20:46 [SETI@home] No work from project
2004-07-03 15:20:46 [SETI@home] No work from project


=== app_info.xml ===
Located in /home/david/setiboinc/projects

Values used, can't post the complete file due to all the HTML type codes get removed

app_info
app
name setiathome name
app
file_info
name i386-unknown-freebsd4.5 name
file_info
app_version
app_name setiathome app_name
version_num 319 version_num
file_ref
file_name i386-unknown-freebsd4.5 file_name
main_program
file_ref
app_version
app_info



ID: 3774 · Report as offensive
luke

Send message
Joined: 21 Aug 03
Posts: 4
Credit: 82,282
RAC: 0
Canada
Message 3829 - Posted: 3 Jul 2004, 22:58:25 UTC

The instructions for setting up an anonymous platform are less than ideal.

You need to create a app_info.xml file in the *PROJECT'S* project folder. So, projects/setiathome.berkeley.edu/app_info.xml.

If you have done this successfully, you client should say this when starting up:

2004-07-03 17:56:04 [---] Starting BOINC client version 3.19 for i386-unknown-freebsd4.6
2004-07-03 17:56:04 [SETI@home] Project prefs: no separate prefs for home; using your defaults
2004-07-03 17:56:04 [SETI@home] Found app_info.xml; using anonymous platform
ID: 3829 · Report as offensive
Profile David Vondrasek

Send message
Joined: 3 Apr 99
Posts: 17
Credit: 291
RAC: 0
United States
Message 3852 - Posted: 4 Jul 2004, 1:35:25 UTC

THANKS LUKE !! I just had the file in the wrong directory.. I move it and it seems to be ok, Now to see if I get WUs on the *nix box like I did the WINBLOZE box..

Results
2004-07-03 20:26:39 [---] Starting BOINC client version 3.19 for i386-unknown-freebsd4.5
2004-07-03 20:26:39 [SETI@home] Project prefs: no separate prefs for home; using your defaults
2004-07-03 20:26:39 [SETI@home] Found app_info.xml; using anonymous platform
2004-07-03 20:26:39 [SETI@home] Host ID is XXXXX
2004-07-03 20:26:39 [---] No general preferences found - using BOINC defaults
2004-07-03 20:26:39 [---] Fewer active results than CPUs; requesting more work
2004-07-03 20:26:42 [---] Fewer active results than CPUs; requesting more work
2004-07-03 20:26:42 [SETI@home] Requesting 34560 seconds of work
2004-07-03 20:26:42 [SETI@home] Sending request to scheduler: http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi
2004-07-03 20:26:45 [SETI@home] Scheduler RPC to http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi succeeded
2004-07-03 20:26:45 [SETI@home] General preferences have been updated
2004-07-03 20:26:45 [SETI@home] Message from server: No work available
2004-07-03 20:26:45 [SETI@home] Message from server: No work available
Dave



ID: 3852 · Report as offensive
Profile David Vondrasek

Send message
Joined: 3 Apr 99
Posts: 17
Credit: 291
RAC: 0
United States
Message 3853 - Posted: 4 Jul 2004, 1:38:38 UTC

Next Question...

1. Anyone have an idea whay BOINC uses 20-30% of the processor even when it's just waiting for the timer to run down and try to ask for another WU ?

2. Why it's beating the hell out of the drive at the same time ? I'd think it would be idle now. But for some reason it really giveing the drives a workout also.


Dave



ID: 3853 · Report as offensive
Profile Rob Craig

Send message
Joined: 16 Dec 03
Posts: 2
Credit: 99,428
RAC: 0
Spain
Message 7357 - Posted: 13 Jul 2004, 11:31:13 UTC - in response to Message 691.  

Arrgghhh!

Has anyone sucessfully got it working under FreeBSD? I can get the Boinc part compiled and made but the client side failes on the ./configure and make????

Any ideas?

In my configure I get these errors:

ure: WARNING: list: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##

Then in the make I get this error:

make
"Makefile", line 132: Could not find dependencies
make: fatal errors encountered -- cannot continue


> I would like to compile the client to run on my FreeBSD servers. However, the
> web site links are rather circular. When I eventually found a link to the
> source code directory, there isn't a version there that matches the release
> version of the client! There are old archived versions and nightly snapshots.
> Where is the the current release set?
>
> Also, the "download and build yourself" page links back to the main boinc page
> and indicates that you can download clients for all kinds of platforms there.
> However, I can't find any of these clients to download.
>
> Last, the client code that I can find seems to be the code for the main Boinc
> client itself. Is the source for SAH even available? If so, what is the URL?
>
> Thank you.
>
ID: 7357 · Report as offensive
Profile David Vondrasek

Send message
Joined: 3 Apr 99
Posts: 17
Credit: 291
RAC: 0
United States
Message 7520 - Posted: 14 Jul 2004, 3:36:00 UTC

I gave up after 2 weeks of failures.. Curent CVS does this

From ./configure


checking sys/mount.h usability... no
checking sys/mount.h presence... yes
configure: WARNING: sys/mount.h: present but cannot be compiled
configure: WARNING: sys/mount.h: check for missing prerequisite headers?
configure: WARNING: sys/mount.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for sys/mount.h... yes
checking sys/param.h usability... yes



Far as I get on make..




Making all in sched
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/local/include/mysql' -include ../config.h -g -Wall -O3 -g -O2 -MT sched_shmem.o -MD -MP -MF ".deps/sched_shmem.Tpo" -c -o sched_shmem.o `test -f 'sched_shmem.C' || echo './'`sched_shmem.C; then mv ".deps/sched_shmem.Tpo" ".deps/sched_shmem.Po"; else rm -f ".deps/sched_shmem.Tpo"; exit 1; fi
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/local/include/mysql' -include ../config.h -g -Wall -O3 -g -O2 -MT sched_util.o -MD -MP -MF ".deps/sched_util.Tpo" -c -o sched_util.o `test -f 'sched_util.C' || echo './'`sched_util.C; then mv ".deps/sched_util.Tpo" ".deps/sched_util.Po"; else rm -f ".deps/sched_util.Tpo"; exit 1; fi
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/local/include/mysql' -include ../config.h -g -Wall -O3 -g -O2 -MT sched_config.o -MD -MP -MF ".deps/sched_config.Tpo" -c -o sched_config.o `test -f 'sched_config.C' || echo './'`sched_config.C; then mv ".deps/sched_config.Tpo" ".deps/sched_config.Po"; else rm -f ".deps/sched_config.Tpo"; exit 1; fi
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/local/include/mysql' -include ../config.h -g -Wall -O3 -g -O2 -MT sched_msgs.o -MD -MP -MF ".deps/sched_msgs.Tpo" -c -o sched_msgs.o `test -f 'sched_msgs.C' || echo './'`sched_msgs.C; then mv ".deps/sched_msgs.Tpo" ".deps/sched_msgs.Po"; else rm -f ".deps/sched_msgs.Tpo"; exit 1; fi
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/local/include/mysql' -include ../config.h -g -Wall -O3 -g -O2 -MT boinc_db.o -MD -MP -MF ".deps/boinc_db.Tpo" -c -o boinc_db.o `test -f '../db/boinc_db.C' || echo './'`../db/boinc_db.C; then mv ".deps/boinc_db.Tpo" ".deps/boinc_db.Po"; else rm -f ".deps/boinc_db.Tpo"; exit 1; fi
../db/boinc_db.C: In member function `void HOST::fix_nans()':
../db/boinc_db.C:298: error: `isnan' undeclared (first use this function)
../db/boinc_db.C:298: error: (Each undeclared identifier is reported only once
for each function it appears in.)
*** Error code 1

Stop in /usr/home/david/boinc/sched.
*** Error code 1

Stop in /usr/home/david/boinc.
*** Error code 1

Stop in /usr/home/david/boinc.

Dave



ID: 7520 · Report as offensive
Profile David Vondrasek

Send message
Joined: 3 Apr 99
Posts: 17
Credit: 291
RAC: 0
United States
Message 7522 - Posted: 14 Jul 2004, 3:57:39 UTC

Gezz can't even use current CVS is ya wanted too:

2004-07-14 00:35:51 [---] Starting BOINC client version 4.00 for i386-unknown-freebsd5.2.1
2004-07-14 00:35:51 [http://setiathome.berkeley.edu/] Project prefs: using your defaults
2004-07-14 00:35:51 [http://setiathome.berkeley.edu/] Found app_info.xml; using anonymous platform
2004-07-14 00:35:51 [http://setiathome.berkeley.edu/] Host ID not assigned yet
2004-07-14 00:35:51 [---] No general preferences found - using BOINC defaults
2004-07-14 00:35:51 [---] Running CPU benchmarks
2004-07-14 00:35:51 [---] Suspending computation and network activity - running CPU benchmarks
2004-07-14 00:36:52 [---] Benchmark results:
2004-07-14 00:36:52 [---] Number of CPUs: 2
2004-07-14 00:36:52 [---] 289 double precision MIPS (Whetstone) per CPU
2004-07-14 00:36:52 [---] 595 integer MIPS (Dhrystone) per CPU
2004-07-14 00:36:52 [---] Finished CPU benchmarks
2004-07-14 00:36:53 [---] Resuming computation and network activity
2004-07-14 00:36:53 [---] Fewer active results than CPUs; requesting more work
2004-07-14 00:36:54 [---] Fewer active results than CPUs; requesting more work
2004-07-14 00:36:54 [http://setiathome.berkeley.edu/] Requesting 34560 seconds of work
2004-07-14 00:36:54 [http://setiathome.berkeley.edu/] Sending request to scheduler: http://setiboincdata.ssl.berkeley.edu/sah_cgi/cgi
2004-07-14 00:36:54 [http://setiathome.berkeley.edu/] Scheduler RPC to http://setiboincdata.ssl.berkeley.edu/sah_cgi/cgi succeeded
2004-07-14 00:36:54 [SETI@home] Message from server: To participate in this project, you must use major version 3 of the BOINC core client. Your core client is major version 4.
BOINC failed to log in to http://setiathome.berkeley.edu/.
Please check your account ID and try again.
2004-07-14 00:36:54 [SETI@home] Resetting project
2004-07-14 00:36:54 [SETI@home] Detaching from project


Dave



ID: 7522 · Report as offensive
Previous · 1 · 2 · 3 · Next

Message boards : Number crunching : Compiling my own client


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