Portál AbcLinuxu, 8. prosince 2025 01:56
Asi by to chtělo UPSku
r1Zdenek:~/ipp2p-0.7.4 # make
gcc -O3 -Wall -I/lib/modules/2.6.8-24-default/build/include -c ipt_ipp2p.c -D__KERNEL__ -DMODULE -DMODVERSIONS
ipt_ipp2p.c:2:31: linux/modversions.h: No such file or directory
In file included from /usr/include/linux/list.h:7,
from /usr/include/linux/wait.h:14,
from /usr/include/asm/semaphore.h:41,
from /usr/include/linux/sched.h:18,
from /usr/include/linux/module.h:9,
from ipt_ipp2p.c:4:
/usr/include/linux/prefetch.h: In function `prefetch_range':
/usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function)
/usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once
/usr/include/linux/prefetch.h:64: error: for each function it appears in.)
In file included from /usr/include/linux/module.h:22,
from ipt_ipp2p.c:4:
/usr/include/asm/module.h:56:2: #error unknown processor family
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:22,
from ipt_ipp2p.c:5:
/usr/include/linux/ip.h:84:22: net/sock.h: No such file or directory
In file included from /usr/include/linux/igmp.h:129,
from /usr/include/linux/ip.h:85,
from /usr/include/linux/netfilter_ipv4/ip_tables.h:22,
from ipt_ipp2p.c:5:
/usr/include/linux/skbuff.h:30:26: net/checksum.h: No such file or directory
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:22,
from ipt_ipp2p.c:5:
/usr/include/linux/ip.h:86:22: net/flow.h: No such file or directory
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:22,
from ipt_ipp2p.c:5:
/usr/include/linux/ip.h: At top level:
/usr/include/linux/ip.h:143: error: field `fl' has incomplete type
/usr/include/linux/ip.h:153: error: field `sk' has incomplete type
In file included from ipt_ipp2p.c:6:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include linux/*.h or"
/usr/include/linux/version.h:12:2: #error "asm/*.h as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Configure kernel sources:"
/usr/include/linux/version.h:23:2: #error " - cd /usr/src/linux"
/usr/include/linux/version.h:24:2: #error " - make mrproper"
/usr/include/linux/version.h:25:2: #error " - make cloneconfig"
/usr/include/linux/version.h:26:2: #error " - make dep"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:29:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:30:2: #error ""
/usr/include/linux/version.h:31:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:32:2: #error ""
/usr/include/linux/version.h:33:2: #error " instead of"
/usr/include/linux/version.h:34:2: #error ""
/usr/include/linux/version.h:35:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:36:2: #error ""
/usr/include/linux/version.h:37:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:38:2: #error "======================================================="
ipt_ipp2p.c:9:21: net/tcp.h: No such file or directory
ipt_ipp2p.c:10:21: net/udp.h: No such file or directory
ipt_ipp2p.c:529:40: missing binary operator before token "("
ipt_ipp2p.c: In function `match':
ipt_ipp2p.c:563: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:564: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:565: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:566: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:575: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:575: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:575: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:575: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:575: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:575: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:595: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:595: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:595: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:595: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:595: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:595: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:629:40: missing binary operator before token "("
ipt_ipp2p.c:637:41: missing binary operator before token "("
ipt_ipp2p.c: At top level:
ipt_ipp2p.c:535: warning: `match' defined but not used
ipt_ipp2p.c:616: warning: `checkentry' defined but not used
make: *** [ipt_ipp2p.o] Error 1
nějaké nápady?
Díky Zdeněk
r1Zdenek:~/ipp2p-0.7.4 # make
gcc -O3 -Wall -I/lib/modules/2.6.8-24-default/build/include -c ipt_ipp2p.c -D__KERNEL__ -DMODULE -DMODVERSIONS
ipt_ipp2p.c:2:31: linux/modversions.h: No such file or directory
In file included from /usr/include/linux/list.h:7,
from /usr/include/linux/wait.h:14,
from /usr/include/asm/semaphore.h:41,
from /usr/include/linux/sched.h:18,
from /usr/include/linux/module.h:9,
from ipt_ipp2p.c:4:
/usr/include/linux/prefetch.h: In function `prefetch_range':
/usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function)
/usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once
/usr/include/linux/prefetch.h:64: error: for each function it appears in.)
In file included from /usr/include/linux/module.h:22,
from ipt_ipp2p.c:4:
/usr/include/asm/module.h:56:2: #error unknown processor family
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:22,
from ipt_ipp2p.c:5:
/usr/include/linux/ip.h:84:22: net/sock.h: No such file or directory
In file included from /usr/include/linux/igmp.h:129,
from /usr/include/linux/ip.h:85,
from /usr/include/linux/netfilter_ipv4/ip_tables.h:22,
from ipt_ipp2p.c:5:
/usr/include/linux/skbuff.h:30:26: net/checksum.h: No such file or directory
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:22,
from ipt_ipp2p.c:5:
/usr/include/linux/ip.h:86:22: net/flow.h: No such file or directory
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:22,
from ipt_ipp2p.c:5:
/usr/include/linux/ip.h: At top level:
/usr/include/linux/ip.h:143: error: field `fl' has incomplete type
/usr/include/linux/ip.h:153: error: field `sk' has incomplete type
In file included from ipt_ipp2p.c:6:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include linux/*.h or"
/usr/include/linux/version.h:12:2: #error "asm/*.h as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Configure kernel sources:"
/usr/include/linux/version.h:23:2: #error " - cd /usr/src/linux"
/usr/include/linux/version.h:24:2: #error " - make mrproper"
/usr/include/linux/version.h:25:2: #error " - make cloneconfig"
/usr/include/linux/version.h:26:2: #error " - make dep"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:29:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:30:2: #error ""
/usr/include/linux/version.h:31:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:32:2: #error ""
/usr/include/linux/version.h:33:2: #error " instead of"
/usr/include/linux/version.h:34:2: #error ""
/usr/include/linux/version.h:35:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:36:2: #error ""
/usr/include/linux/version.h:37:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:38:2: #error "======================================================="
ipt_ipp2p.c:9:21: net/tcp.h: No such file or directory
ipt_ipp2p.c:10:21: net/udp.h: No such file or directory
ipt_ipp2p.c:529:40: missing binary operator before token "("
ipt_ipp2p.c: In function `match':
ipt_ipp2p.c:563: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:564: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:565: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:566: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:575: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:575: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:575: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:575: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:575: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:575: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:595: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:595: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:595: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:595: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:595: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:595: error: dereferencing pointer to incomplete type
ipt_ipp2p.c:629:40: missing binary operator before token "("
ipt_ipp2p.c:637:41: missing binary operator before token "("
ipt_ipp2p.c: At top level:
ipt_ipp2p.c:535: warning: `match' defined but not used
ipt_ipp2p.c:616: warning: `checkentry' defined but not used
make: *** [ipt_ipp2p.o] Error 1
nějaké nápady?
Díky Zdeněk
make oldconfig)
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.