* IPTables 1.3.0 on RaQ2
@ 2005-03-05 3:23 Jim Gifford
2005-03-05 12:57 ` Harald Welte
0 siblings, 1 reply; 4+ messages in thread
From: Jim Gifford @ 2005-03-05 3:23 UTC (permalink / raw)
To: netfilter-devel
When I tried to compile iptables 1.3.0 on a MIPS based machine (Cobalt
RaQ2), I get the following error.
# make BINDIR="/usr/bin" LIBDIR="/usr/lib" MANDIR="/usr/man"
Making dependencies: please wait...
Something wrong... deleting dependencies.
make: *** [cpu-feature-overrides.h] Error 1
Any suggestions
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: IPTables 1.3.0 on RaQ2
2005-03-05 3:23 IPTables 1.3.0 on RaQ2 Jim Gifford
@ 2005-03-05 12:57 ` Harald Welte
2005-03-05 18:18 ` Jim Gifford
2005-03-08 22:59 ` Jim Gifford
0 siblings, 2 replies; 4+ messages in thread
From: Harald Welte @ 2005-03-05 12:57 UTC (permalink / raw)
To: Jim Gifford; +Cc: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 709 bytes --]
On Fri, Mar 04, 2005 at 07:23:46PM -0800, Jim Gifford wrote:
> When I tried to compile iptables 1.3.0 on a MIPS based machine (Cobalt
> RaQ2), I get the following error.
without some information on what distribution you are using, which
kernel source version or kernel headers, ... you will certainly not
receive any answer :(
--
- Harald Welte <laforge@netfilter.org> http://netfilter.org/
============================================================================
"Fragmentation is like classful addressing -- an interesting early
architectural error that shows how much experimentation was going
on while IP was being designed." -- Paul Vixie
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: IPTables 1.3.0 on RaQ2
2005-03-05 12:57 ` Harald Welte
@ 2005-03-05 18:18 ` Jim Gifford
2005-03-08 22:59 ` Jim Gifford
1 sibling, 0 replies; 4+ messages in thread
From: Jim Gifford @ 2005-03-05 18:18 UTC (permalink / raw)
To: Harald Welte; +Cc: netfilter-devel
Harald Welte wrote:
>On Fri, Mar 04, 2005 at 07:23:46PM -0800, Jim Gifford wrote:
>
>
>>When I tried to compile iptables 1.3.0 on a MIPS based machine (Cobalt
>>RaQ2), I get the following error.
>>
>>
>
>without some information on what distribution you are using, which
>kernel source version or kernel headers, ... you will certainly not
>receive any answer :(
>
>
>
I'm using the straight kernel sources, with the patches from
linux-mips.org for 2.6.9. I'm not using any distro, I built everything
from the source codes. The particular MIPS processor I'm using doesn't
have any cpu-feature-overrides.h file.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: IPTables 1.3.0 on RaQ2
2005-03-05 12:57 ` Harald Welte
2005-03-05 18:18 ` Jim Gifford
@ 2005-03-08 22:59 ` Jim Gifford
1 sibling, 0 replies; 4+ messages in thread
From: Jim Gifford @ 2005-03-08 22:59 UTC (permalink / raw)
To: Harald Welte; +Cc: netfilter-devel
I solved the issue, it does happen with 1.3.1 also, the problem is the
headers, even after fixed the headers it still bombed. Here is the
message I posted on linux-mips list.
I found the culprit, but don't know what the proper fix is.
File - What to remove or comment out
/usr/src/linux/include/asm/cpu-features.h - #include
<cpu-feature-overrides.h>
/usr/src/linux/include/asm/addrspace.h - #include <spaces.h>
But it still fails, because it looks at the headers in /usr/include and
the ones is /usr/src/linux/include, which is what the problem is. Namely
socket.h, it tries to include both versions.
What I noticed is some of the mips architectures includes have these
files and some do not.
A workaround for those who use the linux-libc-headers to build iptables
with the following commands, but I would still comment out those files
to prevent other build issues later
make KERNEL_DIR=/usr
But I'm not sure of the stability and the functionality.
--
----
Jim Gifford
maillist@jg555.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-08 22:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-05 3:23 IPTables 1.3.0 on RaQ2 Jim Gifford
2005-03-05 12:57 ` Harald Welte
2005-03-05 18:18 ` Jim Gifford
2005-03-08 22:59 ` Jim Gifford
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.