Arkshine,
Code:
root@History:/tmp/amxmodx# cd build
root@History:/tmp/amxmodx/build# export CC=gcc; export CXX=g++
root@History:/tmp/amxmodx/build# python ../configure.py --enable-optimize
Checking CC compiler (vendor test gcc)... ['gcc', 'test.c', '-o', 'test']
found gcc version 5.4
Checking CXX compiler (vendor test gcc)... ['g++', 'test.cpp', '-o', 'testp']
found gcc version 5.4
root@History:/tmp/amxmodx/build# ambuild
[create] mkdir -p modules/mysqlx
[create] mkdir -p modules/mysqlx/mysql_amxx_i386
Spawned taskmaster (pid: 2079)
Spawned worker (pid: 2085)
Spawned worker (pid: 2086)
Spawned worker (pid: 2084)
Spawned worker (pid: 2088)
Spawned worker (pid: 2087)
[2085] gcc -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -Wno-format -Wno-format-security -m32 -fvisibility=hidden -Wno-narrowing -Wno-unused-result -Wno-error=sign-compare -Wno-parentheses -O2 -g3 -ggdb3 -std=c99 -DNDEBUG -D_LINUX -DPOSIX -DLINUX -DAMX_NOPROPLIST -DPAWN_CELL_SIZE=32 -DAMXMODX_BUILD -DAMXX_USE_VERSIONLIB -DAMXX_GENERATED_BUILD -DUTF8REWINDS_EXPORTS -I /tmp/amxmodx/build/includes -I /tmp/amxmodx/support/versionlib -I /tmp/amxmodx/public -I /tmp/amxmodx/public/sdk -I /tmp/amxmodx/public/amtl -I /tmp/amxmodx/public/amtl/amtl -I /tmp/amxmodx/public/memtools -I /tmp/amxmodx/third_party -I /tmp/amxmodx/third_party/hashing -I /tmp/amxmodx/third_party/zlib -I /tmp/amxmodx/third_party/utf8rewind -I /tmp/amxmodx/third_party/utf8rewind -H -c /tmp/amxmodx/third_party/utf8rewind/internal/streaming.c -o internal_streaming.o
In file included from /tmp/amxmodx/third_party/utf8rewind/internal/streaming.h:36:0,
from /tmp/amxmodx/third_party/utf8rewind/internal/streaming.c:26:
/tmp/amxmodx/third_party/utf8rewind/utf8rewind.h:1119:89: error: unknown type name ‘off_t’
UTF8_API const char* utf8seek(const char* text, size_t textSize, const char* textStart, off_t offset, int direction);
^
[2084] gcc -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -Wno-format -Wno-format-security -m32 -fvisibility=hidden -Wno-narrowing -Wno-unused-result -Wno-error=sign-compare -Wno-parentheses -O2 -g3 -ggdb3 -std=c99 -DNDEBUG -D_LINUX -DPOSIX -DLINUX -DAMX_NOPROPLIST -DPAWN_CELL_SIZE=32 -DAMXMODX_BUILD -DAMXX_USE_VERSIONLIB -DAMXX_GENERATED_BUILD -DUTF8REWINDS_EXPORTS -I /tmp/amxmodx/build/includes -I /tmp/amxmodx/support/versionlib -I /tmp/amxmodx/public -I /tmp/amxmodx/public/sdk -I /tmp/amxmodx/public/amtl -I /tmp/amxmodx/public/amtl/amtl -I /tmp/amxmodx/public/memtools -I /tmp/amxmodx/third_party -I /tmp/amxmodx/third_party/hashing -I /tmp/amxmodx/third_party/zlib -I /tmp/amxmodx/third_party/utf8rewind -I /tmp/amxmodx/third_party/utf8rewind -H -c /tmp/amxmodx/third_party/utf8rewind/internal/decomposition.c -o internal_decomposition.o
In file included from /tmp/amxmodx/third_party/utf8rewind/internal/decomposition.h:36:0,
from /tmp/amxmodx/third_party/utf8rewind/internal/decomposition.c:26:
/tmp/amxmodx/third_party/utf8rewind/utf8rewind.h:1119:89: error: unknown type name ‘off_t’
UTF8_API const char* utf8seek(const char* text, size_t textSize, const char* textStart, off_t offset, int direction);
^
[2086] gcc -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -Wno-format -Wno-format-security -m32 -fvisibility=hidden -Wno-narrowing -Wno-unused-result -Wno-error=sign-compare -Wno-parentheses -O2 -g3 -ggdb3 -std=c99 -DNDEBUG -D_LINUX -DPOSIX -DLINUX -DAMX_NOPROPLIST -DPAWN_CELL_SIZE=32 -DAMXMODX_BUILD -DAMXX_USE_VERSIONLIB -DAMXX_GENERATED_BUILD -DUTF8REWINDS_EXPORTS -I /tmp/amxmodx/build/includes -I /tmp/amxmodx/support/versionlib -I /tmp/amxmodx/public -I /tmp/amxmodx/public/sdk -I /tmp/amxmodx/public/amtl -I /tmp/amxmodx/public/amtl/amtl -I /tmp/amxmodx/public/memtools -I /tmp/amxmodx/third_party -I /tmp/amxmodx/third_party/hashing -I /tmp/amxmodx/third_party/zlib -I /tmp/amxmodx/third_party/utf8rewind -I /tmp/amxmodx/third_party/utf8rewind -H -c /tmp/amxmodx/third_party/utf8rewind/internal/seeking.c -o internal_seeking.o
In file included from /tmp/amxmodx/third_party/utf8rewind/internal/seeking.h:36:0,
from /tmp/amxmodx/third_party/utf8rewind/internal/seeking.c:26:
/tmp/amxmodx/third_party/utf8rewind/utf8rewind.h:1119:89: error: unknown type name ‘off_t’
UTF8_API const char* utf8seek(const char* text, size_t textSize, const char* textStart, off_t offset, int direction);
^
In file included from /tmp/amxmodx/third_party/utf8rewind/internal/seeking.c:26:0:
/tmp/amxmodx/third_party/utf8rewind/internal/seeking.h:38:88: error: unknown type name ‘off_t’
const char* seeking_forward(const char* input, const char* inputEnd, size_t inputSize, off_t offset);
^
/tmp/amxmodx/third_party/utf8rewind/internal/seeking.h:40:89: error: unknown type name ‘off_t’
const char* seeking_rewind(const char* inputStart, const char* input, size_t inputSize, off_t offset);
^
/tmp/amxmodx/third_party/utf8rewind/internal/seeking.c:30:88: error: unknown type name ‘off_t’
const char* seeking_forward(const char* input, const char* inputEnd, size_t inputSize, off_t offset)
^
/tmp/amxmodx/third_party/utf8rewind/internal/seeking.c:83:89: error: unknown type name ‘off_t’
const char* seeking_rewind(const char* inputStart, const char* input, size_t inputSize, off_t offset)
^
[2088] gcc -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -Wno-format -Wno-format-security -m32 -fvisibility=hidden -Wno-narrowing -Wno-unused-result -Wno-error=sign-compare -Wno-parentheses -O2 -g3 -ggdb3 -std=c99 -DNDEBUG -D_LINUX -DPOSIX -DLINUX -DAMX_NOPROPLIST -DPAWN_CELL_SIZE=32 -DAMXMODX_BUILD -DAMXX_USE_VERSIONLIB -DAMXX_GENERATED_BUILD -DUTF8REWINDS_EXPORTS -I /tmp/amxmodx/build/includes -I /tmp/amxmodx/support/versionlib -I /tmp/amxmodx/public -I /tmp/amxmodx/public/sdk -I /tmp/amxmodx/public/amtl -I /tmp/amxmodx/public/amtl/amtl -I /tmp/amxmodx/public/memtools -I /tmp/amxmodx/third_party -I /tmp/amxmodx/third_party/hashing -I /tmp/amxmodx/third_party/zlib -I /tmp/amxmodx/third_party/utf8rewind -I /tmp/amxmodx/third_party/utf8rewind -H -c /tmp/amxmodx/third_party/utf8rewind/internal/database.c -o internal_database.o
In file included from /tmp/amxmodx/third_party/utf8rewind/internal/database.h:36:0,
from /tmp/amxmodx/third_party/utf8rewind/internal/database.c:26:
/tmp/amxmodx/third_party/utf8rewind/utf8rewind.h:1119:89: error: unknown type name ‘off_t’
UTF8_API const char* utf8seek(const char* text, size_t textSize, const char* textStart, off_t offset, int direction);
^
[2087] gcc -pipe -fno-strict-aliasing -Wall -Werror -Wno-uninitialized -Wno-unused -Wno-switch -Wno-format -Wno-format-security -m32 -fvisibility=hidden -Wno-narrowing -Wno-unused-result -Wno-error=sign-compare -Wno-parentheses -O2 -g3 -ggdb3 -std=c99 -DNDEBUG -D_LINUX -DPOSIX -DLINUX -DAMX_NOPROPLIST -DPAWN_CELL_SIZE=32 -DAMXMODX_BUILD -DAMXX_USE_VERSIONLIB -DAMXX_GENERATED_BUILD -DUTF8REWINDS_EXPORTS -I /tmp/amxmodx/build/includes -I /tmp/amxmodx/support/versionlib -I /tmp/amxmodx/public -I /tmp/amxmodx/public/sdk -I /tmp/amxmodx/public/amtl -I /tmp/amxmodx/public/amtl/amtl -I /tmp/amxmodx/public/memtools -I /tmp/amxmodx/third_party -I /tmp/amxmodx/third_party/hashing -I /tmp/amxmodx/third_party/zlib -I /tmp/amxmodx/third_party/utf8rewind -I /tmp/amxmodx/third_party/utf8rewind -H -c /tmp/amxmodx/third_party/utf8rewind/internal/composition.c -o internal_composition.o
In file included from /tmp/amxmodx/third_party/utf8rewind/internal/composition.h:36:0,
from /tmp/amxmodx/third_party/utf8rewind/internal/composition.c:26:
/tmp/amxmodx/third_party/utf8rewind/utf8rewind.h:1119:89: error: unknown type name ‘off_t’
UTF8_API const char* utf8seek(const char* text, size_t textSize, const char* textStart, off_t offset, int direction);
^
Build failed.