On Sun, Jul 26, 2009 at 04:23:05PM -0700, Brian Keefer wrote:
> # make
> cc -O2 -pipe -DDEBUG -Wall -Wstrict-prototypes -Wundef -c
> /usr/src/usr.bin/aucat/aucat.c
> cc -O2 -pipe -DDEBUG -Wall -Wstrict-prototypes -Wundef -c
> /usr/src/usr.bin/aucat/abuf.c
> cc -O2 -pipe -DDEBUG -Wall -Wstrict-prototypes -Wundef -c
> /usr/src/usr.bin/aucat/aparams.c
> cc -O2 -pipe -DDEBUG -Wall -Wstrict-prototypes -Wundef -c
> /usr/src/usr.bin/aucat/aproc.c
> cc -O2 -pipe -DDEBUG -Wall -Wstrict-prototypes -Wundef -c
> /usr/src/usr.bin/aucat/dev.c
> cc -O2 -pipe -DDEBUG -Wall -Wstrict-prototypes -Wundef -c
> /usr/src/usr.bin/aucat/midi.c
> cc -O2 -pipe -DDEBUG -Wall -Wstrict-prototypes -Wundef -c
> /usr/src/usr.bin/aucat/file.c
> cc -O2 -pipe -DDEBUG -Wall -Wstrict-prototypes -Wundef -c
> /usr/src/usr.bin/aucat/headers.c
> cc -O2 -pipe -DDEBUG -Wall -Wstrict-prototypes -Wundef -c
> /usr/src/usr.bin/aucat/safile.c
> cc -O2 -pipe -DDEBUG -Wall -Wstrict-prototypes -Wundef -c
> /usr/src/usr.bin/aucat/miofile.c
> /usr/src/usr.bin/aucat/miofile.c: In function `miofile_new':
> /usr/src/usr.bin/aucat/miofile.c:69: error: `MIO_IN' undeclared
> (first use in this function)
> /usr/src/usr.bin/aucat/miofile.c:69: error: (Each undeclared
> identifier is reported only once
> /usr/src/usr.bin/aucat/miofile.c:69: error: for each function it
> appears in.)
> /usr/src/usr.bin/aucat/miofile.c:71: error: `MIO_OUT' undeclared
> (first use in this function)
> /usr/src/usr.bin/aucat/miofile.c:72: warning: implicit declaration
> of function `mio_open'
> /usr/src/usr.bin/aucat/miofile.c:72: warning: assignment makes
> pointer from integer without a cast
> /usr/src/usr.bin/aucat/miofile.c:75: warning: implicit declaration
> of function `mio_nfds'
> /usr/src/usr.bin/aucat/miofile.c:81: warning: implicit declaration
> of function `mio_close'
> /usr/src/usr.bin/aucat/miofile.c: In function `miofile_read':
> /usr/src/usr.bin/aucat/miofile.c:91: warning: implicit declaration
> of function `mio_read'
> /usr/src/usr.bin/aucat/miofile.c:94: warning: implicit declaration
> of function `mio_eof'
> /usr/src/usr.bin/aucat/miofile.c: In function `miofile_write':
> /usr/src/usr.bin/aucat/miofile.c:113: warning: implicit declaration
> of function `mio_write'
> /usr/src/usr.bin/aucat/miofile.c: In function `miofile_pollfd':
> /usr/src/usr.bin/aucat/miofile.c:137: warning: implicit declaration
> of function `mio_pollfd'
> /usr/src/usr.bin/aucat/miofile.c: In function `miofile_revents':
> /usr/src/usr.bin/aucat/miofile.c:143: warning: implicit declaration
> of function `mio_revents'
> /usr/src/usr.bin/aucat/miofile.c: In function `miofile_close':
> /usr/src/usr.bin/aucat/miofile.c:149: warning: `return' with a
> value, in function returning void
> *** Error code 1
>
> Stop in /usr/src/usr.bin/aucat (line 92 of /usr/share/mk/sys.mk).
>
>
> It's happening since yesterday. I tried cvs up'ing the changes from
> this morning and starting over--cleaned up /usr/obj, then did make
> obj && make cleandir && make depend && make. It's still failing.
>
it seems that /usr/include/sndio.h is not up to date. Does
the following help?
cd /usr/src/include
cvs update sndio.h
sudo make install
-- Alexandre