Message boards :
Questions and problems :
Error compiling new search start binary
Message board moderation
Author | Message |
---|---|
Send message Joined: 22 Mar 22 Posts: 3 |
Hello, I am a developer for MilkyWay@home, and we are working on updating our project to Ubuntu 20.04.4 LTS, as well as the newest version of BOINC. Our test server is running BOINC 1.2.1 and Ubuntu 20.04.4. When we try to run our search start binary that was compiled for the previous build of the server (Ubuntu 18 and BOINC 1.0.4), it seg faults. When we try to rebuild the binary, we get the following errors: /usr/include/mysql/mysql.h:477:6: error: use of enum ‘net_async_status’ without previous declaration 477 | enum net_async_status STDCALL mysql_real_connect_nonblocking( | ^~~~~~~~~~~~~~~~ /usr/include/mysql/mysql.h:481:6: error: use of enum ‘net_async_status’ without previous declaration 481 | enum net_async_status STDCALL mysql_send_query_nonblocking( | ^~~~~~~~~~~~~~~~ /usr/include/mysql/mysql.h:483:6: error: use of enum ‘net_async_status’ without previous declaration 483 | enum net_async_status STDCALL mysql_real_query_nonblocking( | ^~~~~~~~~~~~~~~~ /usr/include/mysql/mysql.h:485:6: error: use of enum ‘net_async_status’ without previous declaration 485 | enum net_async_status STDCALL | ^~~~~~~~~~~~~~~~ /usr/include/mysql/mysql.h:487:6: error: use of enum ‘net_async_status’ without previous declaration 487 | enum net_async_status STDCALL mysql_next_result_nonblocking(MYSQL *mysql); | ^~~~~~~~~~~~~~~~ /usr/include/mysql/mysql.h:488:6: error: use of enum ‘net_async_status’ without previous declaration 488 | enum net_async_status STDCALL mysql_select_db_nonblocking(MYSQL *mysql, | ^~~~~~~~~~~~~~~~ /usr/include/mysql/mysql.h:536:6: error: use of enum ‘net_async_status’ without previous declaration 536 | enum net_async_status STDCALL mysql_free_result_nonblocking(MYSQL_RES *result); | ^~~~~~~~~~~~~~~~ /usr/include/mysql/mysql.h:543:6: error: use of enum ‘net_async_status’ without previous declaration 543 | enum net_async_status STDCALL mysql_fetch_row_nonblocking(MYSQL_RES *res, | ^~~~~~~~~~~~~~~~ These appear to have to do with mysql, and it appears that someone else has had a similar problem with mysql and Ubuntu 20 (https://github.com/vincefn/objcryst/issues/48). Does anyone have any ideas how to work around this? Thanks for the help. Best, Tom |
Copyright © 2023 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.