autoreconf: "header not found" in generated source

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Tue May 2 10:52:14 UTC 2017


On Mon, May 01, 2017 at 03:41:03AM +0700, Vadim Yanitskiy wrote:
> > We generate "conv.h" and put it into the source directory?
> 
> Actually, no. We aren't generate the "conv.h".
> It's written manually and contains the conv_test_vector
> structure definition and the do_check() function definition.

written manually?  You mean committed in gerrit, right?

> One was introduced by: https://gerrit.osmocom.org/#/c/1627/
> so now the same test logic is used in two different tests
> (both conv and conv_gsm0503) without code duplication.

We tend to put all headers used from several locations in
openbsc/openbsc/include/openbsc/ (as noinst_HEADERS in the Makefile.am).
To #include, you would use something like #include <openbsc/conv.h>. 

> Don't you confuse it with the "gsm0503.h", which is exactly
> generated by the "utils/conv_gen.py"?

Loosely related: some time back I modified some generation code to put
generated C files in the builddir, adding -I$(builddir) to be able to find
them from srcdir... I think it was this one I fixed.

~N

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20170502/029ae36c/attachment.bin>


More information about the OpenBSC mailing list