Questions and Answers :
Unix/Linux :
Building on NetBSD 3.0 AMD64
Message board moderation
Author | Message |
---|---|
sideband@seti.usa ![]() Send message Joined: 19 Jun 99 Posts: 25 Credit: 2,774,864 RAC: 0 ![]() |
Trying to build the core BOINC client (haven't even attempted to tackle the SETI client software yet!) and I keep running into a small issue... Namely: if g++ -DHAVE_CONFIG_H -I. -I. -I.. -fPIC -DPIC -I../lib -I../api -I../db -I../client -I../tools -I../sched -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -pthread -include ../config.h -I/usr/pkg/include -fPIC -DPIC -I../lib -I../api -I../db -I../client -I../tools -I../sched -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -pthread -include ../config.h -g -O2 -I/usr/pkg/include -I/usr/pkg/include/openssl -pthread -MT sched_shmem.o -MD -MP -MF ".deps/sched_shmem.Tpo" -c -o sched_shmem.o sched_shmem.C; then mv -f ".deps/sched_shmem.Tpo" ".deps/sched_shmem.Po"; else rm -f ".deps/sched_shmem.Tpo"; exit 1; fi In file included from ../db/db_base.h:23, from ../db/boinc_db.h:33, from sched_shmem.C:28: ../db/mysql.h:77: error: conflicting types for `typedef long long unsigned int u_longlong_t' /usr/include/sys/types.h:129: error: previous declaration as `typedef __uint64_t u_longlong_t' *** Error code 1 Stop. Which of course, kills the build.. unless I build without the scheduler.. Not even sure if I need the scheduler. What's the scoop here, and how can I fix it. I'm really not much of a programmer. TIA, de AI8W, Chris 73 de AI8W, Chris Abdico Concussio Fidens Servo Libertas Semper! ![]() ![]() |
Dotsch ![]() Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 ![]() |
Chris, at the third party site (boinc.berkeley.edu/download_other.php) is a boinc client and seti app for NetBSD available. I had some troubles to compile the boinc client on NetBSD. But with the seti app I had a lot of troubles. The BSD libs has some problems with the math libs, which cause some heave differences (up to 10 to 500 times higher than in the reference result) in the computed results. With a lot of hours of testing I get it to run, and the science results are all vailid. But now I have the same problem on NetBSD and OpenBSD on SPARC. All parameters and tricks I used for the i386 platfrom has no success. A solution is not in sight in the moment... In cause of this problems, I recommend every OpenBSD i386 and NetBSD i386 to use the binaries on the third party site Lars |
sideband@seti.usa ![]() Send message Joined: 19 Jun 99 Posts: 25 Credit: 2,774,864 RAC: 0 ![]() |
Chris, at the third party site (boinc.berkeley.edu/download_other.php) is a boinc client and seti app for NetBSD available. Lars.. There isn't one available (yet) for NetBSD 3.0 on AMD64.. and the i386 job won't run on my system.. So what's a guy to do? 73 de AI8W, Chris Abdico Concussio Fidens Servo Libertas Semper! ![]() ![]() |
Dotsch ![]() Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 ![]() |
Lars.. There isn't one available (yet) for NetBSD 3.0 on AMD64.. and the i386 job won't run on my system.. So what's a guy to do? Do you mean the NetBSD binaries from Stefan Urbats site ? - Why don't they run on your system ? - What errors produce the binaries ? |
sideband@seti.usa ![]() Send message Joined: 19 Jun 99 Posts: 25 Credit: 2,774,864 RAC: 0 ![]() |
Lars.. There isn't one available (yet) for NetBSD 3.0 on AMD64.. and the i386 job won't run on my system.. So what's a guy to do? Binary file not executable. It's a 64 bit system, with 64-bit libs and kernel... The sytem is completely 64 bit. The 32 bit binaries don't want to run. Which was why I was trying to build a 64 bit client. 73 de AI8W, Chris Abdico Concussio Fidens Servo Libertas Semper! ![]() ![]() |
Dotsch ![]() Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 ![]() |
Is there a way, to let 32 bit and 64 bit programms run on NetBSD 64 Bit, like on the other unixes ? - If it is posible, i recommend it to you. If this would not will have success, you need to compile it. But I can not guarante you that the seti app will run successfull. I have sill not found any solution for the incorect math problem. I have seen on your output from the compile, that you are compile the whole boinc, including the servers, too. You can go into the different directories(api, lib and client), and start the make within. Which gcc is on your system ? - I have still a lot of problems with NetBSD 3.0 on SPARC with gcc 3.3. With the gcc 3.4.5 looks better, but the seti app is still uncompilable... |
sideband@seti.usa ![]() Send message Joined: 19 Jun 99 Posts: 25 Credit: 2,774,864 RAC: 0 ![]() |
Lars: For clarity's sake, here are the steps I took when attempting to run the NetBSD x86 client you built.. 1. download from site to /home/chris 2. tar -xvzpf [client name] 3. cd opt/boinc 4. attempt to execute the client with the following results: -bash-3.00$ pwd /home/chris/opt/boinc -bash-3.00$ ./boinc_client --attach_project http://setiathome.berkeley.edu/ [mykeyherewithoutthebrackets] -bash: ./boinc_client: cannot execute binary file -bash-3.00$ I haven't dug into how to run 32 bit apps on this 64 bit system.. but it certainly would be nice to be able to do that. Other info for you: -bash-3.00$ uname -a NetBSD rosie 3.0 NetBSD 3.0 (GENERIC) #0: Sun Dec 18 21:51:37 UTC 2005 builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/amd64/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64 Again, this is not the x86 port. They're not directly compatible. This is the AMD64 port (Opteron, Sempron64, and Athlon64 compatible). The other option would be to have you email to me (ai8w at ameritech dot net) the changes you made to the client and boinc sources to get them to build and run correctly, and do it myself. I could then tarball up the built binaries once I get it built and working on NetBSD 3.0 AMD64 (this is NOT the x86 release... it's quite different!) and mail them back to you. I'm NOT a programmer.. shell scripting is about as deep as I get anymore.. but I'm willing to dig and learn and bang away until it's right... or until someone does it better than me, and before me. Let me know how you'd like to proceed, because I have quite a few machines waiting on this particular binary. Thanks. 73 de AI8W, Chris Abdico Concussio Fidens Servo Libertas Semper! ![]() ![]() |
sideband@seti.usa ![]() Send message Joined: 19 Jun 99 Posts: 25 Credit: 2,774,864 RAC: 0 ![]() |
Some more info.. from the configure script, after I run ./_autoconf: ./configure --without-server > configure.log 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: see the Autoconf documentation configure: WARNING: sys/mount.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/mount.h: proceeding with the preprocessor's result configure: WARNING: sys/mount.h: in the future, the compiler will take precedence configure: WARNING: ## -------------------------------- ## configure: WARNING: ## Report this to the BOINC lists. ## configure: WARNING: ## -------------------------------- ## configure: WARNING: sys/sysctl.h: present but cannot be compiled configure: WARNING: sys/sysctl.h: check for missing prerequisite headers? configure: WARNING: sys/sysctl.h: see the Autoconf documentation configure: WARNING: sys/sysctl.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/sysctl.h: proceeding with the preprocessor's result configure: WARNING: sys/sysctl.h: in the future, the compiler will take precedence configure: WARNING: ## -------------------------------- ## configure: WARNING: ## Report this to the BOINC lists. ## configure: WARNING: ## -------------------------------- ## I don't know how to fix this. Might this have anything to do with my previously posted error? Is it important? Who needs to be told? 73 de AI8W, Chris Abdico Concussio Fidens Servo Libertas Semper! ![]() ![]() |
Dotsch ![]() Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 ![]() |
The other option would be to have you email to me (ai8w at ameritech dot net) the changes you made to the client and boinc sources to get them to build and run correctly, and do it myself. I could then tarball up the built binaries once I get it built and working on NetBSD 3.0 AMD64 (this is NOT the x86 release... it's quite different!) and mail them back to you. If you whish, I can mail you the entire boinc and seti sources (9 MBs) with my changes, or the files I have changed to get it run. |
sideband@seti.usa ![]() Send message Joined: 19 Jun 99 Posts: 25 Credit: 2,774,864 RAC: 0 ![]() |
If you whish, I can mail you the entire boinc and seti sources (9 MBs) with my changes, or the files I have changed to get it run. That would be good... Then I could see what was done, and maybe learn something. I'd appreciate it. Thanks 73 de AI8W, Chris Abdico Concussio Fidens Servo Libertas Semper! ![]() ![]() |
Dotsch ![]() Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 ![]() |
I have written you a email. Did you not recived it ? |
sideband@seti.usa ![]() Send message Joined: 19 Jun 99 Posts: 25 Credit: 2,774,864 RAC: 0 ![]() |
I have written you a email. Did you not recived it ? Not as of yet, no, I have not. As far as the AMD64 port for NetBSD 3.0... I've given up. I put FC4 x86_64 on the machine, reconfigured some things (to get the mail and dns servers working again) and am running the Linux x86_64 third party client. Thanks for all the help. 73 de AI8W, Chris Abdico Concussio Fidens Servo Libertas Semper! ![]() ![]() |
Dotsch ![]() Send message Joined: 9 Jun 99 Posts: 2422 Credit: 919,393 RAC: 0 ![]() |
I have written you a email. Did you not recived it ? I have written you a mail again from a other email account. - Are my mails to you blocked by your spamfilter or provider ? |
©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.