From owner-freebsd-questions Sun Feb 23 16:32:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA13002 for questions-outgoing; Sun, 23 Feb 1997 16:32:25 -0800 (PST) Received: from rifle.ACNS.ColoState.EDU (rifle.ACNS.ColoState.EDU [129.82.100.100]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id QAA12991 for ; Sun, 23 Feb 1997 16:32:18 -0800 (PST) From: gerard@holly.colostate.edu Received: from holly.ACNS.ColoState.EDU by rifle.ACNS.ColoState.EDU (AIX 3.2/UCB 5.64/4.03) id AA51015; Sun, 23 Feb 1997 17:32:11 -0700 Received: from ts1109.SLIP.ColoState.EDU (ts1109.SLIP.ColoState.EDU [129.82.192.13]) by holly.ColoState.EDU (AIX4.2/UCB 8.7/8.7) with SMTP id RAA110270 for ; Sun, 23 Feb 1997 17:32:06 -0700 (MST) Message-Id: <3310E283.2606@holly.colostate.edu> Date: Sun, 23 Feb 1997 17:36:19 -0700 X-Mailer: Mozilla 3.01Gold (Win16; I) Mime-Version: 1.0 To: freebsd-questions@freebsd.org Subject: kernel compile error - sl, tun Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm having problems compiling the kernel. After I config, then 'make depend' in compile/MYKERNEL, 'make' runs for awhile then it stops with the following: ------------------------------ cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -nostdinc -I. -I../.. -I../../sys -I../../../include -DMYKERNEL -DI586_CPU -DATAPI -DSYSVMSG -DSYSVSEM -DSYSVSHM -DVISUAL_USERCONFIG -DUSERCONFIG -DUCONSOLE -DBOUNCE_BUFFERS -DCOMPAT_43 -DPROCFS -DNFS -DFFS -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 ../../net/if_sl.c ../../net/if_sl.c:101: parse error before `?' In file included from ../../net/if_sl.c:104: ../../net/slcompress.h:125: field `csu_ip' has incomplete type ../../net/slcompress.h:127: parse error before `}' ../../net/slcompress.h:150: field `tstate' has incomplete type ../../net/slcompress.h:151: field `rstate' has incomplete type ../../net/if_sl.c: In function `slinit': ../../net/if_sl.c:244: structure has no member named `sc_comp' ../../net/if_sl.c: In function `sloutput': ../../net/if_sl.c:452: dereferencing pointer to incomplete type ../../net/if_sl.c:452: `IPPROTO_ICMP' undeclared (first use this function) ../../net/if_sl.c:452: (Each undeclared identifier is reported only once ../../net/if_sl.c:452: for each function it appears in.) ../../net/if_sl.c:456: dereferencing pointer to incomplete type ../../net/if_sl.c:456: `IPTOS_LOWDELAY' undeclared (first use this function) ../../net/if_sl.c: In function `slstart': ../../net/if_sl.c:556: dereferencing pointer to incomplete type ../../net/if_sl.c:556: `IPPROTO_TCP' undeclared (first use this function) ../../net/if_sl.c:559: structure has no member named `sc_comp' ../../net/if_sl.c:485: warning: `ip' might be used uninitialized in this function ../../net/if_sl.c: In function `slinput': ../../net/if_sl.c:807: `IPVERSION' undeclared (first use this function) ../../net/if_sl.c:821: structure has no member named `sc_comp' ../../net/if_sl.c:827: structure has no member named `sc_comp' ../../net/if_sl.c:861: `ipintrq' undeclared (first use this function) *** Error code 1 Stop. ------------------------------------------------------------- Does anyone know what the problem might be? If I comment out the 'pseudo- device sl 1' line in the kernel, similar messages are displayed regarding if_tun.c when it stops. If it helps, I downloaded the ssys.?? files from ftp.freebsd.org, my computer's a 75 Pentium with very newly installed 2.1.7, and here's the part of MYKERNEL dealing with slip and tun. pseudo-device loop #pseudo-device ether pseudo-device log pseudo-device sl 1 # ijppp uses tun instead of ppp device #pseudo-device ppp 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's Thanks for any help! GRG