V
V
vetash2014-11-30 04:43:56
TP Link
vetash, 2014-11-30 04:43:56

How to compile my DD-WRT firmware for TL-WR740N?

Rummaged through the Internet, there are even instructions on dd-wrt.com ( www.dd-wrt.com/wiki/index.php/Development), however, when unpacking, after the command
"./extract-firmware.sh factory-to-ddwrt. bin working_directory"
the following happens:

#~/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...

Please share your experience if anyone has done this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Evseev, 2014-11-30
@vetash

We search in Google: "extract-firmware.sh missing liblzma header files" We
immediately find:
1) code.google.com/p/firmware-mod-kit/issues/detail?id=76 The person
writes that the installation of the package helped him xz-utils.
I would try to install lzma-dev and liblzma-dev under Debian \ Ubuntu
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

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question