[Asterisk-bsd] dahdi-kmod fails to compile on -CURRENT
Ian FREISLICH
ianf at clue.co.za
Mon Aug 13 13:08:03 CDT 2012
Hi
I get the following error while compiling on -CURRENT:
/usr/ports/misc/dahdi-kmod/work/dahdi-freebsd-complete-2.4.0-rc5+2.4.0-rc1/freebsd/freebsd/dahdi/../../drivers/dahdi/dahdi-base.c:9267: error: 'D_PSEUDO' undeclared here (not in a function)
*** [dahdi-base.o] Error code 1
This has disappeared from sys/conf.h
sys/conf.h:#define D_PSEUDO 0x00200000 /* make_dev() can return NULL */
----------------------------
revision 1.265
date: 2011/10/18 08:09:44; author: ed; state: Exp; lines: +0 -1
SVN rev 226500 on 2011-10-18 08:09:44Z by ed
Get rid of D_PSEUDO.
It seems the D_PSEUDO flag was meant to allow make_dev() to return NULL.
Nowadays we have a different interface for that; make_dev_p(). There's
no need to keep it there.
While there, remove an unneeded D_NEEDMINOR from the gpio driver.
----------------------------
Guess this hasn't worked for a while.
Ian
--
Ian Freislich
More information about the Asterisk-BSD
mailing list