Project

General

Profile

Bug #4018

investigate ordering of inclues paths

Added by lynxis 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/23/2019
Due date:
% Done:

0%

Spec Reference:

Description

When compiling tests and an older version of the pcu_if_proto.h is installed into the system path, the compilation is failing when the system installed pcu_if_proto.h is too old.

Making all in tests
make[1]: Entering directory '/home/lynxis/projects/osmocom/osmo-pcu/tests'
  CXX      pcu_emu.o
In file included from ../src/gprs_ms.h:29,
                 from ../src/gprs_ms_storage.h:23,
                 from ../src/bts.h:38,
                 from emu/pcu_emu.cpp:32:
../src/pcu_l1_if.h:163:25: error: use of enum ‘gsm_pcu_if_text_type’ without previous declaration
 int pcu_tx_txt_ind(enum gsm_pcu_if_text_type t, const char *fmt, ...);
                         ^~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:873: pcu_emu.o] Error 1
#include <osmocom/pcu/pcuif_proto.h>

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)