[asterisk-bugs] [DAHDI-linux 0014402]: implicit declaration of function 'module_refcount' when building dahdi
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Feb 4 09:40:33 CST 2009
The following issue has been SUBMITTED.
======================================================================
http://bugs.digium.com/view.php?id=14402
======================================================================
Reported By: sruffell
Assigned To: tzafrir
======================================================================
Project: DAHDI-linux
Issue ID: 14402
Category: Astribank (xpp)
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Target Version: 2.2.0
======================================================================
Date Submitted: 2009-02-04 09:40 CST
Last Modified: 2009-02-04 09:40 CST
======================================================================
Summary: implicit declaration of function 'module_refcount'
when building dahdi
Description:
When building dahdi-linux 2.1.0.4 a user received the following error
/usr/src/asterisk/1.6/dahdi-linux-2.1.0.4/drivers/dahdi/xpp/xproto.c: In
function 'xproto_get':
/usr/src/asterisk/1.6/dahdi-linux-2.1.0.4/drivers/dahdi/xpp/xproto.c:96:
error: implicit declaration of function 'module_refcount'
make[3]: ***
This was since his kernel did not define CONFIG_MODULE_UNLOAD and
module_refcount is only defined when CONFIG_MODULE_UNLOAD is defined.
See line 391 in
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=include/linux/module.h;h=f3b8329eb5b877d7233ab66d566dd280fc78536c;hb=HEAD
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-02-04 09:40 sruffell New Issue
2009-02-04 09:40 sruffell Status new => assigned
2009-02-04 09:40 sruffell Assigned To => tzafrir
======================================================================
More information about the asterisk-bugs
mailing list