David:

If I read things correctly you relocated the svr4 pieces from sys to
sys/compat in todays -CURRENT. It appears that the streams module
depends on several include files which you moved. As a result, the
streams module no longer compiles. It fails in make depend with the
errors

mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@
-I@/../include -I/usr/include
/usr/src/sys/modules/streams/../../dev/streams/streams.c
/usr/src/sys/modules/streams/../../dev/streams/streams.c:57:
svr4/svr4_types.h: No such file or directory
/usr/src/sys/modules/streams/../../dev/streams/streams.c:58:
svr4/svr4_util.h: No such file or directory
/usr/src/sys/modules/streams/../../dev/streams/streams.c:59:
svr4/svr4_signal.h: No such file or directory
/usr/src/sys/modules/streams/../../dev/streams/streams.c:60:
svr4/svr4_ioctl.h: No such file or directory
/usr/src/sys/modules/streams/../../dev/streams/streams.c:61:
svr4/svr4_stropts.h: No such file or directory
/usr/src/sys/modules/streams/../../dev/streams/streams.c:62:
svr4/svr4_socket.h: No such file or directory
mkdep: compile failed
*** Error code 1

changing CFLAGS as follows

- CFLAGS+=        -O
+CFLAGS+=        -O -I{$CURDIR}/../../sys/compat

seems to fix the problem I am not sure whether this is correct form,
there may be a better way.

Regards,
George Dinolt




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to