Closed tonyhutter closed 5 years ago
I was able to replicate that it doesn't hit the error when building with IBM BB API.
Maybe bbapi.h includes the missing headers?
Did a grep
on those files:
./bbapi.h:#include "bbapi_types.h"
⋮
./bbapi_types.h:typedef unsigned long BBTAG;
./bbapi_types.h:#include "BBStatus.h"
⋮
./BBStatus.h:#include <stdio.h>
It's probably good to #include
We could also conditionally compile the unique_node_id() function within a #ifdef HAVE_BBAPI guard, since we only need to compile that function when using the BB.
To be complete, let's also directly include headers in axl_async_bbapi.c for other symbols we use here like gethostname, strlen, isdigit, and atoi.
Yea, I can reproduce the error in my VM locally and am including the headers. There's a few other fixes I'll need as well.
Build was successful for me after #22.
Today both @CamStan and I hit a build error caused by https://github.com/ECP-VeloC/AXL/pull/20:
Strangely, I don't hit it when building with the IBM BB API: