Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 1997 12:01:59 +0200 (MEST)
From:      Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
To:        multimedia@freebsd.org
Subject:   snd970726.tgz feedback (kernel build failure)
Message-ID:  <199707291001.MAA00484@gil.physik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help

Just grabbed the tarball, unpacked it into an empty 
/sys/i386/isa/sound  directory and started a kernel build:

L -include opt_global.h  ../../i386/isa/sound/gus_vol.c
cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith  -nostdinc -I- -I. -I../.. -I../../../include -DGUSMAX -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL -include opt_global.h  ../../i386/isa/sound/gus_wave.c
In file included from ../../i386/isa/sound/gus_wave.c:35:
machine/clock.h:42: parse error before `timer_freq'
machine/clock.h:42: warning: data definition has no type or storage class
machine/clock.h:44: parse error before `timer0_overflow_threshold'
machine/clock.h:44: warning: data definition has no type or storage class
machine/clock.h:45: parse error before `timer0_prescaler_count'
machine/clock.h:45: warning: data definition has no type or storage class
machine/clock.h:53: parse error before `__P'
machine/clock.h:54: parse error before `__P'
machine/clock.h:55: parse error before `)'
machine/clock.h:56: parse error before `__P'
machine/clock.h:57: parse error before `__P'
machine/clock.h:58: parse error before `__P'
machine/clock.h:60: parse error before `__P'
machine/clock.h:65: parse error before `__P'
*** Error code 1

Stop.
# 

Looks like gus_wave.c could deserve a #include <sys/types.h> prior
to inclusion of <machine/clock.h>.

Having gotten across this I'm still stuck with:

. -I../../../include -DGUSMAX -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL -include opt_global.h -c vers.c
loading kernel
ioconf.o: Undefined symbol `_gusdriver' referenced from data segment
ioconf.o: Undefined symbol `_gusintr' referenced from data segment
*** Error code 1

Stop.


-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707291001.MAA00484>