Re: XTABLES errors...

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

 



On Friday 2008-08-22 12:08, Gáspár Lajos wrote:

> Hi list!
>
> I have a compile problem...
[with iptables]
>
> Jan can you help me?
>
> fw01:/usr/src/xtables# make
> make  all-recursive
> make[1]: Entering directory `/usr/src/xtables'
> Making all in extensions
> make[2]: Entering directory `/usr/src/xtables/extensions'
> GEN      initext4.c
> In file included from libxt_CLASSIFY.c:7:
> ../include/xtables.h:26: error: expected identifier or '(' before '<<' token
> ../include/xtables.h:28: error: expected identifier or '(' before '==' token
> ../include/xtables.h:30: error: expected identifier or '(' before '>>' token
> ../include/xtables.h:146: warning: 'struct xtables_match' declared inside
>
> I have strange lines in the /usr/src/xtables/include/xtables.h file:

> #define XTABLES_API_VERSION(x,y,z)    (0x10000*(x) + 0x100*(y) + z)
>
> <<<<<<< HEAD:include/xtables.h.in
> union nf_inet_addr;
> =======
> struct in_addr;
>> > > > > > > d91bd17eccd00fd392fbd89568bc21a605e84ea9:include/xtables.h.in
>
> What is wrong ????

You did a git pull (most likely) without fixing up the merge conflicts.
I do not see where union nf_inet_addr comes from, it may have been part
of my personal development tree earlier on (in which case `gitk --all`
will help you find where you are).
If you just want to get it running and do not do personal development,
I suggest you use one of the available git techniques (reset-hard,
checkout or reclone) to get a clean slate.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux