[quagga-users 14733] Some issues in Quagga Header files in /usr/local/include/quagga

Khawar Shehzad <[email protected]> Wed, 26 Jul 2017 16:04:49 +0000
Newsgroups gmane.network.quagga.user
Message-ID <CAE0moydG7E5zdj4yQh_sPA4wCrTXbr0QTuRiN8-uQd425S6A4Q@mail.gmail.com>
I was trying to make a small app using the quagga API available in
/usr/local/include/quagga/
But when I #include some file, I get way too many errors. Here is one such
example.


my test.c code is
#include <quagga/command.h>
int main(){return 0;}


If I compile it using gcc e.g. gcc -o test test.c


I get the following errors:
/usr/local/include/quagga/thread.h:25:19: fatal error: zebra.h No such file
or directory.


In thread.h zebra.h is imported as <zebra.h>, which should be imported as
"zebra.h" since it is in quagga directory of the API.


Now in another file, the reference is made to the lib/route_types, but this
file is actually in /usr/local/include/quagga/ directory. And there is no
lib directory in /usr/local/include/quagga/. Given the person is making an
app using quagga API.


So what to do? Why am I missing those files and that lib/ folder? Aren't
they supposed to get installed with the quagga software, if one configures
that way.

_______________________________________________
Quagga-users mailing list
Quagga-users-UOy77sIEA+cAd7ICUelF/[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-users