Hallo allerseits,
habe ein kleines Problem mit dem Kompilieren von mISDN. Habe ein frisches Ubuntu 6.06 samt Kernel Sources und bereits kompiliertem Asterisk (das ging ohne Probleme).
Hier der Output, der beim Starten des mISDN install scripts kommt:
Brauche ich da eventuell ne andere GCC-Version? Bin etwas ratlos...
Chris
habe ein kleines Problem mit dem Kompilieren von mISDN. Habe ein frisches Ubuntu 6.06 samt Kernel Sources und bereits kompiliertem Asterisk (das ging ohne Probleme).
Hier der Output, der beim Starten des mISDN install scripts kommt:
Code:
Makeing mISDN
=============
cp /usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/Makefile.v2.6 /usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/Makefile
export MINCLUDES=/usr/src/installmisdn/mqueue-misdn/mISDN/include ; make -C /lib/modules/2.6.15-26-386/build SUBDIRS=/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN modules CONFIG_MISDN_DRV=m CONFIG_MISDN_DSP=m CONFIG_MISDN_HFCMULTI=m CONFIG_MISDN_HFCPCI=m CONFIG_MISDN_HFCUSB=m CONFIG_MISDN_XHFC=m CONFIG_MISDN_HFCMINI=m CONFIG_MISDN_W6692=m CONFIG_MISDN_SPEEDFAX=m CONFIG_MISDN_AVM_FRITZ=m CONFIG_MISDN_NETJET=m
make[2]: Entering directory `/usr/src/linux-headers-2.6.15-26-386'
CC [M] /usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.o
In file included from /usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/channel.h:16,
from /usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:20:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h: In function ‘mISDN_queueup_newhead’:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h:189: warning: implicit declaration of function ‘mISDN_queue_message’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h:189: error: ‘FLG_MSG_UP’ undeclared (first use in this function)
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h:189: error: (Each undeclared identifier is reported only once
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h:189: error: for each function it appears in.)
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h: In function ‘mISDN_queuedown_newhead’:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h:199: error: ‘FLG_MSG_DOWN’ undeclared (first use in this function)
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h: At top level:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h:280: error: syntax error before ‘*’ token
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h:280: error: syntax error before ‘ie_info_t’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h:280: warning: type defaults to ‘int’ in declaration of ‘mISDN_get_last_repeated_ie’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h:280: warning: function declaration isn’t a prototype
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/helper.h:280: warning: data definition has no type or storage class
In file included from /usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:20:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/channel.h: In function ‘queue_ch_frame’:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/channel.h:108: error: ‘FLG_MSG_UP’ undeclared (first use in this function)
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘write_ctrl’:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:275: error: ‘mISDNinstance_t’ has no member named ‘privat’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘hdlc_empty_fifo’:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:409: error: ‘mISDNinstance_t’ has no member named ‘privat’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘hdlc_fill_fifo’:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:478: error: ‘mISDNinstance_t’ has no member named ‘privat’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘hdlc_down’:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:769: error: ‘struct _mISDNinstance’ has no member named ‘hwlock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:775: error: ‘struct _mISDNinstance’ has no member named ‘hwlock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:781: error: ‘struct _mISDNinstance’ has no member named ‘hwlock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:784: error: ‘struct _mISDNinstance’ has no member named ‘hwlock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:791: error: ‘struct _mISDNinstance’ has no member named ‘hwlock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:804: error: ‘struct _mISDNinstance’ has no member named ‘hwlock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘release_card’:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1055: warning: implicit declaration of function ‘mISDN_ctrl’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1056: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1058: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘fritz_manager’:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1088: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1103: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1154: error: ‘FLG_MSG_UP’ undeclared (first use in this function)
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘setup_instance’:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1187: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1189: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1192: error: ‘mISDNinstance_t’ has no member named ‘hwlock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1193: error: ‘mISDNinstance_t’ has no member named ‘class_dev’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1196: warning: passing argument 4 of ‘mISDN_init_instance’ from incompatible pointer type
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1202: warning: passing argument 4 of ‘mISDN_init_instance’ from incompatible pointer type
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1204: error: ‘mISDNinstance_t’ has no member named ‘hwlock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1205: error: ‘mISDNinstance_t’ has no member named ‘class_dev’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1218: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1220: error: ‘mISDNobject_t’ has no member named ‘lock’
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c: In function ‘Fritz_init’:
/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c:1412: error: ‘mISDNobject_t’ has no member named ‘lock’
make[3]: *** [/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN/avm_fritz.o] Error 1
make[2]: *** [_module_/usr/src/installmisdn/mqueue-misdn/mISDN/drivers/isdn/hardware/mISDN] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-26-386'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/installmisdn/mqueue-misdn/mISDN'
make: *** [misdn] Error 2
Brauche ich da eventuell ne andere GCC-Version? Bin etwas ratlos...
Chris