All,<br><br>I'm installing Asterisk with Dahdi on a server with a custom kernel compile. I've got the kernel source in /lib/modules/2.6.34.6-xxxx-grs-ipv6-64/build which points to /usr/src/linux-headers-2.6.34.6 and I think that's fine, but am getting all these "struct module" errors.<br>
<br>Can anyone advise? Thanks!<br><br><br># make<br>make -C drivers/dahdi/firmware firmware-loaders<br>make[1]: entrant dans le répertoire « /usr/src/dahdi-linux-2.4.0/drivers/dahdi/firmware »<br>make[1]: quittant le répertoire « /usr/src/dahdi-linux-2.4.0/drivers/dahdi/firmware »<br>
make -C /lib/modules/2.6.34.6-xxxx-grs-ipv6-64/build SUBDIRS=/usr/src/dahdi-linux-2.4.0/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-2.4.0/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m<br>
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.34.6 »<br> CC [M] /usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.o<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_register_tone_zone’:<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:1440: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘start_tone’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:1514: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_chan_reg’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:1638: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_ppp_xmit’:<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:1910: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:1913: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_chan_unreg’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2013: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_rbs_sethook’:<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2425: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2429: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2433: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2477: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_cas_setbits’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2489: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_timer_release’:<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2732: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_read’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2943: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_write’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:2974: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘ioctl_load_zone’:<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3041: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3081: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3109: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3137: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_mf_tone’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3237: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_release’:<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3460: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_alarm_notify’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3532: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3544: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3549: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:3554: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_common_ioctl’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4055: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4057: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4059: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4061: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4063: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4065: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4067: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4069: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4071: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4074: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4076: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4079: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4082: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_ctl_ioctl’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4283: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4409: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4627: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘ioctl_dahdi_dial’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:4686: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_chanandpseudo_ioctl’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5132: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5134: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5141: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5143: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5145: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5148: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘ioctl_echocancel’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5325: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5340: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘set_echocan_fax_mode’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5372: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5374: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5376: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5384: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5389: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5394: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5396: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5399: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5407: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5412: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_chan_ioctl’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5722: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_prechan_ioctl’:<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5817: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_ioctl’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5889: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_register’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5945: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5951: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5966: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:5976: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:6011: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:6018: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_unregister’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:6049: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:6058: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:6062: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:6092: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘process_echocan_events’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:7092: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:7102: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘__putbuf_chunk’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:7594: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:7668: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:7810: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_poll’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:8082: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘coretimer_func’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:8448: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_receive’:<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:8559: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_init’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:8712: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:8722: error: invalid use of undefined type ‘struct module’<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:8723: error: invalid use of undefined type ‘struct module’<br>
/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c: In function ‘dahdi_cleanup’:<br>/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.c:8752: error: invalid use of undefined type ‘struct module’<br>make[2]: *** [/usr/src/dahdi-linux-2.4.0/drivers/dahdi/dahdi-base.o] Erreur 1<br>
make[1]: *** [_module_/usr/src/dahdi-linux-2.4.0/drivers/dahdi] Erreur 2<br>make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.34.6 »<br>make: *** [modules] Erreur 2<br><br clear="all"><br>-- <br>David Cunningham, Voisonics<br>
<a href="http://voisonics.com/" target="_blank">http://voisonics.com/</a><br>US toll-free: +1 888 842 2720<br>UK: +44 (0) 20 3298 1642<br>Australia: +61 (0) 2 8063 9019<br><br>