OpenSolaris

Printable Version Enter a New Search
Bug ID 6600970
Synopsis warlock failed due to function declaration conflict in ddi_dki_comm.inc and ddi_dki_impl.c
State 10-Fix Delivered (Fix available in build)
Category:Subcategory driver:usb
Keywords
Responsible Engineer Aaron Zang
Reported Against snv_72
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_75
Fixed In snv_75
Release Fixed solaris_nevada(snv_75)
Related Bugs 6464720
Submit Date 5-September-2007
Last Update Date 6-November-2008
Description
make warlock in usr/src/uts/intel/warlock will fail now with the following error message:

/opt/warlock/bin/wlcc -D_KERNEL -D_SYSCALL32 -D_DDI_STRICT  -DC2_AUDIT   -I../../intel -Y I,../../common  -DDEBUG -o ddi_dki_impl.ll ../../common/io/warlock/ddi_dki_impl.c
"../../common/io/warlock/ddi_dki_comm.inc", line 71: identifier redeclared: mod_remove
        current : function(void) returning int
        previous: function(pointer to struct modlinkage {int ml_rev, array[4] of pointer to void ml_linkage}) returning int : "../../common/sys/modctl.h", line 633
"../../common/io/warlock/ddi_dki_impl.c", line 48: identifier redeclared: _info
        current : function(void) returning int
        previous: function(pointer to struct modinfo {int mi_info, int mi_state, int mi_id, int mi_nextid, pointer to char mi_base, unsigned long mi_size, int mi_rev, int mi_loadcnt, array[32] of char mi_name, array[10] of struct modspecific_info {..} mi_msinfo}) returning int : "../../common/sys/modctl.h", line 631

*** Error code 2
make: Fatal error: Command failed for target `ddi_dki_impl.ll'
Failing to compile ddi_dki_impl.c will fail all the warlock checking in drivers which support warlock, this bug is *not* a USB specific one.
Work Around
N/A
Comments
N/A