FW: Could not compile hamachi-v0.14 on Alpha-2.2.[36]
Pete Wyckoff
pw@dancer.ca.sandia.gov
Wed Apr 21 17:37:42 1999
Here's what I use:
CFLAGS=-D__KERNEL__ -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a -DBWIO_ENABLED -DMODULE
INCL=-I/usr/src/linux/include
hamachi_rx.o: hamachi.c
gcc -DRX_CHECKSUM $(CFLAGS) $(INCL) -c -o $@ $<
Watch the compilation of other kernel modules to see where I got these
from. If you're clever, you can have your Makefile invoke the one in
the kernel source, something like:
hamachi.o: hamachi.c
(cd /usr/src/linux; EXTRA_CFLAGS=-DRX_CHECKSUM make SUBDIRS=$$(pwd) $@)
But I've not been that clever myself.
-- Pete
| To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
| body of the mail, include only the text:
| unsubscribe this-list-name youraddress@wherever.org
| You will be unsubscribed as speedily as possible.