From owner-freebsd-questions Sun Feb 11 14: 9:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dc-mx06.cluster0.hsacorp.net (unknown [209.225.8.16]) by hub.freebsd.org (Postfix) with ESMTP id 338E837B401 for ; Sun, 11 Feb 2001 14:09:35 -0800 (PST) Received: from [24.240.240.174] (HELO mugwump_douggarrick) by dc-mx06.cluster0.hsacorp.net (CommuniGate Pro SMTP 3.4b1) with SMTP id 25663839 for freebsd-questions@FreeBSD.ORG; Sun, 11 Feb 2001 17:09:31 -0500 From: Douglas C.Garrick Organization: personal To: freebsd-questions@FreeBSD.ORG Subject: Kernel Build for a firewall / gateway Date: Sun, 11 Feb 2001 14:47:56 +0000 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain X-Chameleon-Return-To: Douglas C. Garrick MIME-Version: 1.0 Message-Id: <01021115192001.05318@mugwump_douggarrick> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm not sure what I am doing wrong with this thing so I'm asking for some help. ( I hope this is actually a hard problem and not something really easy that I should have caught sooner this.) So thanks in advance for your time and help ) Here's the situation. I just got a cable modem. I want to build a machine that will forward internet traffic from the rest of my home network.. The machine is a pretty standard clone. Asus P5 166 mhz MB, 64 Mbytes of ram, Quantum IDE/ATA disk drive, SONY IDE/ATA cdrom, no floppies. Here's what I am doing for the network. I have a 3com 3c509b on the private side and a 3com 3c905xl on the public side. Both of these interfaces come up and are available to their respective networks. I have enabled routed, natd, and ipfirewall in /etc/rc.conf. I have added options for IPFIREWALL and IPDIVERT to ../i386/conf/config-file. I do not enable IPv6 support anywhere. I cannot get this kernel to compile to save my life. Here's what I've done to this point. I've tried building the kernel with the "config config-file' method to no avail. "Config" works fine, "make depend" works fine, then "make" always fails with a syntax error. Thinking that it may be dependency or probe order issue I'll check the config file and try again. The next time through I'll get a syntax error at a different *c file. I then figured that I should try /usr/src/make world, make buildkernel, make installkernel method. That fails with a syntax error(s) like the other method. It actually seems like it's a compliler error rather than a code error. hmm... is this a compatibliity thing? I've done several FreeBSD systems with nothing but great success. I use them for ppp routers and www servers and just general workstations but now my teenage daughter ( whose life depends on the availability of instant messaging on the computer in her room ) is starting to question my ability. Doug Garrick douggarrick@sweetwaterhsa.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message