un-master
Group: Members
Posts: 19
Joined: April 2007 |
|
Posted: May 02 2007,05:20 |
|
I'm still working on this (but not posting every 5 hours) and it is going well. My problem with mkisofs went away, when I retraced my steps and recreated the dev environment. mkisofs creates a KNOPPIX image that I insert into the ISO image (using ISOMASTER) and it will boot. The programs I added with apt-get install are present and run.
I patched the kernel with the netfilter patch utility just fine, and saw added choices in the kernel config, Networking Options -> Netfilter Configuration. I can compile a test kernel and the config runs with no errors, I get a new vmlinuz-2.4.26 image in /boot.Code Sample | make menuconfig (and load the existing .config file) make dep make clean make bzImage make install | I was a little confused on using make mrproper before the above steps, as that seemed to remove the old .config file (I hoped to start with the existing DSL kernel config, then remove things).
My problem now seems to be installing iptables from source. I had originally installed iptables with apt-get, but the www.netfilter.org docs say that you should compile it against the new kernel image after it's patched. I removed iptables with apt-get remove, got the iptables source and tar -zxvf in /usr/src. The www.netfilter.org instructions say: Once your new kernel is installed, you can go ahead and compile and install the ``iptables'' package, from the `userspace/' directory as follows : # make && make install My vmlinuz-2.4.26 is in /boot, so I proceed as suggested in the INSTALL file:Code Sample | # cd /usr/src/iptables-1.3.6 # make KERNEL_DIR=/boot Extensions found: cc -O2 -Wall -Wunused -I/boot/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.6\" -D_UNKNOWN_KERNEL_POINTER_SIZE -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c make: cc: Command not found make: *** [extensions/libipt_ah_sh.o] Error 127 |
This make: cc: error is what is puzzling me now. I think it means that gcc is not installed (or perhaps more accurately, it cannot find it). gcc is installed, and should be available:
Code Sample | # which gcc /usr/bin/gcc | What am I missing here? It looks like everything should be in place for this to work.
Once this is working, should I just point the default entry in /boot/grub/menu.lst to the /boot/vmlinuz-2.4.26 image, or will I need to make changes in /boot/minirt24.gz thx
|