Thread 'db_dump.cpp:986: error: 'WEXITSTATUS' was not declared in this scope'

Message boards : Server programs : db_dump.cpp:986: error: 'WEXITSTATUS' was not declared in this scope
Message board moderation

To post messages, you must log in.

AuthorMessage
harapan

Send message
Joined: 6 Dec 15
Posts: 4
Indonesia
Message 66346 - Posted: 22 Dec 2015, 16:20:06 UTC

I have some problem when compile Boinc in FreeBSD 9.3-RELEASE FreeBSD 9.3-RELEASE.

I have followed,
https://boinc.berkeley.edu/trac/wiki/ServerIntro#general
http://www.spy-hill.net/myers/help/boinc/Create_Project.html

Everything was going well until

% make
.
.
.
db_dump.cpp: In function 'int main(int, char**)':
db_dump.cpp:986: error: 'WEXITSTATUS' was not declared in this scope
*** [db_dump.o] Error code 1

Stop in /boinc/sched.
*** [all-recursive] Error code 1

Stop in /boinc.
*** [all] Error code 1

Stop in /boinc.


Can someone help me with this error?
ID: 66346 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 66352 - Posted: 22 Dec 2015, 21:28:29 UTC - in response to Message 66346.  

Try editing the file to include sys/wait.h .
ID: 66352 · Report as offensive

Message boards : Server programs : db_dump.cpp:986: error: 'WEXITSTATUS' was not declared in this scope

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.