Today CVS and 2.4.19-pre10 issue
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.cextensions/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 onceextensions/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...? :-(
Signature · 4 lines
| 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 !
Hello,
Quoted 6 lines · Thomas T. Soares
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 -oextensions/libipt_mark_sh.o-cextensions/libipt_mark.c
Quoted 8 lines
extensions/libipt_mark.c: In function `parse':extensions/libipt_mark.c:67: structure has no member namedbit_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