Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2000 22:24:46 -0700
From:      "George W. Dinolt" <gdinolt@pacbell.net>
To:        obrien@freebsd.org, current@freebsd.org
Subject:   streams module no longer compiles
Message-ID:  <39AF3D9E.F4874DB3@pacbell.net>

next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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