@vetash

Как скомпилировать свою прошивку DD-WRT под TL-WR740N?

Порылся в интернете есть даже инструкции на dd-wrt.com(www.dd-wrt.com/wiki/index.php/Development), однако при распаковке, после команды
"./extract-firmware.sh factory-to-ddwrt.bin working_directory"
происходит следующее:
#~/firmware_mod_kit/firmware-mod-kit-read-only# ./extract-firmware.sh factory-to-ddwrt.bin working_directory/                         
Firmware Mod Kit (build-ng) 0.82, (c)2011-2013 Craig Heffner, Jeremy Collake

Firmware-Mod-Kit has not been built yet. Building...
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for memset... yes
checking for malloc... yes
checking for strstr... yes
checking for crc32 in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking lzma.h usability... no
checking lzma.h presence... no
checking for lzma.h... no
error: missing liblzma header files
make: *** Не заданы цели и не найден make-файл.  Останов.
Build failed! Quitting...


Поделитесь опытом, если кто делал подобное.
  • Вопрос задан
  • 3963 просмотра
Решения вопроса 1
IlyaEvseev
@IlyaEvseev
Opensource geek
Ищем в Гугле: "extract-firmware.sh missing liblzma header files"

Тут же находим:

1) code.google.com/p/firmware-mod-kit/issues/detail?id=76
Чел пишет, что ему помогла установка пакета xz-utils.
Я бы попробовал под Дебианом\Убунтой поставить lzma-dev и liblzma-dev

2) www.dd-wrt.com/phpBB2/viewtopic.php?p=749477#749477

Your error is to use "extract_firmware.sh", you need to use "extract-ng.sh".
Se my post on: www.dd-wrt.com/phpBB2/viewtopic.php?p=645388#645388
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы