Hmm how do you mean that?
I comented out the exit1 and then i have this with configure && make:
configure: -------------------------------------------------------------
configure: MasarLabs Arp Filter - noarp 2.0.2
configure: -------------------------------------------------------------
configure: kernel version: 2.6.11-1.27_FC3smp
configure: kernel headers: /lib/modules/2.6.11-1.27_FC3smp/build/include
configure: max ip: 16
configure: install module: /usr/local/lib/modules/2.6.11-1.27_FC3smp/local
configure: install sbin: /usr/local/sbin
configure: install man: /usr/local/man
configure: -------------------------------------------------------------
configure: WARNING: cannot find vmlinux in your kernel build directory,
configure: WARNING: loading 'noarp' module will taint your kernel
[root@telemach3 noarp-2.0.2]# make
make all-recursive
make[1]: Entering directory `/root/bin/noarp-2.0.2'
Making all in module
make[2]: Entering directory `/root/bin/noarp-2.0.2/module'
if test "x" = "x" ;\
then \
mv Makefile Makefile.auto ; \
mv Makefile.module Makefile ; \
make -C /root/bin/noarp-2.0.2/kbuild SUBDIRS=/root/bin/noarp-2.0.2/module
modules ; \
RC=$? ; \
mv Makefile Makefile.module ; \
mv Makefile.auto Makefile ; \
exit $RC ; \
fi
make[3]: Entering directory `/lib/modules/2.6.11-1.27_FC3smp/build'
CC [M] /root/bin/noarp-2.0.2/module/noarp.o
/root/bin/noarp-2.0.2/module/noarp.c: In function `noarp_proc_read':
/root/bin/noarp-2.0.2/module/noarp.c:410: Warnung: Rückgabewert von
»copy_to_user«, das mit dem Attribut warn_unused_result definiert wurde,
wird ignoriert
Building modules, stage 2.
MODPOST
CC /root/bin/noarp-2.0.2/module/noarp.mod.o
LD [M] /root/bin/noarp-2.0.2/module/noarp.ko
make[3]: Leaving directory `/lib/modules/2.6.11-1.27_FC3smp/build'
make[2]: Leaving directory `/root/bin/noarp-2.0.2/module'
Making all in control
make[2]: Entering directory `/root/bin/noarp-2.0.2/control'
if gcc -DHAVE_CONFIG_H -I.. -I.. -I../kbuild/include -Wall -Wcast-align
-Wwrite-strings -Wstrict-prototypes -Wno-sign-compare -g -O2 -MT
noarpctl.o -MD -MP -MF ".deps/noarpctl.Tpo" -c -o noarpctl.o noarpctl.c; \
then mv -f ".deps/noarpctl.Tpo" ".deps/noarpctl.Po"; else rm -f
".deps/noarpctl.Tpo"; exit 1; fi
In Datei, eingefügt von ../kbuild/include/linux/kmod.h:22,
von noarpctl.c:41:
../kbuild/include/linux/config.h:6:2: #error including kernel header in
userspace; use the glibc headers instead!
make[2]: *** [noarpctl.o] Fehler 1
make[2]: Leaving directory `/root/bin/noarp-2.0.2/control'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/root/bin/noarp-2.0.2'
make: *** [all] Fehler 2
On Mon, 30 May 2005 10:07:38 -0400
Mack.Joseph@xxxxxxxxxxxxxxx wrote:
Joseph Mack PhD, High Performance Computing & Scientific Visualisation
LMIT, Supporting the EPA Research Triangle Park, NC 919-541-0007 Federal
Infrastructure Contact-Ravi Nair 919-541-5467 - nair.ravi@xxxxxxx,
Federal Visualization Contact - Joe Retzer, Ph.D. 919-541-4190 -
retzer.joseph@xxxxxxx
lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx wrote on 05/30/2005 08:29:45
AM:
I can't compile the noarp module i got errors in configure
and in make
also:
configure: error: cannot find <linux/netfilter_arp.h> in
/lib/modules/2.6.11-1.27_FC3smp/build/include !
But:
ll /lib/modules/2.6.11-1.27_FC3smp/build/include/linux/netfilter_arp.h
-rw-r--r-- 1 root root 406 2 Mar 08:37 /lib/modules/2.6.11-1.27
_FC3smp/build/include/linux/netfilter_arp.h
it seems to be there :-)
the configure script is not very smart.
You'll probably find that the conftest program failed
and configure assumes that this is the reason for
the failure. Try writing the conftest program
for this test and running it and see what the
real error is.
Joe
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
|