syms is defined only for WPA_TRACE_BFD: ../src/utils/trace.c: In function ‘wpa_trace_deinit’: ../src/utils/trace.c:372:7: error: ‘syms’ undeclared (first use in this function) free(syms); ^ ../src/utils/trace.c:372:7: note: each undeclared identifier is reported only once for each function it appears in make: *** [../src/utils/trace.o] Error 1 make: *** Waiting for unfinished jobs.... Add appropriate #ifdef. Signed-off-by: Eliad Peller <eliad@xxxxxxxxxx> --- src/utils/trace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/trace.c b/src/utils/trace.c index d98c4b0..d72cf60 100644 --- a/src/utils/trace.c +++ b/src/utils/trace.c @@ -369,8 +369,10 @@ void wpa_trace_check_ref(const void *addr) void wpa_trace_deinit(void) { +#ifdef WPA_TRACE_BFD free(syms); syms = NULL; +#endif /* WPA_TRACE_BFD */ } #endif /* WPA_TRACE */ -- 2.6.3 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap