Now my new attempt 

git clone [ https://git.xenomai.org/xenomai-3.git | 
https://git.xenomai.org/xenomai-3.git ] 
git checkout stable-3.0.x 
cd xenomai-3 
./script/bootstrap 
./configure --with-pic --with-core=cobalt --enable-smp --disable-tls 
--enable-dlopen-libs 
make -j4 


and get error 

make[3]: Entering directory '/usr/src/xenomai-3/testsuite/smokey/dlopen' 
CC libdlopen_a-dlopen.o 
CC libalchemy_test_la-libalchemy-test.lo 
CC libposix_test_la-libposix-test.lo 
CC dlopentest-dlopentest.o 
dlopentest.c: In function ‘my_dlopen’: 
dlopentest.c:46:4: error: format not a string literal and no format arguments 
[-Werror=format-security] 
error(1, errno, dlerror()); 
^ 
cc1: all warnings being treated as errors 
Makefile:671: recipe for target 'dlopentest-dlopentest.o' failed 


should I disable some options gcc or make changes in code ? 
_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai
  • [Xenomai] -Werror=forma... Шевченко Тарас Григорьевич

Reply via email to