Re: [patch] fix compile error in libxt_condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 2008-10-23 09:10, Thomas Jarosch wrote:
>On Thursday, 23. October 2008 14:18:26 Jan Engelhardt wrote:
>> >libxt_condition.c:95: error: static declaration of 'libxt_condition_init'
>> > follows non-static declaration ../include/xtables/internal.h:64: error:
>> > previous declaration of 'libxt_condition_init' was here
>>
>> Does this only hit libxt_condition? Who set the XTABLES_INTERNAL macro
>> to trigger inclusion of xtables/internal.h?
>
>Good question, I manually downloaded libxt_condition from your gitweb as it's 
>the only extension I needed from xtables addons. XTABLES_INTERNAL gets set
>by the "extensions/GNUmakefile" in "regular_CFLAGS".
>A quick grep reveals it gets always defined in configure.ac.

No way.

09:11 nuqneh:~/Coding/xtables-addons > grep -r XTABLES_INTERNAL .
09:11 nuqneh:~/Coding/xtables-addons > 

Wait... you downloaded libxt_condition.c from *xtables-addons*
and put it into the *iptables/* tree? Well, that is not going
to fly on its own. You need the patch of course, but then this
is not an xtables-addons problem.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux