Package Details: firmware-mod-kit 0.99-7

Git Clone URL: (read-only, click to copy)
Package Base: firmware-mod-kit
Description: Allows easy deconstruction and reconsutrction of firmware images for various embedded devices
Upstream URL:
Licenses: GPL
Submitter: antoniovazquez
Maintainer: anthraxx
Last Packager: anthraxx
Votes: 22
Popularity: 0.000801
First Submitted: 2013-05-30 12:23
Last Updated: 2016-10-20 22:46

Required by (2)

Sources (1)

Latest Comments

1 2 3 Next › Last »

st-ty1 commented on 2020-12-30 18:53

Have a look at Builds without problems (with gcc10). Perhaps python-magic package is needed for runtime, so it has to be installed too, but building process of sources works even without python-magic. BR st-ty1

TDC commented on 2020-08-25 22:07

This will build, but it’s a nightmare!

Firstly, change the reference to python2-magic in the pkgbuild to just python-magic.

Then run the sed commands in bt1ninja’s comment to include <sys/sysmacros.h> to (most of) the relevant files.

The squashfs packages will only build with gcc9 or lower so export CC=/bin/gcc-9 and export CXX=/bin/g++-9

Remember to run makepkg -sie to avoid overwriting all your good work every time you try to build!

A number of the squashfs packages have gcc and g++ hard coded into the makefiles so every time the build fails go and find “CC = gcc” or “CXX = g++” and remove those lines.

Alternatively you may need to add another #include <sys/sysmacros.h>. You’ll get the hang of it eventually.

I couldn’t get the Realtek version of squashfs to build at all but everything else eventually built. No idea if the resultant program(s) actually work yet though!

1llum1n4t3d commented on 2020-04-26 23:07

Please update build from package! It fails to build!

1llum1n4t3d commented on 2020-04-26 23:06

python2-magic can be downloaded here

b1tninja commented on 2019-10-08 01:03

Adding this to prepare got things building:

grep -rPl '(major|minor|makedev)\(' | xargs grep -l 'sys/types.h' | xargs -i sed -i '/#include <sys\/types.h>/ a #include <sys/sysmacros.h>' {}

epozzobon commented on 2019-10-01 21:17

Since the major, minor, and makedev macros were moved to sys/sysmacros.h, compilation fails with "undefined reference to 'minor'".

This can be fixed by adding the following line in PKGBUILD, before the make:

grep -r "sys/types\.h" | grep -o "^[^:]\+" | xargs sed -e "s/sys\/types\.h\>/sys\/types\.h>\n\#include \<sys\/sysmacros\.h/" -i

90torf commented on 2016-10-20 21:10

I got a 404 error while downloading the source file fmk_099.tar.gz.
Problem can be solved by changing source parameter:


Anonymous comment on 2015-08-28 15:50

Strangely, building this with -march=native in makepkg.conf caused kernel panic on my laptop, -march=x86-64 is compiling fine. CPU is i7-5700HQ. native resolved to "broadwell" as march.

antoniovazquez commented on 2015-01-21 19:33

I'm sorry but I've never used Packer. I'm having a look at it. I encourage you to have a look at the FMK wiki and try to execute any of the executables this package contains.

jhe commented on 2015-01-18 18:47

i install binwalk with packer , does that mean i got this already ?