Thanks for response!
I didn't see this error in the jenkins log. But two things are likely:
- gsm0503_test_vectors.c is compiled before the header is generated
(though unlikely here)
- build dir != src dir. So the "conv.h" is not in the srcdir but the
builddir?
It seems, I already found one solution. You're right, "build dir != src dir" was the problem, so I added this:
conv_conv_gsm0503_test_CPPFLAGS = \ $(AM_CPPFLAGS) \ -I$(top_srcdir)/tests/conv
And now everything is fine!
With best regards, Vadim Yanitskiy.
2017-04-30 14:47 GMT+07:00 Holger Freyther holger@freyther.de:
On 29. Apr 2017, at 16:09, Vadim Yanitskiy axilirator@gmail.com wrote:
Hi all,
Hi!
conv/gsm0503_test_vectors.c:25:18: fatal error: conv.h: No such file or directory #include "conv.h" ^ compilation terminated.
This is why I tried to move this header to the global include directory. According to received feedback from Harald and Sylvain, this approach isn't good and I need to find another one.
Any suggestions how to make the conv/gsm0503_test_vectors.c able "to see" the conv.h header?
I didn't see this error in the jenkins log. But two things are likely:
- gsm0503_test_vectors.c is compiled before the header is generated
(though unlikely here)
- build dir != src dir. So the "conv.h" is not in the srcdir but the
builddir?
holger