* xtables-addons build fails
@ 2010-06-14 21:37 martinbarrowcliff
2010-06-14 23:05 ` Jan Engelhardt
2010-06-14 23:09 ` Jan Engelhardt
0 siblings, 2 replies; 3+ messages in thread
From: martinbarrowcliff @ 2010-06-14 21:37 UTC (permalink / raw)
To: netfilter-devel
A little compile problem here with xtables-addons-1.26 (and 1.27).
This is a new system. linux-2.6.34, Gcc-4.5. It runs fine otherwise.
Iptables is working. Networking is up. Ipset compiles and works.
Kernel and modules all build. All other apps compile fine so far.
I have root access via a remote term.
The same xt-a source compiles and runs on my other systems but not here?
The source builds to this point, then compile fails as below:
make[3]: Leaving directory `/usr/src/kernels/linux-2.6.34'
make -f ../Makefile.iptrules all;
make[3]: Entering directory `/usr/src/build/firewall/xtables-addons-1.27/extensions'
CC libxt_IPMARK.oo
libxt_IPMARK.c:156:2: warning: implicit declaration of function 'ALIGN'
libxt_IPMARK.c:156:19: error: initializer element is not constant
libxt_IPMARK.c:156:19: error: (near initialization for 'ipmark_tg_reg.size')
libxt_IPMARK.c:157:19: error: initializer element is not constant
libxt_IPMARK.c:157:19: error: (near initialization for
'ipmark_tg_reg.userspacesize')
make[3]: *** [libxt_IPMARK.oo] Error 1
make[3]: Leaving directory `/usr/src/build/firewall/xtables-addons-1.27/extensions'
make[2]: *** [user-all-local] Error 2
Here is where it fails in the source. Looks fine to me...
(every extension fails the same way in same places)
static struct xtables_target ipmark_tg_reg = {
.version = XTABLES_VERSION,
.name = "IPMARK",
.family = NFPROTO_UNSPEC,
.revision = 1,
>>>>> .size = XT_ALIGN(sizeof(struct xt_ipmark_tginfo)),
>>>>> .userspacesize = XT_ALIGN(sizeof(struct xt_ipmark_tginfo)),
.help = ipmark_tg_help,
.init = ipmark_tg_init,
.parse = ipmark_tg_parse,
.final_check = ipmark_tg_check,
.print = ipmark_tg_print,
.save = ipmark_tg_save,
.extra_opts = ipmark_tg_opts,
};
I don't really know why gcc is failing here; this is a new problem.
The compiler passed all tests. Looks like a missing header, but
I checked and have the whole API as far as I can tell.
I must have goofed somewhere? Can someone offer insight to this?
BTW, must mention, latest lzma says the 1.27.xz file
on sourceforge is corrupt. I used the git source instead.
Still failed.
Marty B.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: xtables-addons build fails
2010-06-14 21:37 xtables-addons build fails martinbarrowcliff
@ 2010-06-14 23:05 ` Jan Engelhardt
2010-06-14 23:09 ` Jan Engelhardt
1 sibling, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2010-06-14 23:05 UTC (permalink / raw)
To: martinbarrowcliff; +Cc: netfilter-devel
On Monday 2010-06-14 23:37, martinbarrowcliff wrote:
> A little compile problem here with xtables-addons-1.26 (and 1.27).
> This is a new system. linux-2.6.34, Gcc-4.5. It runs fine otherwise.
> Iptables is working. Networking is up. Ipset compiles and works.
> Kernel and modules all build. All other apps compile fine so far.
> I have root access via a remote term.
> The same xt-a source compiles and runs on my other systems but not here?
>
> The source builds to this point, then compile fails as below:
>
> make[3]: Leaving directory `/usr/src/kernels/linux-2.6.34'
> make -f ../Makefile.iptrules all;
> make[3]: Entering directory
> `/usr/src/build/firewall/xtables-addons-1.27/extensions'
> CC libxt_IPMARK.oo
> libxt_IPMARK.c:156:2: warning: implicit declaration of function 'ALIGN'
See http://marc.info/?t=127444218200001&r=1&w=2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: xtables-addons build fails
2010-06-14 21:37 xtables-addons build fails martinbarrowcliff
2010-06-14 23:05 ` Jan Engelhardt
@ 2010-06-14 23:09 ` Jan Engelhardt
1 sibling, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2010-06-14 23:09 UTC (permalink / raw)
To: martinbarrowcliff; +Cc: netfilter-devel
On Monday 2010-06-14 23:37, martinbarrowcliff wrote:
> BTW, must mention, latest lzma says the 1.27.xz file
> on sourceforge is corrupt. I used the git source instead.
> Still failed.
--2010-06-15 01:06:15-- http://sunet.dl.sourceforge.net/project/xtables-addons/Xtables-addons/1.27/xtables-addons-1.27.tar.xz
Resolving sunet.dl.sourceforge.net... 194.71.11.73
Connecting to sunet.dl.sourceforge.net|194.71.11.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 331224 (323K) [application/x-tar]
Saving to: `xtables-addons-1.27.tar.xz'
100%[======================================>] 331,224 7.60K/s in 31s
--2010-06-15 01:07:34-- http://heanet.dl.sourceforge.net/project/xtables-addons/Xtables-addons/1.27/xtables-addons-1.27.tar.xz.asc
Resolving heanet.dl.sourceforge.net... *a193.1.193.66, 2001:770:18:aa40::c101:c142
Connecting to heanet.dl.sourceforge.net|193.1.193.66|:80... sconnected.
HTTP request sent, awaiting response... c 200 OK
Length: 198 [text/plain]
Saving to: `xtables-addons-1.27.tar.xz.asc'
100%[======================================>] 198 --.-K/s in 0s
$ gpg --verify *asc
gpg: Signature made Sun May 16 22:20:44 2010 CEST using DSA key ID 844C4360
gpg: Good signature from "Jan Engelhardt <jengelh@gmx.de>"
$ sha1sum sf/xtables-addons-1.27.tar.xz local/xtables-addons-1.27.tar.xz
a0ac6a28de3258629c9020394f69bda5eae54e54 sf/xtables-addons-1.27.tar.xz
a0ac6a28de3258629c9020394f69bda5eae54e54 local/xtables-addons-1.27.tar.xz
$ xz -t sf/xtables-addons-1.27.tar.xz; echo $?
0
All is normal.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-14 23:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-14 21:37 xtables-addons build fails martinbarrowcliff
2010-06-14 23:05 ` Jan Engelhardt
2010-06-14 23:09 ` Jan Engelhardt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.