Hi all,

I tried to build the dummynet source in ubuntu in 2.6.31-14-generic using
the command "*make KERNELPATH=/lib/modules/2.6.31-14-generic/build
USRDIR=/usr"*.
But got errors in build. I am pasting the output of the command.

make KERNELPATH=/lib/modules/2.6.31-14-generic/build USRDIR=/usr
echo target is all
target is all
(cd ipfw && make all )
make[1]: Entering directory `/home/quamar/Desktop/ipfw3/ipfw'
Makefile:9: Building userland ipfw for  Linux
echo "Done build for Linux VER "
Done build for Linux VER
make[1]: Leaving directory `/home/quamar/Desktop/ipfw3/ipfw'
(cd dummynet2 && make all )
make[1]: Entering directory `/home/quamar/Desktop/ipfw3/dummynet2'
Makefile:30: including dummynet/Makefile
Makefile:63: "---- Building dummynet kernel module for Version 2.6"
Makefile:257: "---- Building Version 2.6 2.6 in
/lib/modules/2.6.31-14-generic/build"
make -C /lib/modules/2.6.31-14-generic/build V=1 M=`pwd` modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
    echo;                                \
    echo "  ERROR: Kernel configuration is invalid.";        \
    echo "         include/linux/autoconf.h or include/config/auto.conf are
missing.";    \
    echo "         Run 'make oldconfig && make prepare' on kernel src to fix
it.";    \
    echo;                                \
    /bin/false)
mkdir -p /home/quamar/Desktop/ipfw3/dummynet2/.tmp_versions ; rm -f
/home/quamar/Desktop/ipfw3/dummynet2/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/quamar/Desktop/ipfw3/dummynet2
/home/quamar/Desktop/ipfw3/dummynet2/Makefile:30: including
dummynet/Makefile
/home/quamar/Desktop/ipfw3/dummynet2/Makefile:63: "---- Building dummynet
kernel module for Version 2.6"
/home/quamar/Desktop/ipfw3/dummynet2/Makefile:257: "---- Building Version
2.6 2.6 in /lib/modules/2.6.31-14-generic/build"
(cat /dev/null;   echo
kernel//home/quamar/Desktop/ipfw3/dummynet2/ipfw_mod.ko;) >
/home/quamar/Desktop/ipfw3/dummynet2/modules.order
make -f /usr/src/linux-headers-2.6.31-14-generic/scripts/Makefile.modpost
/home/quamar/Desktop/ipfw3/dummynet2/Makefile:30: including
dummynet/Makefile
/home/quamar/Desktop/ipfw3/dummynet2/Makefile:63: "---- Building dummynet
kernel module for Version 2.6"
/home/quamar/Desktop/ipfw3/dummynet2/Makefile:257: "---- Building Version
2.6 2.6 in /lib/modules/2.6.31-14-generic/build"
  scripts/mod/modpost -m -a -i
/usr/src/linux-headers-2.6.31-14-generic/Module.symvers -I
/home/quamar/Desktop/ipfw3/dummynet2/Module.symvers  -o
/home/quamar/Desktop/ipfw3/dummynet2/Module.symvers -S -K
/usr/src/linux-headers-2.6.31-14-generic/Module.markers -M
/home/quamar/Desktop/ipfw3/dummynet2/Module.markers -w  -s
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make[1]: Leaving directory `/home/quamar/Desktop/ipfw3/dummynet2'
# -- windows only
[ -f ipfw/ipfw.exe ] && cp ipfw/ipfw.exe binary/ipfw.exe
make: [all] Error 1 (ignored)
[ -f dummynet2/objchk_wxp_x86/i386/ipfw.sys ] && \
        cp dummynet2/objchk_wxp_x86/i386/ipfw.sys binary/ipfw.sys
make: [all] Error 1 (ignored)


Please let me know what is the cause for error. i also installed ncurses-dev
in my system. Thanks

-- 
With regards,
Quamar Niyaz
Research Associate,
Indian Institute of Technology, Delhi
New Delhi-16
http://www.cse.iitd.ernet.in/~niyaz
_______________________________________________
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"

Reply via email to