Unable to compile Seti on a Sun netra X1 running Debian ( UltraSparc IIe)


log in

Advanced search

Questions and Answers : Unix/Linux : Unable to compile Seti on a Sun netra X1 running Debian ( UltraSparc IIe)

Author Message
Profile Kermit the Frog
Send message
Joined: 26 Nov 02
Posts: 15
Credit: 603,279
RAC: 0
United Kingdom
Message 6596 - Posted: 11 Jul 2004, 18:53:18 UTC

I am trying to compile Seti, and I get this:

../db/xml_util.h:67:27: error_numbers.h: No such file or directory

../config.h:346:23: std_fixes.h: No such file or directory

sah_gfx.cpp:111:18: util.h: No such file or directory
sah_gfx.cpp:112:23: boinc_api.h: No such file or directory
sah_gfx.cpp:113:26: graphics_api.h: No such file or directory
sah_gfx.cpp:114:19: gutil.h: No such file or directory
In file included from ../db/sqlrow.h:26,





an lots more...
the source file is: seti_boinc-client-cvs-2004-07-11.tar.gz

Darren
Volunteer tester
Avatar
Send message
Joined: 2 Jul 99
Posts: 259
Credit: 277,051
RAC: 52
United States
Message 6609 - Posted: 11 Jul 2004, 19:14:55 UTC

Have you compiled boinc yet, and if so did you use the same main directory?

In the errors you've listed, I know some of the missing files will be found in the boinc part of things.

In the directory you intend to compile in, you should extract both the boinc-cvs file and the seti_boinc-client-cvs file. This will create 2 sub directories - boinc and seti_boinc. Compile in boinc to get the boinc client, then compile in seti_boinc to get the seti executable (then the seti executable can find the various boinc files it needs).



Profile Kermit the Frog
Send message
Joined: 26 Nov 02
Posts: 15
Credit: 603,279
RAC: 0
United Kingdom
Message 6653 - Posted: 11 Jul 2004, 20:53:42 UTC - in response to Message 6609.

> Have you compiled boinc yet, and if so did you use the same main directory?
>
> In the errors you've listed, I know some of the missing files will be found in
> the boinc part of things.
>
> In the directory you intend to compile in, you should extract both the
> boinc-cvs file and the seti_boinc-client-cvs file. This will create 2 sub
> directories - boinc and seti_boinc. Compile in boinc to get the boinc client,
> then compile in seti_boinc to get the seti executable (then the seti
> executable can find the various boinc files it needs).
>
>
> <img> src="http://darrenc.dyndns.org/5.gif">
>

Thx for your help,
That's exactly what i've done, and I still get the same errors.
Now even worse, I can't build the boinc using the latest cvs.

argh
>

Darren
Volunteer tester
Avatar
Send message
Joined: 2 Jul 99
Posts: 259
Credit: 277,051
RAC: 52
United States
Message 6655 - Posted: 11 Jul 2004, 21:18:25 UTC - in response to Message 6653.

> Thx for your help,
> That's exactly what i've done, and I still get the same errors.
> Now even worse, I can't build the boinc using the latest cvs.

I just compiled the last nightly and the 3.20, both as downloaded, without any problems. What's the filename of the boinc cvs you are trying to compile and I'll see if I can get the same one to go.


Profile Kermit the Frog
Send message
Joined: 26 Nov 02
Posts: 15
Credit: 603,279
RAC: 0
United Kingdom
Message 6658 - Posted: 11 Jul 2004, 21:26:01 UTC - in response to Message 6655.

> > Thx for your help,
> > That's exactly what i've done, and I still get the same errors.
> > Now even worse, I can't build the boinc using the latest cvs.
>
> I just compiled the last nightly and the 3.20, both as downloaded, without any
> problems. What's the filename of the boinc cvs you are trying to compile and
> I'll see if I can get the same one to go.
>
>
>
>

Ok, I have managed to compile the 3.20 boinc. yeah,,,
but, when i try to compile seti_boinc:

(cd client; make all)
make[1]: Entering directory `/tmp/seti_boinc/client'
g++ -g -O2 -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I/tmp/boinc/api -I/tmp/boinc/lib -I/tmp/boinc/image_libs/ -I.. -I../db -c -o main.o main.cpp
g++ -g -O2 -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I/tmp/boinc/api -I/tmp/boinc/lib -I/tmp/boinc/image_libs/ -I.. -I../db -c -o fft8g.o fft8g.cpp
/usr/bin/ar r libooura.a fft8g.o
ranlib libooura.a
g++ -g -O2 -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I/tmp/boinc/api -I/tmp/boinc/lib -I/tmp/boinc/image_libs/ -I.. -I../db -c -o analyzeFuncs.o analyzeFuncs.cpp
g++ -g -O2 -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I/tmp/boinc/api -I/tmp/boinc/lib -I/tmp/boinc/image_libs/ -I.. -I../db -c -o analyzeReport.o analyzeReport.cpp
analyzeReport.cpp: In function `int ReportPulseEvent(float, float, float, int,
int, float, float, float*, int)':
analyzeReport.cpp:337: error: `assert' undeclared (first use this function)
analyzeReport.cpp:337: error: (Each undeclared identifier is reported only once
for each function it appears in.)
make[1]: *** [analyzeReport.o] Error 1
make[1]: Leaving directory `/tmp/seti_boinc/client'
make: *** [all] Error 2
sun:/tmp/seti_boinc#


what are you thoughts on this?

Darren
Volunteer tester
Avatar
Send message
Joined: 2 Jul 99
Posts: 259
Credit: 277,051
RAC: 52
United States
Message 6662 - Posted: 11 Jul 2004, 21:45:31 UTC - in response to Message 6658.


> Ok, I have managed to compile the 3.20 boinc. yeah,,,
> but, when i try to compile seti_boinc:
>
> (cd client; make all)
> make[1]: Entering directory `/tmp/seti_boinc/client'

> g++ -g -O2 -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I/tmp/boinc/api
> -I/tmp/boinc/lib -I/tmp/boinc/image_libs/ -I.. -I../db -c -o main.o main.cpp
> g++ -g -O2 -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I/tmp/boinc/api
> -I/tmp/boinc/lib -I/tmp/boinc/image_libs/ -I.. -I../db -c -o fft8g.o
> fft8g.cpp
> /usr/bin/ar r libooura.a fft8g.o
> ranlib libooura.a
> g++ -g -O2 -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I/tmp/boinc/api
> -I/tmp/boinc/lib -I/tmp/boinc/image_libs/ -I.. -I../db -c -o analyzeFuncs.o
> analyzeFuncs.cpp
> g++ -g -O2 -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I/tmp/boinc/api
> -I/tmp/boinc/lib -I/tmp/boinc/image_libs/ -I.. -I../db -c -o analyzeReport.o
> analyzeReport.cpp
> analyzeReport.cpp: In function `int ReportPulseEvent(float, float, float,
> int,
> int, float, float, float*, int)':
> analyzeReport.cpp:337: error: `assert' undeclared (first use this function)
> analyzeReport.cpp:337: error: (Each undeclared identifier is reported only
> once
> for each function it appears in.)
> make[1]: *** [analyzeReport.o] Error 1
> make[1]: Leaving directory `/tmp/seti_boinc/client'
> make: *** [all] Error 2
> sun:/tmp/seti_boinc#
>
>
> what are you thoughts on this?

OK, this is the one real problem that maybe I can help with - only because I have the same problem and have to adjust for it myself.

It seems that really recent versions of glibc have this problem for some unknown reason. To get around it, you'll have to delete the entire seti_boinc directory that you're working in and extract a new copy from the seti_boinc cvs file, then edit the following 2 files before you compile it again.

In the ~/seti_boinc/client/ directory open the file analyzeReport.cpp with a text editor. At the top of the file just above the first line starting #include..., add the following 2 lines, but note that you will have to change the parentheses that show on this page to less-than and greater-than signs when you type it into the file:

#include (stdlib.h)
#include (assert.h)

After this, in the same directory, open the file lcgamm.cpp and make the same changes to it. After this, you should be able to get past those errors.

Also note that if your boinc cvs extracted a directory named boinc_public that you created the boinc program in, you will have to change the name of that directory to simply boinc instead, as the seti_boinc will be looking for boinc instead of boinc_public.


Profile Kermit the Frog
Send message
Joined: 26 Nov 02
Posts: 15
Credit: 603,279
RAC: 0
United Kingdom
Message 6672 - Posted: 11 Jul 2004, 21:57:13 UTC - in response to Message 6662.

> OK, this is the one real problem that maybe I can help with - only because I
> have the same problem and have to adjust for it myself.
>
> It seems that really recent versions of glibc have this problem for some
> unknown reason. To get around it, you'll have to delete the entire seti_boinc
> directory that you're working in and extract a new copy from the seti_boinc
> cvs file, then edit the following 2 files before you compile it again.
>
> In the ~/seti_boinc/client/ directory open the file analyzeReport.cpp with a
> text editor. At the top of the file just above the first line starting
> #include..., add the following 2 lines, but note that you will have to change
> the parentheses that show on this page to less-than and greater-than signs
> when you type it into the file:
>
> #include (stdlib.h)
> #include (assert.h)
>
> After this, in the same directory, open the file lcgamm.cpp and make the same
> changes to it. After this, you should be able to get past those errors.
>
> Also note that if your boinc cvs extracted a directory named boinc_public that
> you created the boinc program in, you will have to change the name of that
> directory to simply boinc instead, as the seti_boinc will be looking for boinc
> instead of boinc_public.



this helped a lot, but i am getting this now:

processing ; nfields= 17
processing .
processing .
processing END
g++ -g -O2 -I.. -I/tmp/boinc/lib -I/tmp/boinc/api -M *.cpp > dependencies
In file included from sqlblob.h:33,
from db_table.h:26,
from schema_master.cpp:14:
sqldefs.h:42:19: mysql.h: No such file or directory
In file included from sqlblob.cpp:27:
sqldefs.h:42:19: mysql.h: No such file or directory
In file included from sqlblob.h:33,
from sqlapi.h:25,
from sqltest.cpp:18:
sqldefs.h:42:19: mysql.h: No such file or directory
make[2]: *** [dependencies] Error 1
make[2]: Leaving directory `/tmp/seti_boinc/db'
make[1]: *** [../db/schema_master.cpp] Error 2
make[1]: Leaving directory `/tmp/seti_boinc/client'
make: *** [all] Error 2

Darren
Volunteer tester
Avatar
Send message
Joined: 2 Jul 99
Posts: 259
Credit: 277,051
RAC: 52
United States
Message 6674 - Posted: 11 Jul 2004, 22:10:52 UTC - in response to Message 6672.


> this helped a lot, but i am getting this now:
>
> processing ; nfields= 17
> processing .
> processing .
> processing END
> g++ -g -O2 -I.. -I/tmp/boinc/lib -I/tmp/boinc/api -M *.cpp >
> dependencies
> In file included from sqlblob.h:33,
> from db_table.h:26,
> from schema_master.cpp:14:
> sqldefs.h:42:19: mysql.h: No such file or directory
> In file included from sqlblob.cpp:27:
> sqldefs.h:42:19: mysql.h: No such file or directory
> In file included from sqlblob.h:33,
> from sqlapi.h:25,
> from sqltest.cpp:18:
> sqldefs.h:42:19: mysql.h: No such file or directory
> make[2]: *** [dependencies] Error 1
> make[2]: Leaving directory `/tmp/seti_boinc/db'
> make[1]: *** [../db/schema_master.cpp] Error 2
> make[1]: Leaving directory `/tmp/seti_boinc/client'
> make: *** [all] Error 2

First, check and make sure that there is a file named mysql.h in your ~/boinc/db/ directory where you compiled the boinc program, as that's the file it keeps tripping on here. If that file is intact and accessable, possibly you don't have the mysql_devel software installed on your system, but I wouldn't think you would have gotten even this far without that (it should have found that during the ./configure for the boinc program).


Profile Kermit the Frog
Send message
Joined: 26 Nov 02
Posts: 15
Credit: 603,279
RAC: 0
United Kingdom
Message 6680 - Posted: 11 Jul 2004, 22:18:33 UTC - in response to Message 6674.
Last modified: 11 Jul 2004, 22:18:49 UTC

> First, check and make sure that there is a file named mysql.h in your
> ~/boinc/db/ directory where you compiled the boinc program, as that's the file
> it keeps tripping on here. If that file is intact and accessable, possibly
> you don't have the mysql_devel software installed on your system, but I
> wouldn't think you would have gotten even this far without that (it should
> have found that during the ./configure for the boinc program).
>

this is my boinc/db folder:

sun:/tmp/boinc/db# ls
Makefile Makefile.in boinc_db.h db_base.C init_db schema.sql
Makefile.am boinc_db.C constraints.sql db_base.h mysql.h
sun:/tmp/boinc/db#


as you can see I have the mysql.h

Profile Kermit the Frog
Send message
Joined: 26 Nov 02
Posts: 15
Credit: 603,279
RAC: 0
United Kingdom
Message 6690 - Posted: 11 Jul 2004, 22:35:49 UTC - in response to Message 6680.

IT WORKED:

sun:/home/boinc# ./boinc_3.20_sparc64-unknown-linux-gnu
2004-07-11 23:22:32 [---] Starting BOINC client version 3.20 for sparc64-unknown-linux-gnu
2004-07-11 23:22:32 [SETI@home] Project prefs: no separate prefs for home; using your defaults
2004-07-11 23:22:32 [SETI@home] Found app_info.xml; using anonymous platform
2004-07-11 23:22:32 [---] Version Change Detected (3.19 -> 3.20); running cpu benchmarks
2004-07-11 23:22:32 [SETI@home] Host ID is 61817
2004-07-11 23:22:32 [---] No general preferences found - using BOINC defaults
2004-07-11 23:22:32 [---] Running CPU benchmarks
2004-07-11 23:22:32 [---] Suspending computation and network activity - running CPU benchmarks
2004-07-11 23:23:34 [---] Benchmark results:
2004-07-11 23:23:34 [---] Number of CPUs: 1
2004-07-11 23:23:34 [---] 171 double precision MIPS (Whetstone) per CPU
2004-07-11 23:23:34 [---] 458 integer MIPS (Dhrystone) per CPU
2004-07-11 23:23:34 [---] Finished CPU benchmarks
2004-07-11 23:23:35 [---] Resuming computation and network activity
2004-07-11 23:23:35 [---] Fewer active results than CPUs; requesting more work
2004-07-11 23:23:36 [---] Fewer active results than CPUs; requesting more work
2004-07-11 23:23:36 [SETI@home] Requesting 16518 seconds of work
2004-07-11 23:23:36 [SETI@home] Sending request to scheduler: http://setiboincdata.ssl.berkeley.edu/sah_cgi/cgi
2004-07-11 23:23:37 [SETI@home] Scheduler RPC to http://setiboincdata.ssl.berkeley.edu/sah_cgi/cgi succeeded
2004-07-11 23:23:37 [SETI@home] General preferences have been updated
2004-07-11 23:23:37 [---] General prefs: from unknown project http://setiathome.berkeley.edu./ (last modified 2004-07-10 11:10:32)
2004-07-11 23:23:37 [---] General prefs: no separate prefs for home; using your defaults
2004-07-11 23:23:37 [SETI@home] Project prefs: using separate prefs for home
2004-07-11 23:23:37 [SETI@home] Started download of 04ja04aa.7402.5905.361092.149




thanks ever so much dude for all your help.

Darren
Volunteer tester
Avatar
Send message
Joined: 2 Jul 99
Posts: 259
Credit: 277,051
RAC: 52
United States
Message 6692 - Posted: 11 Jul 2004, 22:38:26 UTC - in response to Message 6680.
Last modified: 11 Jul 2004, 22:39:16 UTC

> as you can see I have the mysql.h

What was the final thing that got it there?

Profile Kermit the Frog
Send message
Joined: 26 Nov 02
Posts: 15
Credit: 603,279
RAC: 0
United Kingdom
Message 6695 - Posted: 11 Jul 2004, 22:48:31 UTC - in response to Message 6692.

> What was the final thing that got it there?

Well, I've copied the mysql file into the db folder of the setiboinc, then runned again the make.
and here it is :-)


Darren
Volunteer tester
Avatar
Send message
Joined: 2 Jul 99
Posts: 259
Credit: 277,051
RAC: 52
United States
Message 6697 - Posted: 11 Jul 2004, 22:52:34 UTC - in response to Message 6695.

> > What was the final thing that got it there?
>
> Well, I've copied the mysql file into the db folder of the setiboinc, then
> runned again the make.
> and here it is :-)

Good, glad you got it going.


Questions and Answers : Unix/Linux : Unable to compile Seti on a Sun netra X1 running Debian ( UltraSparc IIe)

Copyright © 2014 University of California