Open icnad512 opened 3 years ago
Hi, I am facing following errors when I run make -j4. How can I solve this? (Ubuntu 14.04)
gcc -O6 -std=gnu99 -I. -I../libjulius/include -I../libsent/include ../libsent/libsent-config --cflags ../libjulius/libjulius-config --cflags -o adintool adintool.o options.o mainloop.o -L../libjulius ../libjulius/libjulius-config --libs -L../libsent ../libsent/libsent-config --libs ../libjulius/libjulius.a(vad_core.o): In function WebRtcVad_CalcVad8khz': vad_core.c:(.text+0xa08): undefined reference tostatic_assert' vad_core.c:(.text+0xa38): undefined reference to static_assert' vad_core.c:(.text+0xf19): undefined reference tostatic_assert' vad_core.c:(.text+0xf41): undefined reference to static_assert' ../libjulius/libjulius.a(vad_filterbank.o): In functionLogOfEnergy': vad_filterbank.c:(.text+0x4d): undefined reference to static_assert' ../libjulius/libjulius.a(get_scaling_square.o):get_scaling_square.c:(.text+0x20): more undefined references tostatic_assert' follow collect2: error: ld returned 1 exit status make[1]: *** [julius] Error 1
../libsent/libsent-config --cflags
../libjulius/libjulius-config --cflags
../libjulius/libjulius-config --libs
../libsent/libsent-config --libs
WebRtcVad_CalcVad8khz': vad_core.c:(.text+0xa08): undefined reference to
static_assert' vad_core.c:(.text+0xf19): undefined reference to
static_assert' ../libjulius/libjulius.a(vad_filterbank.o): In function
static_assert' ../libjulius/libjulius.a(get_scaling_square.o):get_scaling_square.c:(.text+0x20): more undefined references to
+1 - any hints on that?
Workarround:
in assert.h file (my location: /usr/include) comment out 3 lines to look like this:
//#if defined --USE_ISOC11 && !defined __cplusplus //#undef static_assert
//#endif
Hi, I am facing following errors when I run make -j4. How can I solve this? (Ubuntu 14.04)
gcc -O6 -std=gnu99 -I. -I../libjulius/include -I../libsent/include
../libsent/libsent-config --cflags
../libjulius/libjulius-config --cflags
-o adintool adintool.o options.o mainloop.o -L../libjulius../libjulius/libjulius-config --libs
-L../libsent../libsent/libsent-config --libs
../libjulius/libjulius.a(vad_core.o): In functionWebRtcVad_CalcVad8khz': vad_core.c:(.text+0xa08): undefined reference to
static_assert' vad_core.c:(.text+0xa38): undefined reference tostatic_assert' vad_core.c:(.text+0xf19): undefined reference to
static_assert' vad_core.c:(.text+0xf41): undefined reference tostatic_assert' ../libjulius/libjulius.a(vad_filterbank.o): In function
LogOfEnergy': vad_filterbank.c:(.text+0x4d): undefined reference tostatic_assert' ../libjulius/libjulius.a(get_scaling_square.o):get_scaling_square.c:(.text+0x20): more undefined references to
static_assert' follow collect2: error: ld returned 1 exit status make[1]: *** [julius] Error 1