Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.4.17, 2.5.11
-
None
-
aarch64, cmake 3.20.2
-
MXS-SPRINT-132
Description
failed to compile Connector-C:
workaround `-DMARIADB_CONNECTOR_C_TAG=3.1`
(ConnectorC versio is hardcoded in the Maxscale cmake https://github.com/mariadb-corporation/MaxScale/blob/2.5/cmake/BuildMariaDBConnector.cmake#L12)
Determining if files select.h exist failed with the following output:
|
Change Dir: /home/ubuntu/MaxScale/build/connector-c/CMakeFiles/CMakeTmp
|
 |
Run Build Command(s):/usr/bin/make -f Makefile cmTC_e6cb7/fast && make[3]: Entering directory '/home/ubuntu/MaxScale/build/connector-c/CMakeFiles/CMakeTmp'
|
/usr/bin/make -f CMakeFiles/cmTC_e6cb7.dir/build.make CMakeFiles/cmTC_e6cb7.dir/build
|
make[4]: Entering directory '/home/ubuntu/MaxScale/build/connector-c/CMakeFiles/CMakeTmp'
|
Building C object CMakeFiles/cmTC_e6cb7.dir/HAVE_SELECT_H.c.o
|
/usr/bin/cc -Wunused -Wlogical-op -Wno-uninitialized -Wall -Wextra -Wformat-security -Wno-init-self -Wwrite-strings -Wshift-count-overflow -Wdeclaration-after-statement -Wno-undef -Wno-unknown-pragmas -o CMakeFiles/cmTC_e6cb7.dir/HAVE_SELECT_H.c.o -c /home/ubuntu/MaxScale/build/connector-c/CMakeFiles/CheckIncludeFiles/HAVE_SELECT_H.c
|
/home/ubuntu/MaxScale/build/connector-c/CMakeFiles/CheckIncludeFiles/HAVE_SELECT_H.c:2:10: fatal error: select.h: No such file or directory
|
#include <select.h>
|
^~~~~~~~~~
|
compilation terminated.
|
CMakeFiles/cmTC_e6cb7.dir/build.make:77: recipe for target 'CMakeFiles/cmTC_e6cb7.dir/HAVE_SELECT_H.c.o' failed
|
make[4]: *** [CMakeFiles/cmTC_e6cb7.dir/HAVE_SELECT_H.c.o] Error 1
|
make[4]: Leaving directory '/home/ubuntu/MaxScale/build/connector-c/CMakeFiles/CMakeTmp'
|
Makefile:127: recipe for target 'cmTC_e6cb7/fast' failed
|
make[3]: *** [cmTC_e6cb7/fast] Error 2
|
make[3]: Leaving directory '/home/ubuntu/MaxScale/build/connector-c/CMakeFiles/CMakeTmp'
|
|