Subject: altq problems
To: None <netbsd-help@netbsd.org>
From: Matt Bell <mtbell@micropede.com>
List: netbsd-help
Date: 08/21/2001 23:56:46
Hi,

I have a netbsd current (1.5X) i386 box and am trying to get altq working
on it. I start by adding the ALTQ options to the kernel like so:


# ALTQ options
options         ALTQ            # alternate queueing
options         ALTQ_CBQ        # class based queueing
options         ALTQ_WFQ        # weighted fair queueing
options         ALTQ_FIFOQ      # fifo queueing
options         ALTQ_RED        # random early detection
#options        ALTQ_FLOWVALVE  # flowvalve for RED (needs RED)
options         ALTQ_RIO        # triple red for diffserv (needs RED)
#options        ALTQ_LOCALQ     # local use
options         ALTQ_HFSC       # hierarchical fair service curve
#options        ALTQ_ECN        # ecn extention to tcp (needs RED)
#options        ALTQ_IPSEC      # check ipsec in IPv4
options         ALTQ_CDNR       # diffserv traffic conditioner
#options        ALTQ_BLUE       # blue by wu-chang feng
options         ALTQ_PRIQ       # priority queue
#options        ALTQ_NOPCC      # don't use processor cycle counter
#options        ALTQ_DEBUG      # for debugging

I then try to build this kernel and get this error:

cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes
-Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch
-I../../../.. -nostdinc -DLKM -DIPSEC_DEBUG -DMAXUSERS=32 -D_KERNEL
-D_KERNEL_OPT -Di386  -c ../../../../net/if_spppsubr.c
../../../../net/if_spppsubr.c: In function `sppp_flush':
../../../../net/if_spppsubr.c:1022: structure has no member named
`altq_flags'
../../../../net/if_spppsubr.c:1022: structure has no member named
`altq_request'
../../../../net/if_spppsubr.c:1023: structure has no member named
`altq_flags'
../../../../net/if_spppsubr.c:1023: structure has no member named
`altq_request'
../../../../net/if_spppsubr.c: In function `sppp_cisco_input':
../../../../net/if_spppsubr.c:1233: structure has no member named
`altq_flags'
../../../../net/if_spppsubr.c:1233: structure has no member named
`altq_request'
../../../../net/if_spppsubr.c: In function `sppp_cp_input':
../../../../net/if_spppsubr.c:1742: structure has no member named
`altq_flags'
../../../../net/if_spppsubr.c:1742: structure has no member named
`altq_request'
../../../../net/if_spppsubr.c: In function `sppp_lcp_RCR':
../../../../net/if_spppsubr.c:2292: structure has no member named
`altq_flags'
../../../../net/if_spppsubr.c:2292: structure has no member named
`altq_request'
../../../../net/if_spppsubr.c: In function `sppp_keepalive':
../../../../net/if_spppsubr.c:4673: structure has no member named
`altq_flags'
../../../../net/if_spppsubr.c:4673: structure has no member named
`altq_request'
*** Error code 1

Stop.

Can anyone tell me what I am doing wrong?

-Matt