* Today CVS and 2.4.19-pre10 issue
@ 2002-06-05 4:27 Thomas T. Soares
2002-06-05 6:54 ` Fabrice MARIE
0 siblings, 1 reply; 2+ messages in thread
From: Thomas T. Soares @ 2002-06-05 4:27 UTC (permalink / raw)
To: netfilter-devel
Hi all... me again :-(
I am trying to make work H.323...
Today cvs of netfilter and 2.4.19-pre10:
1- kerner sources at /coisas/linux
2- export KERNEL_DIR=/coisas/linux
3- cd /CVSs/netfilter-cvs/userspace
4- ./runme --batch base extra
...
some rejects answered with 'N'
...
5- kernel and modules compiled OK but not installed...
6- ln -s /coisas/linux /usr/src/linux just to make sure ;-)
7- at /CVSs/netfilter-cvs/userspace
make
...
cc -O2 -Wall -Wunused -I/coisas/linux/include -Iinclude/
-DIPTABLES_VERSION=\"1.2.7\" -fPIC -o extensions/libipt_mark_sh.o -c
extensions/libipt_mark.c
extensions/libipt_mark.c: In function `parse':
extensions/libipt_mark.c:67: structure has no member named `bit_op'
extensions/libipt_mark.c:67: `IPT_MARK_BIT_OP_NONE' undeclared (first
use in this function)
extensions/libipt_mark.c:67: (Each undeclared identifier is reported
only once
extensions/libipt_mark.c:67: for each function it appears in.)
extensions/libipt_mark.c:77: structure has no member named `bit_op'
extensions/libipt_mark.c:77: `IPT_MARK_BIT_OP_OR' undeclared (first use
in this function)
extensions/libipt_mark.c:86: structure has no member named `bit_op'
extensions/libipt_mark.c:86: `IPT_MARK_BIT_OP_AND' undeclared (first use
in this function)
extensions/libipt_mark.c: In function `print':
extensions/libipt_mark.c:113: structure has no member named `bit_op'
extensions/libipt_mark.c:113: `IPT_MARK_BIT_OP_AND' undeclared (first
use in this function)
extensions/libipt_mark.c:116: structure has no member named `bit_op'
extensions/libipt_mark.c:116: `IPT_MARK_BIT_OP_OR' undeclared (first use
in this function)
extensions/libipt_mark.c: In function `save':
extensions/libipt_mark.c:131: structure has no member named `bit_op'
extensions/libipt_mark.c:133: `IPT_MARK_BIT_OP_AND' undeclared (first
use in this function)
extensions/libipt_mark.c:135: break statement not within loop or switch
extensions/libipt_mark.c:136: `IPT_MARK_BIT_OP_OR' undeclared (first use
in this function)
extensions/libipt_mark.c:138: break statement not within loop or switch
extensions/libipt_mark.c:139: `IPT_MARK_BIT_OP_NONE' undeclared (first
use in this function)
extensions/libipt_mark.c:141: break statement not within loop or switch
make: *** [extensions/libipt_mark_sh.o] Error 1
What I am doing wrong here...? :-(
--
| Thomas Tschoepke Soares | // En brujas no
| ttsoares AT brturbo DOT com |(~~~//'~) acreo...
|--UIN:961141-------------------------------| \ / pero que las hay,
| The fact is a secondary aspect of reality | `\_/' las hay !
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Today CVS and 2.4.19-pre10 issue
2002-06-05 4:27 Today CVS and 2.4.19-pre10 issue Thomas T. Soares
@ 2002-06-05 6:54 ` Fabrice MARIE
0 siblings, 0 replies; 2+ messages in thread
From: Fabrice MARIE @ 2002-06-05 6:54 UTC (permalink / raw)
To: Thomas T. Soares, netfilter-devel
Hello,
On Wednesday 05 June 2002 12:27, Thomas T. Soares wrote:
> Hi all... me again :-(
> I am trying to make work H.323...
> 4- ./runme --batch base extra
> cc -O2 -Wall -Wunused -I/coisas/linux/include -Iinclude/
> -DIPTABLES_VERSION=\"1.2.7\" -fPIC -o extensions/libipt_mark_sh.o -c
> extensions/libipt_mark.c
> extensions/libipt_mark.c: In function `parse':
> extensions/libipt_mark.c:67: structure has no member named `bit_op'
> extensions/libipt_mark.c:67: `IPT_MARK_BIT_OP_NONE' undeclared (first
> use in this function)
> extensions/libipt_mark.c:67: (Each undeclared identifier is reported
> only once
> [etc...]
> What I am doing wrong here...? :-(
Seems like the patch extra/mark-bitwise-ops got applied only half way: the userspace part only
and not the kernel header part (which would be quite unlikely).
Can you check that the file /usr/include/linux points to /usr/src/linux/include/linux ? :
# ls -dl /usr/include/linux
lrwxrwxrwx 1 root root 28 May 16 16:27 /usr/include/linux -> /usr/src/linux/include/linux/
If it doesn't, then make it point to it.
That's all I can think of. I've just tried, to apply the patches like you did,
with pre10 and the latest netfilter cvs snapshot and libipt_mark compiles fine :
...
cc -O2 -Wall -Wunused -I/usr/src/linux//include -Iinclude/
-DIPTABLES_VERSION=\"1.2.7\" -fPIC -o extensions/libipt_mark_sh.o
-c extensions/libipt_mark.c
ld -shared -o extensions/libipt_mark.so extensions/libipt_mark_sh.o
...
Have a nice day,
Fabrice.
--
Fabrice MARIE
Senior R&D Engineer
Celestix Networks
http://www.celestix.com/
"Silly hacker, root is for administrators"
-Unknown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-05 6:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-05 4:27 Today CVS and 2.4.19-pre10 issue Thomas T. Soares
2002-06-05 6:54 ` Fabrice MARIE
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.