firmware-mod-kit icon indicating copy to clipboard operation
firmware-mod-kit copied to clipboard

Extraction error also compliance

Open wolfyy59 opened this issue 4 years ago • 3 comments

Anyone help me out with this error I've installed all dependencies except python-magic I could not install unable to locate packages. Screenshot_20210219-132709 Screenshot_20210219-132758

wolfyy59 avatar Feb 19 '21 12:02 wolfyy59

changing the line int swap; to static int swap; and recompiling should fix it.

crystalwwj avatar May 20 '21 10:05 crystalwwj

Hi, i had same issues with this and even rage quit few times and gave up. But after few rage quits i found out that changing "int swap" to "static int swap" in all files called "read_fs.c" by searching for this name and changing manually for every file all seems to solve the issue

sdfrir avatar Aug 08 '21 22:08 sdfrir

Changed that, problem is this now:

Firmware Mod Kit (extract) 0.99, (c)2011-2013 Craig Heffner, Jeremy Collake

Preparing tools ...
/usr/bin/ld: sort.o: warning: relocation against `silent' in read-only section `.text'
/usr/bin/ld: sort.o: in function `sort_files_and_write':
sort.c:(.text+0x895): undefined reference to `silent'
/usr/bin/ld: sort.c:(.text+0x8bd): undefined reference to `silent'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:14: mksquashfs-lzma] Error 1
make: *** [Makefile:11: all] Error 2
Tools build failed! Check pre-requisites. Quitting...

Otus9051 avatar Dec 03 '21 09:12 Otus9051