./mach build fails with "ERROR: old-configure failed".
The last few lines of output are:
Code: Select all
0:20.06 DEBUG: configure:17400: checking for FT_Load_Sfnt_Table
0:20.06 DEBUG: configure:17432: /usr/bin/gcc -std=gnu99 -o conftest -fno-strict-aliasing -fno-math-errno -pthread -pipe -I/usr/include/freetype2 -I/usr/include/freetype2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /media/rahl/9ad64a97-7cb8-43ba-a90c-d9471f2b9ce5/AquaGear/AquaBase/Builds/51/src/mozilla-central/obj-x86_64-pc-linux-gnu/build/unix/gold conftest.c -ldl -lfreetype -lfontconfig -lfreetype 1>&5
0:20.06 DEBUG: configure:17470: checking for fontconfig/fcfreetype.h
0:20.06 DEBUG: configure:17483: /usr/bin/gcc -std=gnu99 -c -fno-strict-aliasing -fno-math-errno -pthread -pipe -I/usr/include/freetype2 -I/usr/include/freetype2 conftest.c 1>&5
0:20.06 DEBUG: configure:18751: checking for posix_fadvise
0:20.06 DEBUG: configure:18783: /usr/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-strict-aliasing -fno-math-errno -pthread -pipe -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /media/rahl/9ad64a97-7cb8-43ba-a90c-d9471f2b9ce5/AquaGear/AquaBase/Builds/51/src/mozilla-central/obj-x86_64-pc-linux-gnu/build/unix/gold conftest.c -ldl 1>&5
0:20.06 DEBUG: configure:18751: checking for posix_fallocate
0:20.06 DEBUG: configure:18783: /usr/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-strict-aliasing -fno-math-errno -pthread -pipe -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /media/rahl/9ad64a97-7cb8-43ba-a90c-d9471f2b9ce5/AquaGear/AquaBase/Builds/51/src/mozilla-central/obj-x86_64-pc-linux-gnu/build/unix/gold conftest.c -ldl 1>&5
0:20.06 DEBUG: configure:18834: /usr/bin/gcc -std=gnu99 -c -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-strict-aliasing -fno-math-errno -pthread -pipe conftest.c 1>&5
0:20.06 ERROR: old-configure failed
0:20.08 *** Fix above errors and then restart with\
0:20.08 "/usr/bin/make -f client.mk build"
0:20.08 make: *** [configure] Error 1
How do I resolve this?