Author | Message |
Janus Volunteer moderator Project administrator

Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8
|
These tests will test out our new and improved wrapper (client) code.
The new stuff is built on the very latest BOINC library and should have very heavily improved stability. Many of the bugs that we have reported back to the BOINC developers appear to have been fixed now. Also, BOINC now includes a similar (but less sophisticated) wrapper in their CVS - a quite nice sign that wrapper projects like BURP are being taken seriously.
- The wrapper and the renderer are now tied together in the same process group, so if the wrapper dies the renderer should die right away too - instead of continueing in the background until it is done rendering.
- No more segmentation violations during progress reporting if the wrapper is run in the debug environment.
- Preparations for process polling; if the renderer dies unexpectedly it is now possible to add code to detect this and exit the wrapper right away instead of waiting for the timeout (which is about 30 mins). However, this extra code is not enabled yet.
- Less heartbeat shutdown issues between core and wrapper.
- A buckload of Cygwin fixes
- Complete rewrite of the compile system, we are now crosscompiling the linux source for Windows through Cygwin instead of using Cygwin to compile the Windows source. It will be kind of interesting to see if this actually works outside the closed testbed where it has been running for the past few days.
Since this test is simply ment to test the wrapper we will be using a copy of the old Blender version.
Updates on how things are progressing will be posted in this thread - please feel free to post any issues you\'ve got if these are directly related to this update.
|
|
Janus Volunteer moderator Project administrator

Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8
|
Progress so far:
At the moment the master server is blasting out some of the recent file changes to the mirrors. This includes moving around a couple of files and enabling/disabling some of the mirrors.
[Edit:] The cleanup system is currently cleaning the Web/DB drive for old uploaded files (17GB of them).
|
|
PovAddict

Send message Joined: 25 Apr 05 Posts: 347 Credit: 4,618 RAC: 0
|
Tried to attach, but I get Project is down for maintenance. Hope you ./bin/start it soon :)
|
|
Janus Volunteer moderator Project administrator

Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8
|
Still waiting for the master mirrors to catch up with the newest files so that it is possible to start the tests. Should be possible to sign up now, though. If it takes much longer I guess we\'ll just have to wait untill tomorrow morning.
|
|
LOGAN
Send message Joined: 12 Jun 06 Posts: 39 Credit: 913 RAC: 0
|
I hope it all works out. I have BURP running again since a couple of days. Didn\'t notice any activity yet :)
|
|
PovAddict

Send message Joined: 25 Apr 05 Posts: 347 Credit: 4,618 RAC: 0
|
I went to the status page and noticed all sessions were gone! This frightened me a little, as it could have been a wrong DELETE MySQL command or something. Now I see 201: The little Ball-Game was added. Sounds like good news :)
|
|
Janus Volunteer moderator Project administrator

Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8
|
Hm... yeah - the client didn\'t quite act as expected. It freezes right after having unpacked everything and launched Blender.
I\'ll look into this tomorrow.
[Edit: It seems to be related to the UPX packer that we use. Only the packed version fails the tests. I\'ll send out an unpacked version to see if this is true]
|
|
Janus Volunteer moderator Project administrator

Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8
|
It was indeed the packer that caused the executable to fail. It now seems to run, but since we are running the Linux client on Windows there\'s a few issues with communication. In other words the client currently doesn\'t want to talk to BOINC so there\'s no %progress updates and no CPU time recorded.
I\'m currently discussing this with the BOINC devs since the solution may require some changes to the BOINC application library in order to fully support compiling in Cygwin.
|
|
DangerNerd Project donor
Send message Joined: 31 Mar 06 Posts: 127 Credit: 512,997 RAC: 0
|
Thanks for keeping us all updated. Waiting with baited breath, for new versions and some pixels to render. :-)
I really appreciate your work on this.
Our Advice is to support all useful BOINC projects. Smart people needed to give advice to those who seek answers: Give or Get Free Advice Here
|
|
mpan3
Send message Joined: 24 Apr 06 Posts: 64 Credit: 29,899 RAC: 0
|
Same here. Can\'t wait to get started putting my computer to work.
|
|
Janus Volunteer moderator Project administrator

Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8
|
Discussion about BOINC and Cygwin is currently going on with the devs. It has been decided to make it high priority to enable BOINC to fully support compiling under Cygwin.
This is, however, going to delay further testing a bit (since there\'s no point in sending out workunits that are bound to fail or report 0 CPU time).
|
|
PovAddict

Send message Joined: 25 Apr 05 Posts: 347 Credit: 4,618 RAC: 0
|
I have successfully compiled my applications under MinGW, you may give it a try. By the way, Cygwin is GPL so if you link to cygwin1.dll, your application must be GPL or compatible (as far as I know, I may be wrong).
By the way #2: I downloaded from one of your mirrors the input file for session 223 (curiosity killed the cat, meow). 1 hour to render 160x120 with no antialiasing. Not big enough for me to know what the image is. Isn\'t it incredible how slow 201 bytes can be? :) When/if I get Renderfarm@Home project running, may I use this scene to test? Sure I have others, I just would like to render this image at 1280x1024.
|
|
Janus Volunteer moderator Project administrator

Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8
|
I have successfully compiled my applications under MinGW, you may give it a try.
If you could provide a super small tutorial this may be taken into consideration as well. MingW and Bloodshed has been mentioned in the compiler suport discussion too.
By the way, Cygwin is GPL
Most of BURP is opensource too. Still figuring out which license to use but it will be GPL or similar.
By the way #2: I downloaded from one of your mirrors the input file for session 223 (curiosity killed the cat, meow). 1 hour to render 160x120 with no antialiasing. Not big enough for me to know what the image is. Isn\'t it incredible how slow 201 bytes can be? :) When/if I get Renderfarm@Home project running, may I use this scene to test? Sure I have others, I just would like to render this image at 1280x1024.
This beautiful image was first posted here as part of The Short Code Contest, March 04 by Mark Weyer and is quite an example of how little code it takes to generate art.
|
|
PovAddict

Send message Joined: 25 Apr 05 Posts: 347 Credit: 4,618 RAC: 0
|
I have successfully compiled my applications under MinGW, you may give it a try.
If you could provide a super small tutorial this may be taken into consideration as well. MingW and Bloodshed has been mentioned in the compiler suport discussion too.
I started using Bloodshed Dev-C++ based on the project file they use on SETI. Some days later I modified the Makefile Dev-C++ generated and now I use just MinGW/MSYS (and gVim!). On that .dev file, BOINC library stuff is compiled and linked into the executable as if its .cpp files were part of the program, but I recently found about \'ar\' and made a libboinc.a, so now \"make clean all\" is much faster :)
|
|
Janus Volunteer moderator Project administrator

Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8
|
All I seem to be able to get when trying out the old .dev file with bloodshed is that it is missing config.h...
[Edit:] Hm... manually editting the .dev seems to do something...
Could you possibly post your edited .dev file?
|
|
PovAddict

Send message Joined: 25 Apr 05 Posts: 347 Credit: 4,618 RAC: 0
|
All I seem to be able to get when trying out the old .dev file with bloodshed is that it is missing config.h...
[Edit:] Hm... manually editting the .dev seems to do something...
Could you possibly post your edited .dev file?
I\'ll see if I still have it; I\'m mainly using MSYS now, with a makefile based on the one Dev-C++ generated.
Here\'s the simple Hello BOINC world application with the .dev file. Actual program is a bit modified, loop is inside another so it takes much longer (I think it\'s too much XD). Maybe you need to change the paths for the BOINC library. I hope it works, I didn\'t test it now, maybe if last time I was poking around with it I might have broken it :P
|
|
Janus Volunteer moderator Project administrator

Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8
|
All I seem to be able to get when trying out the old .dev file with bloodshed is that it is missing config.h...
[Edit:] Hm... manually editting the .dev seems to do something...
Could you possibly post your edited .dev file?
I\'ll see if I still have it; I\'m mainly using MSYS now, with a makefile based on the one Dev-C++ generated.
Here\'s the simple Hello BOINC world application with the .dev file. Actual program is a bit modified, loop is inside another so it takes much longer (I think it\'s too much XD). Maybe you need to change the paths for the BOINC library. I hope it works, I didn\'t test it now, maybe if last time I was poking around with it I might have broken it :P
I still get pretty much the same kind of errors:
Compiler: Default compiler
Building Makefile: \"D:\\projekter\\hello\\Makefile.win\"
Executing make clean
rm -f ./Release/boinc_api.o ./Release/util.o ./Release/app_ipc.o ./Release/diagnostics.o ./Release/filesys.o ./Release/hostinfo.o ./Release/md5.o ./Release/md5_file.o ./Release/mem_usage.o ./Release/mfile.o ./Release/miofile.o ./Release/parse.o ./Release/prefs.o ./Release/proxy_info.o ./Release/shmem.o ./Release/stackwalker_win.o ./Release/hello.o ./Release/_private.res hello5.05_windows_intelx86.exe
g++.exe -D__DEBUG__ -c ../boinc/api/boinc_api.C -o ./Release/boinc_api.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
../boinc/api/boinc_api.C: In function `UINT timer_thread(void*)\':
../boinc/api/boinc_api.C:732: warning: converting to non-pointer type `DWORD\' from NULL
g++.exe -D__DEBUG__ -c ../boinc/lib/util.C -o ./Release/util.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
../boinc/lib/util.C: In function `char* windows_error_string(char*, int)\':
../boinc/lib/util.C:699: warning: unsigned int format, DWORD arg (arg 4)
../boinc/lib/util.C: In function `char* windows_format_error_string(long unsigned int, char*, int)\':
../boinc/lib/util.C:747: warning: unsigned int format, long unsigned int arg (arg 4)
g++.exe -D__DEBUG__ -c ../boinc/lib/app_ipc.C -o ./Release/app_ipc.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
g++.exe -D__DEBUG__ -c ../boinc/lib/diagnostics.C -o ./Release/diagnostics.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
../boinc/lib/diagnostics.C:619: warning: unused parameter \'pszFormat\'
g++.exe -D__DEBUG__ -c ../boinc/lib/filesys.C -o ./Release/filesys.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
../boinc/lib/filesys.C:494: warning: unused parameter \'path\'
g++.exe -D__DEBUG__ -c ../boinc/lib/hostinfo.C -o ./Release/hostinfo.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
g++.exe -D__DEBUG__ -c ../boinc/lib/md5.c -o ./Release/md5.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
g++.exe -D__DEBUG__ -c ../boinc/lib/md5_file.C -o ./Release/md5_file.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
g++.exe -D__DEBUG__ -c ../boinc/lib/mem_usage.C -o ./Release/mem_usage.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
g++.exe -D__DEBUG__ -c ../boinc/lib/mfile.C -o ./Release/mfile.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
g++.exe -D__DEBUG__ -c ../boinc/lib/miofile.C -o ./Release/miofile.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
g++.exe -D__DEBUG__ -c ../boinc/lib/parse.C -o ./Release/parse.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
g++.exe -D__DEBUG__ -c ../boinc/lib/prefs.C -o ./Release/prefs.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
g++.exe -D__DEBUG__ -c ../boinc/lib/proxy_info.C -o ./Release/proxy_info.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
g++.exe -D__DEBUG__ -c ../boinc/lib/shmem.C -o ./Release/shmem.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
g++.exe -D__DEBUG__ -c ../boinc/lib/stackwalker_win.cpp -o ./Release/stackwalker_win.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
../boinc/lib/stackwalker_win.cpp:89: warning: missing initializer for member `_CRITICAL_SECTION::LockCount\'
../boinc/lib/stackwalker_win.cpp:89: warning: missing initializer for member `_CRITICAL_SECTION::RecursionCount\'
../boinc/lib/stackwalker_win.cpp:89: warning: missing initializer for member `_CRITICAL_SECTION::OwningThread\'
../boinc/lib/stackwalker_win.cpp:89: warning: missing initializer for member `_CRITICAL_SECTION::LockSemaphore\'
../boinc/lib/stackwalker_win.cpp:89: warning: missing initializer for member `_CRITICAL_SECTION::SpinCount\'
../boinc/lib/stackwalker_win.cpp: In function `BOOL SymbolServerCallbackProc(UINT_PTR, ULONG64, ULONG64)\':
../boinc/lib/stackwalker_win.cpp:131: warning: cast to pointer from integer of different size
../boinc/lib/stackwalker_win.cpp:149: warning: cast to pointer from integer of different size
../boinc/lib/stackwalker_win.cpp: In function `BOOL SymRegisterCallbackProc(void*, ULONG, ULONG64, ULONG64)\':
../boinc/lib/stackwalker_win.cpp:164: warning: cast to pointer from integer of different size
../boinc/lib/stackwalker_win.cpp:182: warning: cast to pointer from integer of different size
../boinc/lib/stackwalker_win.cpp: In function `BOOL SymEnumerateModulesProc(CHAR*, DWORD64, void*)\':
../boinc/lib/stackwalker_win.cpp:293: warning: comparison between signed and unsigned integer expressions
../boinc/lib/stackwalker_win.cpp:307: warning: comparison between signed and unsigned integer expressions
../boinc/lib/stackwalker_win.cpp:321: warning: comparison between signed and unsigned integer expressions
../boinc/lib/stackwalker_win.cpp:333: warning: comparison between signed and unsigned integer expressions
../boinc/lib/stackwalker_win.cpp: In function `int DebuggerInitialize(const CHAR*, const CHAR*, BOOL, const CHAR*)\':
../boinc/lib/stackwalker_win.cpp:434: warning: cast from pointer to integer of different size
../boinc/lib/stackwalker_win.cpp:441: warning: cast from pointer to integer of different size
../boinc/lib/stackwalker_win.cpp:586: warning: converting to non-pointer type `DWORD\' from NULL
../boinc/lib/stackwalker_win.cpp:604: warning: cast from pointer to integer of different size
../boinc/lib/stackwalker_win.cpp: In function `void ShowStackRM(void*, CONTEXT&)\':
../boinc/lib/stackwalker_win.cpp:890: warning: converting to non-pointer type `DWORD64\' from NULL
../boinc/lib/stackwalker_win.cpp:891: warning: converting to non-pointer type `DWORD64\' from NULL
../boinc/lib/stackwalker_win.cpp:892: warning: converting to non-pointer type `DWORD64\' from NULL
../boinc/lib/stackwalker_win.cpp:893: warning: converting to non-pointer type `DWORD64\' from NULL
g++.exe -D__DEBUG__ -c hello.C -o ./Release/hello.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" -I\"Release\" -I\"../boinc\" -I\"../boinc/db\" -I\"../boinc\" -I\"../boinc/lib\" -I\"../boinc/api\" --include ../boinc/version.h -DWIN32 -D_WIN32 -D_MT -DNDEBUG -D_WINDOWS -DBOINC -DCLIENT -DNODB -D_CONSOLE -Wall -mtune=pentium-m -W0 -fexceptions -g3 -march=i386
hello.C:40: warning: unused parameter \'argc\'
hello.C:40: warning: unused parameter \'argv\'
hello.C:115: warning: unused parameter \'width\'
hello.C:115: warning: unused parameter \'height\'
hello.C:116: warning: unused parameter \'xs\'
hello.C:116: warning: unused parameter \'ys\'
hello.C:116: warning: unused parameter \'time_of_day\'
hello.C:118: warning: unused parameter \'x\'
hello.C:118: warning: unused parameter \'y\'
hello.C:118: warning: unused parameter \'left\'
hello.C:118: warning: unused parameter \'middle\'
hello.C:118: warning: unused parameter \'right\'
hello.C:119: warning: unused parameter \'x\'
hello.C:119: warning: unused parameter \'y\'
hello.C:119: warning: unused parameter \'which\'
hello.C:119: warning: unused parameter \'is_down\'
hello.C:134: warning: unused parameter \'hInst\'
hello.C:134: warning: unused parameter \'hPrevInst\'
hello.C:134: warning: unused parameter \'Args\'
hello.C:134: warning: unused parameter \'WinMode\'
windres.exe -i _private.rc --input-format=rc -o ./Release/_private.res -O coff
g++.exe -D__DEBUG__ ./Release/boinc_api.o ./Release/util.o ./Release/app_ipc.o ./Release/diagnostics.o ./Release/filesys.o ./Release/hostinfo.o ./Release/md5.o ./Release/md5_file.o ./Release/mem_usage.o ./Release/mfile.o ./Release/miofile.o ./Release/parse.o ./Release/prefs.o ./Release/proxy_info.o ./Release/shmem.o ./Release/stackwalker_win.o ./Release/hello.o ./Release/_private.res -o \"hello5.05_windows_intelx86.exe\" -L\"C:/Dev-Cpp/lib\" -W0 -L\"Release\" -mwindows -lwinmm -g3 -march=i386
./Release/boinc_api.o(.text+0x16d4): In function `Z12timer_threadPv\':
D:/projekter/hello/../boinc/api/boinc_api.C:735: undefined reference to `diagnostics_set_thread_name\'
./Release/boinc_api.o(.text+0x17f7): In function `Z16set_worker_timerv\':
D:/projekter/hello/../boinc/api/boinc_api.C:819: undefined reference to `diagnostics_set_thread_name\'
./Release/boinc_api.o(.text+0x17fc):D:/projekter/hello/../boinc/api/boinc_api.C:820: undefined reference to `diagnostics_set_thread_worker\'
./Release/diagnostics.o(.text+0x145): In function `boinc_install_signal_handlers\':
D:/projekter/hello/../boinc/lib/diagnostics.C:139: undefined reference to `boinc_catch_signal@4\'
./Release/diagnostics.o(.text+0x4ce): In function `diagnostics_init\':
D:/projekter/hello/../boinc/lib/diagnostics.C:261: undefined reference to `diagnostics_init_thread_list\'
./Release/diagnostics.o(.text+0x4d3):D:/projekter/hello/../boinc/lib/diagnostics.C:263: undefined reference to `diagnostics_init_unhandled_exception_monitor\'
./Release/diagnostics.o(.text+0x4d8):D:/projekter/hello/../boinc/lib/diagnostics.C:265: undefined reference to `diagnostics_init_message_monitor\'
./Release/diagnostics.o(.text+0x823): In function `diagnostics_finish\':
D:/projekter/hello/../boinc/lib/diagnostics.C:324: undefined reference to `diagnostics_finish_message_monitor\'
./Release/diagnostics.o(.text+0x828):D:/projekter/hello/../boinc/lib/diagnostics.C:327: undefined reference to `diagnostics_finish_unhandled_exception_monitor\'
./Release/diagnostics.o(.text+0x82d):D:/projekter/hello/../boinc/lib/diagnostics.C:331: undefined reference to `diagnostics_finish_thread_list\'
collect2: ld returned 1 exit status
make.exe: *** [hello5.05_windows_intelx86.exe] Error 1
Execution terminated
|
|
PovAddict

Send message Joined: 25 Apr 05 Posts: 347 Credit: 4,618 RAC: 0
|
I still get pretty much the same kind of errors:
g++.exe -D__DEBUG__ ./Release/boinc_api.o ./Release/util.o ./Release/app_ipc.o ./Release/diagnostics.o ./Release/filesys.o ./Release/hostinfo.o ./Release/md5.o ./Release/md5_file.o ./Release/mem_usage.o ./Release/mfile.o ./Release/miofile.o ./Release/parse.o ./Release/prefs.o ./Release/proxy_info.o ./Release/shmem.o ./Release/stackwalker_win.o ./Release/hello.o ./Release/_private.res -o \"hello5.05_windows_intelx86.exe\" -L\"C:/Dev-Cpp/lib\" -W0 -L\"Release\" -mwindows -lwinmm -g3 -march=i386
./Release/boinc_api.o(.text+0x16d4): In function `Z12timer_threadPv\':
D:/projekter/hello/../boinc/api/boinc_api.C:735: undefined reference to `diagnostics_set_thread_name\'
./Release/boinc_api.o(.text+0x17f7): In function `Z16set_worker_timerv\':
D:/projekter/hello/../boinc/api/boinc_api.C:819: undefined reference to `diagnostics_set_thread_name\'
./Release/boinc_api.o(.text+0x17fc):D:/projekter/hello/../boinc/api/boinc_api.C:820: undefined reference to `diagnostics_set_thread_worker\'
./Release/diagnostics.o(.text+0x145): In function `boinc_install_signal_handlers\':
D:/projekter/hello/../boinc/lib/diagnostics.C:139: undefined reference to `boinc_catch_signal@4\'
./Release/diagnostics.o(.text+0x4ce): In function `diagnostics_init\':
D:/projekter/hello/../boinc/lib/diagnostics.C:261: undefined reference to `diagnostics_init_thread_list\'
./Release/diagnostics.o(.text+0x4d3):D:/projekter/hello/../boinc/lib/diagnostics.C:263: undefined reference to `diagnostics_init_unhandled_exception_monitor\'
./Release/diagnostics.o(.text+0x4d8):D:/projekter/hello/../boinc/lib/diagnostics.C:265: undefined reference to `diagnostics_init_message_monitor\'
./Release/diagnostics.o(.text+0x823): In function `diagnostics_finish\':
D:/projekter/hello/../boinc/lib/diagnostics.C:324: undefined reference to `diagnostics_finish_message_monitor\'
./Release/diagnostics.o(.text+0x828):D:/projekter/hello/../boinc/lib/diagnostics.C:327: undefined reference to `diagnostics_finish_unhandled_exception_monitor\'
./Release/diagnostics.o(.text+0x82d):D:/projekter/hello/../boinc/lib/diagnostics.C:331: undefined reference to `diagnostics_finish_thread_list\'
collect2: ld returned 1 exit status
make.exe: *** [hello5.05_windows_intelx86.exe] Error 1
Execution terminated
Looks like a file is missing there. I\'ll check the makefile I have been using for POV application. I was working with that one recently, and haven\'t tested \'hello\' one in some time, so maybe I did a change...
EDIT: found it!
OBJ = boinc_api.o util.o app_ipc.o diagnostics.o diagnostics_win.o filesys.o hostinfo.o md5.o md5_file.o mem_usage.o mfile.o miofile.o parse.o prefs.o proxy_info.o shmem.o stackwalker_win.o plus the application object files
Looks like they splitted windows-specific code into a separate file.
|
|
Janus Volunteer moderator Project administrator

Send message Joined: 16 Jun 04 Posts: 4574 Credit: 2,100,463 RAC: 8
|
EDIT: found it!
OBJ = boinc_api.o util.o app_ipc.o diagnostics.o diagnostics_win.o filesys.o hostinfo.o md5.o md5_file.o mem_usage.o mfile.o miofile.o parse.o prefs.o proxy_info.o shmem.o stackwalker_win.o plus the application object files
Looks like they splitted windows-specific code into a separate file.
Yup that did the trick quite nicely. Thanks a lot for the help!
|
|
csega
Send message Joined: 8 Aug 06 Posts: 6 Credit: 141,511 RAC: 0
|
Could you tell me, why the program restart each time, when it did 100%?
Is it normal, or....?
|
|