Message boards :
Number crunching :
Volunteer for SETI@home porting to x86 Android platform required
Message board moderation
Author | Message |
---|---|
Raistmer Send message Joined: 16 Jun 01 Posts: 6325 Credit: 106,370,077 RAC: 121 |
If you want to help SETI project by building MultiBeam or AstroPulse applications for Android x86 platform (new devices on Intel Atom and other gadgets) please let us know. SETI code base is open for Anonymous access and available here: https://setisvn.ssl.berkeley.edu/svn/seti_boinc/ SETI apps news We're not gonna fight them. We're gonna transcend them. |
Raistmer Send message Joined: 16 Jun 01 Posts: 6325 Credit: 106,370,077 RAC: 121 |
I'm trying to do Android build in Cygwin + Intel INDE environment. After gew attempts configure ran OK and make began. But compilation fails on this statement: make all-recursive make[1]: Entering directory '/home/R/SETI_android/setiathome-7.0/seti_boinc' Making all in client make[2]: Entering directory '/home/R/SETI_android/setiathome-7.0/seti_boinc/clie nt' if /cygdrive/c/Intel/INDE/Framework/NDK/toolchains/arm-linux-androideabi-4.8/pre built/windows-x86_64/bin//arm-linux-androideabi-g++ --include ../sah_config.h -D HAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -D_POSIX_C_ SOURCE=1 --sysroot=c:\Intel\INDE\Framework\NDK\platforms\android-4\arch-arm -Wal l -O3 -fomit-frame-pointer -DANDROID=1 -Ic:\Intel\INDE\Framework\NDK/sources/cxx -stl/gnu-libstdc++/4.8/include -Ic:\Intel\INDE\Framework\NDK/sources/cxx-stl/gnu -libstdc++/4.8/libs/armeabi/include -Ic:\cygwin64\home\R\SETI_android\boinc-api- 7.0.36/include -Ic:\Intel\INDE\Framework\NDK\platforms\android-4\arch-arm/usr/in clude -Ic:\cygwin64\home\R\SETI_android\boinc-api-7.0.36/include -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I../db -I/ -I//api -I//lib -I//sched -I//db -I. ./db -I/ -I//api -I//lib -I//sched -I//db -O2 -Wall -MT seti_boinc-main.o -MD - MP -MF ".deps/seti_boinc-main.Tpo" -c -o seti_boinc-main.o main.cpp; then mv -f ".deps/seti_boinc-main.Tpo" ".deps/seti_boinc-main.Po"; else rm -f ".deps/seti_b oinc-main.Tpo"; exit 1; fi main.cpp:46:18: fatal error: cstdio: No such file or directory #include <cstdio> ^ compilation terminated. Makefile:1692: recipe for target 'seti_boinc-main.o' failed make[2]: *** [seti_boinc-main.o] Error 1 Need to say that cstdio is in include path: Directory of c:\Intel\INDE\Framework\NDK\sources\cxx-stl\gnu-libstdc++\4.8\include 06/28/2014 05:46 AM <DIR> . 06/28/2014 05:46 AM <DIR> .. 01/22/2014 12:48 PM 2,518 algorithm 01/22/2014 12:48 PM 9,495 array 01/22/2014 12:48 PM 34,101 atomic 06/28/2014 05:45 AM <DIR> backward 06/28/2014 05:46 AM <DIR> bits 01/22/2014 12:48 PM 45,616 bitset 01/22/2014 12:48 PM 1,620 cassert 01/22/2014 12:48 PM 1,318 ccomplex 01/22/2014 12:48 PM 2,409 cctype 01/22/2014 12:48 PM 1,742 cerrno 01/22/2014 12:48 PM 2,051 cfenv 01/22/2014 12:48 PM 1,861 cfloat 01/22/2014 12:48 PM 23,596 chrono 01/22/2014 12:48 PM 2,157 cinttypes 01/22/2014 12:48 PM 1,490 ciso646 01/22/2014 12:48 PM 1,885 climits 01/22/2014 12:48 PM 1,905 clocale 01/22/2014 12:48 PM 42,445 cmath 01/22/2014 12:48 PM 52,517 complex 01/22/2014 12:48 PM 1,461 complex.h 01/22/2014 12:48 PM 7,992 condition_variable 01/22/2014 12:48 PM 1,949 csetjmp 01/22/2014 12:48 PM 1,855 csignal 01/22/2014 12:48 PM 1,407 cstdalign 01/22/2014 12:48 PM 1,844 cstdarg 01/22/2014 12:48 PM 1,401 cstdbool 01/22/2014 12:48 PM 1,603 cstddef 01/22/2014 12:48 PM 2,167 cstdint 01/22/2014 12:48 PM 4,262 cstdio 01/22/2014 12:48 PM 6,157 cstdlib Maybe someone familiar with GNU toolset could suggest where issue could hide? SETI apps news We're not gonna fight them. We're gonna transcend them. |
ivan Send message Joined: 5 Mar 01 Posts: 783 Credit: 348,560,338 RAC: 223 |
-Ic:\Intel\INDE\Framework\NDK/sources/cxx-stl/gnu-libstdc++/4.8/include Forward slashes rather than backward sloshes? Or, perhaps more likely, the DOS C: idiom; IME cygwin only groks that for the cd command. Try changing all your C:/s to /cygdrive/c/. |
Raistmer Send message Joined: 16 Jun 01 Posts: 6325 Credit: 106,370,077 RAC: 121 |
-Ic:\Intel\INDE\Framework\NDK/sources/cxx-stl/gnu-libstdc++/4.8/include That path would fail on compilation ability checkng already. Note that NDK used from Intel INDE, that is, windows-compiled toolset that expects usual windows-style directory names (Cygwin not included in INDE at all, I use Cygwin to be able to use configure scripts). I'll check again regarding slashes but perhaps something another here. (and already checked if all would be "\", w/o mix - didn't help). [Perhaps worth to add both variants together] SETI apps news We're not gonna fight them. We're gonna transcend them. |
Raistmer Send message Joined: 16 Jun 01 Posts: 6325 Credit: 106,370,077 RAC: 121 |
Ok, tried to supply both paths: if /cygdrive/c/Intel/INDE/Framework/NDK/toolchains/arm-linux-androideabi-4.8/pre built/windows-x86_64/bin//arm-linux-androideabi-g++ --include ../sah_config.h -D HAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -D_POSIX_C_ SOURCE=1 --sysroot=c:\Intel\INDE\Framework\NDK\platforms\android-4\arch-arm -Wal l -O3 -fomit-frame-pointer -DANDROID=1 -I/cygdrive/c/Intel/INDE/Framework/NDK/so urces/cxx-stl/gnu-libstdc++/4.8/include -Ic:\Intel\INDE\Framework\NDK\sources\cx x-stl\gnu-libstdc++\4.8\include -Ic:\Intel\INDE\Framework\NDK/sources/cxx-stl/gn u-libstdc++/4.8/libs/armeabi/include -Ic:\cygwin64\home\R\SETI_android\boinc-api -7.0.36/include -Ic:\Intel\INDE\Framework\NDK\platforms\android-4\arch-arm/usr/i nclude -Ic:\cygwin64\home\R\SETI_android\boinc-api-7.0.36/include -DHAVE_CONFIG_ H -DTEXT_UI -DNDEBUG -DCLIENT -I../db -I/ -I//api -I//lib -I//sched -I//db -I ../db -I/ -I//api -I//lib -I//sched -I//db -O2 -Wall -MT seti_boinc-main.o -MD -MP -MF ".deps/seti_boinc-main.Tpo" -c -o seti_boinc-main.o main.cpp; then mv -f ".deps/seti_boinc-main.Tpo" ".deps/seti_boinc-main.Po"; else rm -f ".deps/seti_ boinc-main.Tpo"; exit 1; fi main.cpp:46:18: fatal error: cstdio: No such file or directory #include <cstdio> ^ compilation terminated. Makefile:1692: recipe for target 'seti_boinc-main.o' failed Maybe some other suggestions? EDIT: and leaving only POSIX-style path leads to the same error. SETI apps news We're not gonna fight them. We're gonna transcend them. |
Raistmer Send message Joined: 16 Jun 01 Posts: 6325 Credit: 106,370,077 RAC: 121 |
Added ' ' to paths and got: if /cygdrive/c/Intel/INDE/Framework/NDK/toolchains/arm-linux-androideabi-4.8/pre built/windows-x86_64/bin//arm-linux-androideabi-g++ --include ../sah_config.h -D HAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -D_POSIX_C_ SOURCE=1 --sysroot=c:\Intel\INDE\Framework\NDK\platforms\android-4\arch-arm -Wal l -O3 -fomit-frame-pointer -DANDROID=1 -I'c:\Intel\INDE\Framework\NDK\sources\cx x-stl\gnu-libstdc++\4.8\include' -I'/cygdrive/c/Intel/INDE/Framework/NDK/sources /cxx-stl/gnu-libstdc++/4.8/include' -Ic:\Intel\INDE\Framework\NDK/sources/cxx-st l/gnu-libstdc++/4.8/libs/armeabi/include -Ic:\cygwin64\home\R\SETI_android\boinc -api-7.0.36/include -Ic:\Intel\INDE\Framework\NDK\platforms\android-4\arch-arm/u sr/include -Ic:\cygwin64\home\R\SETI_android\boinc-api-7.0.36/include -DHAVE_CON FIG_H -DTEXT_UI -DNDEBUG -DCLIENT -I../db -I/ -I//api -I//lib -I//sched -I//db -I../db -I/ -I//api -I//lib -I//sched -I//db -O2 -Wall -MT seti_boinc-main.o -MD -MP -MF ".deps/seti_boinc-main.Tpo" -c -o seti_boinc-main.o main.cpp; then m v -f ".deps/seti_boinc-main.Tpo" ".deps/seti_boinc-main.Po"; else rm -f ".deps/s eti_boinc-main.Tpo"; exit 1; fi In file included from main.cpp:46:0: c:\Intel\INDE\Framework\NDK\sources\cxx-stl\gnu-libstdc++\4.8\include/cstdio:41: 28: fatal error: bits/c++config.h: No such file or directory #include <bits/c++config.h> ^ compilation terminated. Looks like "++" in directory name required additional escaping. And now error is more direct - there is no such file in such directory indeed. For the other side there are really lots of cstdio includes available: C:\Intel\INDE\Framework\NDK\sources\cxx-stl\llvm-libc++\libcxx\include\cstdio C:\Intel\INDE\Framework\NDK\sources\cxx-stl\gnu-libstdc++\4.8\include\cstdio C:\Intel\INDE\Framework\NDK\sources\cxx-stl\gnu-libstdc++\4.8\include\tr1\cstdio C:\Intel\INDE\Framework\NDK\sources\cxx-stl\gnu-libstdc++\4.6\include\cstdio C:\Intel\INDE\Framework\NDK\sources\cxx-stl\gnu-libstdc++\4.6\include\tr1\cstdio C:\Intel\INDE\Framework\NDK\sources\cxx-stl\gabi++\include\cstdio C:\Intel\INDE\Framework\NDK\sources\cxx-stl\stlport\stlport\cstdio C:\Intel\INDE\Framework\NDK\sources\cxx-stl\system\include\cstdio Maybe I picked up wrong version?... SETI apps news We're not gonna fight them. We're gonna transcend them. |
Raistmer Send message Joined: 16 Jun 01 Posts: 6325 Credit: 106,370,077 RAC: 121 |
Paths set, now compilation errors: oinc-analyzeFuncs.o `test -f 'analyzeFuncs.cpp' || echo './'`analyzeFuncs.cpp analyzeFuncs.cpp:675:2: error: #error Analysis needs to be modified for your FFT choice. #error Analysis needs to be modified for your FFT choice. ^ analyzeFuncs.cpp:39:46: error: expected ',' or ';' before 'PACKAGE_STRING' const char *BOINC_PACKAGE_STRING="libboinc: "PACKAGE_STRING; ^ analyzeFuncs.cpp:96:33: note: #pragma message: ----ooura---- #pragma message ("----ooura----") matszpk added both FFTS and PFFFT to original MB sources - now need to establish what library actually used in working code... SETI apps news We're not gonna fight them. We're gonna transcend them. |
©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.