Hi Jan, after a little try and error, it works! Now I have to integrate it to our project file or makefile.
Thanks a lot for your help! Best regards Carsten _________________________________________________________________________________________________________ Bitte überlegen Sie, ob Sie diese Nachricht wirklich ausdrucken müssen/ before printing, think about environmental responsibility. Diehl Metering GmbH, Industriestraße 13, 91522 Ansbach Telefon + 49 981 1806 0, Telefax +49 981 1806 615 Sitz der Gesellschaft: Ansbach, Registergericht: Ansbach HRB 69 Geschäftsführer: Dr. Christof Bosbach (Sprecher), Thomas Gastner, Jean-François Marguet Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Informieren Sie uns bitte, wenn Sie diese E-Mail fälschlicherweise erhalten haben. Bitte löschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Änderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt. The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited. Informationen zum Datenschutz finden Sie auf unserer Homepage. https://www.diehl.com/metering/de/diehl-metering/data-protection Information about data protection can be found on our homepage. https://www.diehl.com/metering/en/diehl-metering/data-protection -----Original Message----- From: Jan Kiszka <jan.kis...@siemens.com> Sent: Monday, February 10, 2020 5:18 PM To: Carsten EHRMANN <carsten.ehrm...@diehl.com>; xenomai@xenomai.org Subject: Re: Migrate project from Debian 8 Xenomai 2.x to Debain 9 Xenomai 3.x On 10.02.20 16:27, Carsten EHRMANN wrote: > Hi Jan, > > I made a simple reproduction example (see attached 4 files). > I got this error again: > > In file included from main.cpp:28:0: > /usr/xenomai/include/trank/native/task.h: In function ‘int > rt_task_notify(RT_TASK*, rt_sigset_t)’: > /usr/xenomai/include/trank/native/task.h:41:64: error: ‘trank_warning’ was > not declared in this scope > trank_warning("in-kernel native API is gone, rebase over RTDM"); > Your makefile is incomplete, but this works fine here with Xenomai 3.1 (I'm sure it does equally well with 3.0.x): g++ -o main main.cpp $(xeno-config --skin=native --cflags --ldflags) Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux