1. Mainframe s390x
2. RHEL 5.4
หลังจากสั่งคำสั่ง make ไปเจอ Error แบบนี้ครับ
- โค้ด: เลือกทั้งหมด
make[2]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/l inux/drivers/dahdi/firmware'
make -C /lib/modules/2.6.18-155.el5/build SUBDIRS=/usr/src/asterisk/dahdi-linux- complete-2.2.0+2.2.0/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/asterisk/dahdi-l inux-complete-2.2.0+2.2.0/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE =yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory `/usr/src/kernels/2.6.18-155.el5-s390x'
/usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi/Kbuild:85 : CPU Architecture 's390' does not support VPMADT032 or HPEC. Skipping.
CC [M] /usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi /dahdi-base.o
LD [M] /usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi /dahdi.o
CC [M] /usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi /dahdi_dummy.o
CC [M] /usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi /dahdi_dynamic.o
CC [M] /usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi /dahdi_dynamic_loc.o
CC [M] /usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi /dahdi_dynamic_eth.o
CC [M] /usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi /dahdi_transcode.o
CC [M] /usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi /wctdm.o
/usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi/wctdm.c: In function ?€?wctdm_hardware_init?€?:
/usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi/wctdm.c:2 216: error: implicit declaration of function ?€?outl?€?
/usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi/wctdm.c: In function ?€?wctdm_init_one?€?:
/usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi/wctdm.c:2 357: error: implicit declaration of function ?€?pci_alloc_consistent?€?
/usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi/wctdm.c:2 357: warning: assignment makes pointer from integer without a cast
/usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/dahdi/wctdm.c:2 377: error: implicit declaration of function ?€?pci_free_consistent?€?
make[3]: *** [/usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/drivers/d ahdi/wctdm.o] Error 1
make[2]: *** [_module_/usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/linux/d rivers/dahdi] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-155.el5-s390x'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.2.0+2.2.0/l inux'
make: *** [all] Error 2
[root@acrsys dahdi-linux-complete-2.2.0+2.2.0]#
ผมลอง google ดูก็พบว่ามีปัญหานี้หลายคน แต่ไม่พบวิธีแก้เลย ไม่ทราบว่าพอจะมีวิธีแก้มั๊ยครับ