Nice thanks that's what I need.
Well, the option name is not exactly "--no-auto-versioning" but "--disable-auto-versioning".
Anyway, now the configuration step is working:
Code:
$ python ../configure.py --no-mysql --disable-auto-versioning
Checking CC compiler (vendor test gcc)... ['cc', 'test.c', '-o', 'test']
found gcc version 5.3
Checking CXX compiler (vendor test gcc)... ['c++', 'test.cpp', '-o', 'testp']
found gcc version 5.3
However, I have now an other problem in the ambuild step (I should maybe create an other thread for that):
Code:
$ ambuild
[...]
[26354] cc -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 -g3 -ggdb3 -std=c99 -D_LINUX -DPOSIX -DLINUX -DAMX_NOPROPLIST -DPAWN_CELL_SIZE=32 -DAMXMODX_BUILD -DAMXX_USE_VERSIONLIB -DSM_DEFAULT_THREADER -DHAVE_STDINT_H -Dstricmp=strcasecmp -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/public -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/public/sdk -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/public/amtl -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/public/amtl/amtl -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/public/memtools -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/third_party -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/third_party/hashing -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/third_party/zlib -H -c /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/third_party/sqlite/sqlite3.c -o _third_party_sqlite_sqlite3.o
[26355] c++ -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 -g3 -ggdb3 -Wno-invalid-offsetof -std=c++11 -fvisibility-inlines-hidden -Wno-delete-non-virtual-dtor -fno-exceptions -fno-rtti -D_LINUX -DPOSIX -DLINUX -DAMX_NOPROPLIST -DPAWN_CELL_SIZE=32 -DAMXMODX_BUILD -DAMXX_USE_VERSIONLIB -DSM_DEFAULT_THREADER -DHAVE_STDINT_H -Dstricmp=strcasecmp -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/public -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/public/sdk -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/public/amtl -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/public/amtl/amtl -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/public/memtools -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/third_party -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/third_party/hashing -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/third_party/zlib -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/modules/sqlite -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/modules/sqlite/sdk -I /tmp/build/metamod/metamod -I /tmp/build/hlsdk/common -I /tmp/build/hlsdk/dlls -I /tmp/build/hlsdk/engine -I /tmp/build/hlsdk/game_shared -I /tmp/build/hlsdk/public -I /tmp/build/hlsdk/pm_shared -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/modules/sqlite/sqlitepp -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/modules/sqlite/thread -I /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/third_party/sqlite -H -c /tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/modules/sqlite/sqlitepp/SqliteDriver.cpp -o sqlitepp_SqliteDriver.o
/tmp/build/amxmodx-e24b9548d43c2f0d09d394cc1884b6d171bd2790/modules/sqlite/sqlitepp/SqliteDriver.cpp:18:28: fatal error: amtl/am-string.h: No such file or directory
compilation terminated.
Build failed.
It seems that there is a problem to find the amtl/am-string.h file.
I found it in:
- amtl-364541372c405ed172e7da778367a0392afdc24f [1]
However, I am unable to build amtl:
Code:
$ python ../configure.py
Checking CC compiler (vendor test gcc)... ['cc', 'test.c', '-o', 'test']
found gcc version 5.3
Checking CXX compiler (vendor test gcc)... ['c++', 'test.cpp', '-o', 'testp']
found gcc version 5.3
$ ambuild
[create] mkdir -p tests
[create] mkdir -p tests/testrunner
Spawned taskmaster (pid: 26619)
Spawned worker (pid: 26626)
Spawned worker (pid: 26627)
[26626] c++ -pipe -Wall -Werror -fvisibility=hidden -mfpmath=sse -g3 -ggdb3 -std=c++14 -fvisibility-inlines-hidden -fno-exceptions -fno-threadsafe-statics -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_LINUX -DPOSIX -I /tmp/build/amtl-364541372c405ed172e7da778367a0392afdc24f/amtl -I /tmp/build/amtl-364541372c405ed172e7da778367a0392afdc24f -H -c /tmp/build/amtl-364541372c405ed172e7da778367a0392afdc24f/tests/test-string.cpp -o test_string.o
/tmp/build/amtl-364541372c405ed172e7da778367a0392afdc24f/tests/test-string.cpp:1:0: error: SSE instruction set disabled, using 387 arithmetics [-Werror]
// vim: set sts=8 ts=2 sw=2 tw=99 et:
^
cc1plus: all warnings being treated as errors
[26627] c++ -pipe -Wall -Werror -fvisibility=hidden -mfpmath=sse -g3 -ggdb3 -std=c++14 -fvisibility-inlines-hidden -fno-exceptions -fno-threadsafe-statics -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_LINUX -DPOSIX -I /tmp/build/amtl-364541372c405ed172e7da778367a0392afdc24f/amtl -I /tmp/build/amtl-364541372c405ed172e7da778367a0392afdc24f -H -c /tmp/build/amtl-364541372c405ed172e7da778367a0392afdc24f/tests/test-priority-queue.cpp -o test_priority_queue.o
/tmp/build/amtl-364541372c405ed172e7da778367a0392afdc24f/tests/test-priority-queue.cpp:1:0: error: SSE instruction set disabled, using 387 arithmetics [-Werror]
// vim: set sts=8 ts=2 sw=2 tw=99 et:
^
cc1plus: all warnings being treated as errors
Build failed.
Any idea how to solve this second problem please?
[1]
https://github.com/alliedmodders/amt...67a0392afdc24f