On Mon, 5 Dec 2011 21:43:59 +0100
Hans Petter Selasky <hsela...@c2i.net> wrote:

> Hi,
> 
> I see regressions when building kernel modules from /usr/ports:
> 
> On Monday 05 December 2011 14:39:56 Robert Huff wrote:
> > Hello:
> >       When trying to update I get:
> > 
> > ===>  Building for cuse4bsd-kmod-0.1.21_2
> > make -f
> > /data/port-work/usr/ports/multimedia/cuse4bsd-kmod/work/cuse4bsd-kmod-0.1.
> > 21/Makefile.lib HAVE_DEBUG=YES all Warning: Object directory not changed
> > from original
> > /data/port-work/usr/ports/multimedia/cuse4bsd-kmod/work/cuse4bsd-kmod-0.1.
> > 21 make -f
> > /data/port-work/usr/ports/multimedia/cuse4bsd-kmod/work/cuse4bsd-kmod-0.1.
> > 21/Makefile.kmod all "/sys/conf/kmod.mk", line 204: Malformed conditional
> > (${MK_CTF} != "no") "/sys/conf/kmod.mk", line 206: if-less endif
> > make: fatal errors encountered -- cannot continue
> > *** Error code 1
> 

I encountered this problem yesterday.  My quick hack was to put
.if defined(MK_CTF) .endif around the offending lines, similar to
EXPORT_SYMS.

-- 
Gary Jennejohn
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to