Someday I needed to configure a PBX in a server without Internet access; when I was compiling Dahdi, it showed me an error that I solved following next steps.
Comment in dahdi-linux-complete-2.2.0.2+2.2.0/linux/Makefile (the name of directory may change depending of your Dahdi version) some lines in the following way:
In the same file, edit the lines containning install-firmware and uninstall-firmware in the following way:
Comment in dahdi-linux-complete-2.2.0.2+2.2.0/linux/Makefile (the name of directory may change depending of your Dahdi version) some lines in the following way:
# Comment when there isn´t Internet access
#install-firmware:
#ifeq ($(HOTPLUG_FIRMWARE),yes)
# $(MAKE) -C drivers/dahdi/firmware hotplug-install DESTDIR=$(DESTDIR)
HOTPLUG_FIRMWARE=$(HOTPLUG_FIRMWARE)
#endif
#uninstall-firmware:
# $(MAKE) -C drivers/dahdi/firmware hotplug-uninstall DESTDIR=$(DESTDIR)
#firmware-loaders:
# $(MAKE) -C drivers/dahdi/firmware firmware-loaders
#install-firmware:
#ifeq ($(HOTPLUG_FIRMWARE),yes)
# $(MAKE) -C drivers/dahdi/firmware hotplug-install DESTDIR=$(DESTDIR)
HOTPLUG_FIRMWARE=$(HOTPLUG_FIRMWARE)
#endif
#uninstall-firmware:
# $(MAKE) -C drivers/dahdi/firmware hotplug-uninstall DESTDIR=$(DESTDIR)
#firmware-loaders:
# $(MAKE) -C drivers/dahdi/firmware firmware-loaders
In the same file, edit the lines containning install-firmware and uninstall-firmware in the following way:
#install: all install-modules install-devices install-include install-firmware install-xpp-firm
install: all install-modules install-devices install-include install-xpp-firm
#uninstall: uninstall-modules uninstall-devices uninstall-include uninstall-firmware
uninstall: uninstall-modules uninstall-devices uninstall-include
install: all install-modules install-devices install-include install-xpp-firm
#uninstall: uninstall-modules uninstall-devices uninstall-include uninstall-firmware
uninstall: uninstall-modules uninstall-devices uninstall-include