talloc.h not found but libtalloc-dev is installed

Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri May 31 18:43:14 CEST 2013


On 31 May 2013, at 10:05, Arran Cudbard-Bell <a.cudbardb at freeradius.org> wrote:

> 
> On 31 May 2013, at 09:03, Alan DeKok <aland at deployingradius.com> wrote:
> 
>> Phil Mayers wrote:
>>> Looks like it's trying to use a clang argument with gcc. Probably
>>> related to commit 4cbe9552c
>> 
>> Yeah.  Clang shows up as "GCC" on configure's tests.  Arran didn't
>> check to see if that really was clang.
> 
> Because you shouldn't need to, it was intentional. With -Werror GCC should warn (and therefore fail) if the argument isn't supported.

Ok pushed a better fix.

The issue is -Q has a different meaning in GCC.

       -Q  Makes the compiler print out each function name as it is compiled, and print some 		statistics about each pass when it finishes.

Note that Q does not take additional parameters, yet GCC does not complain (in some versions) when we pass:

	-Qunused-arguments

The fix is:
	-Werror -Qunused-arguments -foobar

If -Qunused-arguments has the desired effect, -foobar won't generate a warning.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team



More information about the Freeradius-Users mailing list