Comments (23)
[deleted comment]
from firmware-mod-kit.
Original comment by [email protected]
on 2 Nov 2011 at 1:50
- Changed state: Invalid
from firmware-mod-kit.
Not unless zlib1g-dev installs differently than on 10.04.
james@james-virtual-machine:~/Desktop/RE_p6250/firmware-mod-kit-read-only/trunk/
src$ dpkg --get-selections | grep zlib
zlib1g install
zlib1g-dbg install
zlib1g-dev install
PS: Searched before posting, found:
http://code.google.com/p/firmware-mod-kit/issues/detail?id=32 Followed
solutions offered, and it didn't help.
Original comment by [email protected]
on 2 Nov 2011 at 2:01
from firmware-mod-kit.
Maybe try reinstalling them. You are missing a dependency, or have something
wrong. It does build under Ubuntu 11.10 fine.
Original comment by [email protected]
on 2 Nov 2011 at 2:06
from firmware-mod-kit.
[deleted comment]
from firmware-mod-kit.
Original comment by [email protected]
on 2 Nov 2011 at 2:16
- Changed state: Accepted
from firmware-mod-kit.
Tried again this morning with a fresh install of xubuntu 11.10, with the same
result. I recorded it, if that helps:
https://www.youtube.com/watch?v=sLcc8FiQzdg&hd=1&t=10m15s (only about a minuet
of relevant info)
It boils down to:
*install*
*install updates*
apt-get install build-essentials zlib1g-dev subversion
svn checkout http://firmware-mod-kit.googlecode.com/svn/trunk/
firmware-mod-kit-read-only
cd firmware-mod-kit-read-only/trunk/src
make
*error*
Original comment by [email protected]
on 2 Nov 2011 at 3:05
from firmware-mod-kit.
Yes, I apologize for being dismissive at first, we had gotten several easily
dismissed cases like this. Anyway, I have to find time to test and look into
this. Or Craig, if he gets the time. Please hold, and thanks ;)
Original comment by [email protected]
on 2 Nov 2011 at 3:09
from firmware-mod-kit.
It's fine, I'm still half expecting that I've made a mistake somewhere myself.
I'll see if I can find the issue, but I probally lack the skillset.
Original comment by [email protected]
on 2 Nov 2011 at 3:45
from firmware-mod-kit.
At present on Ubuntu 11.10 I get a different error building cramfs. I have not
looked into it much yet, but crc32 may have been removed from a shared library
or CRT update. This could cause other build errors, though this is the first
one I saw.
cramfsswap.c: In function ‘main’:
cramfsswap.c:112:8: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result [-Wunused-result]
cramfsswap.c:242:10: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result [-Wunused-result]
cramfsswap.c:250:10: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result [-Wunused-result]
cramfsswap.c:302:12: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result [-Wunused-result]
cramfsswap.c:328:12: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result [-Wunused-result]
cramfsswap.c:341:10: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result [-Wunused-result]
/tmp/ccMos4p2.o: In function `main':
/home/jeremy/firmware-mod-kit/trunk/src/cramfsswap/cramfsswap.c:348: undefined
reference to `crc32'
/home/jeremy/firmware-mod-kit/trunk/src/cramfsswap/cramfsswap.c:350: undefined
reference to `crc32'
/home/jeremy/firmware-mod-kit/trunk/src/cramfsswap/cramfsswap.c:350: undefined
reference to `crc32'
collect2: ld returned 1 exit status
make[1]: *** [cramfsswap] Error 1
make[1]: Leaving directory `/home/jeremy/firmware-mod-kit/trunk/src/cramfsswap'
make: *** [all] Error 2
Original comment by [email protected]
on 3 Nov 2011 at 4:12
from firmware-mod-kit.
[deleted comment]
from firmware-mod-kit.
[deleted comment]
from firmware-mod-kit.
The cramfsswap issue is a problem with the makefile. The -lz option should be
at the end of the gcc line; moving it to the end of the gcc line fixes the
build. I suspect the other squashfs issues are similar as some link against
zlib fine while others fail. Should be an easy fix.
Original comment by [email protected]
on 4 Nov 2011 at 2:15
from firmware-mod-kit.
Ah, good. Easy fix. I love it when programmers get more anal about command line
ordering in later versions, something I've seen nowhere else outside linux ;p
Original comment by [email protected]
on 4 Nov 2011 at 2:22
from firmware-mod-kit.
Makefiles updated, builds properly on Ubunu 11.10.
Original comment by [email protected]
on 4 Nov 2011 at 3:10
- Changed state: Fixed
from firmware-mod-kit.
As always, I, and all who use the FMK thank you Craig. For those who don't
know, Craig has been the one who has revived, and indeed rewritten this project.
Original comment by [email protected]
on 4 Nov 2011 at 4:14
from firmware-mod-kit.
Thanks Jeremy, glad to help as always. :)
Original comment by [email protected]
on 4 Nov 2011 at 4:25
from firmware-mod-kit.
[deleted comment]
from firmware-mod-kit.
[deleted comment]
from firmware-mod-kit.
I have the same issue. I ran ./configure, then edited the Makefile in
squashfs-tools and deleted -lz from line 13 (LD_LIBS += ...) and added it to
the end of lines 26 and 32 (also LDLIBS += ... but as dependencies). That
seemed to fix the problem.
Original comment by [email protected]
on 10 Mar 2012 at 7:56
from firmware-mod-kit.
[deleted comment]
from firmware-mod-kit.
Actually two new squashfs variants were added. I've fixed them both now.
Committing in minutes, making last tests.
Original comment by [email protected]
on 10 Mar 2012 at 8:23
from firmware-mod-kit.
Ok, give 'er a go now.
Original comment by [email protected]
on 10 Mar 2012 at 8:29
from firmware-mod-kit.
Related Issues (20)
- Extracting 0 bytes of header image at offset 0 HOT 1
- Failure building image.
- Can this firmeware be extracted? HOT 2
- jffs2 big endian problem
- new binwalk HOT 1
- CramFS extraction failed due to missing cleaning up
- Can't unpack Zyxel NWA-3100 firmware HOT 1
- Wrong build
- uncramfs-lzma stops after successfully decoding the first block
- Extracted firmware and then tried to rebuild it and it became larger, probably because it didnt use lzma for recompress. HOT 1
- Image fault when builidng Tomato for RT-AC68U HOT 3
- Cannot extract firmware
- Issue in extracting squashfs filesystem
- Firmware Image Generated Different from Original when nothing changed for its extracted contents
- Failed to create new file system
- Can not extract Huawei HG655b-B025 firmware
- after edit ddwrt-gui's asp file,install error
- Does FMK work on dd-wrt firmware for buffalo wzr-600dhp
- CRC update failed - Netis WR2419 firmware
- FMK won't extract zip compressed cramfs images?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firmware-mod-kit.