I' ve installed Debian 31r2 to start learning Linux.
I've downloaded Firmware Modification Kit but when i run Extract_firmware, there's an error.
This is the log:
make: Entering directory `/root/firmware_mod_tools/src'
gcc mksquashfs.o read_fs.o sort.o -lz -o mksquashfs
/usr/bin/ld: skipping incompatible /usr/local/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [mksquashfs] Error 1
make: Leaving directory `/root/firmware_mod_tools/src'
I' ve installed Debian 31r2 to start learning Linux.
I've downloaded Firmware Modification Kit but when i run Extract_firmware, there's an error.
This is the log:
make: Entering directory `/root/firmware_mod_tools/src'
gcc mksquashfs.o read_fs.o sort.o -lz -o mksquashfs
/usr/bin/ld: skipping incompatible /usr/local/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [mksquashfs] Error 1
make: Leaving directory `/root/firmware_mod_tools/src'
What can i do?
Many thanks.
I honestly don't know ;(.. perhaps one of the linux gurus might recognize the problem. Make sure you have the latest GCC and G++ and latest C and C++ runtime libraries... maybe that is the issue.
Last edited by on Sun Aug 20, 2006 14:30; edited 1 time in total
i've read DD-WRT is Debian based system. I've tested Knoppix for compiling sources (like in Wiki descripted) but i've no result.
I'm trying to compile v23 sp1 micro but i'm full of errors.
Can anyone help me? i just want to add AX25 protocol and WRT Rflow function and cut some packages i don't need.
Your own the right track with using debian, the Ubuntu is just a debian fork anyway and so is Knoppix. My first guess would be that you have an old version of a lib and you need to update it.
if this is a fresh install try doing:
# apt-get update
# apt-get install
and see if that doesn't fix your problem.
*edit*
I hadn't used the mod kit before, just downloaded and installed on my box and everything works great.
Nice work db90h, Go Vols _________________ *********************
DD-WRT v23SP2
WRT54GS 2.1 @ 216 Mhz
SD Mod w/ 512 MB Card & Dual Serial Ports
OK.....now you're talking what I want to hear. I REALLY want to learn Linux, but I know NOTHING about it. I can enter a script that someone else compiles for me, but thats' the extent of it. I downloaded Knoppix a while back (someone, somewhere said to), but I have no idea what to do with it now. You say one should install Debian or Ubuntu......what exactly do you mean "install".......where ? Do I create a dual boot system and put Linux on one partition (or disk) and leave Windows on another? What's the best way to install it and be able to learn while still having my Windows PC. When I ask for directions, remember, I know NOTHING about Linux. I need details, not cryptic answers from experts who think everyone else is an expert. I know that's easy to do. I start talking medical terminology to people and they look at me like I'm speaking Greek (I actually am, kinda). I forget that not everyone speaks that language as freely as I do. Please remember that about those of us that don't speak Linux like you do. THANKS!!!!!!
well the simplest thing for you to do without making a new partition and installing linux would be to get colinux set up and install the debian image for it. Then you can have both windows and linux running at the same time.
[img]http://www.colinux.org/[/img] Should get you started. _________________ *********************
DD-WRT v23SP2
WRT54GS 2.1 @ 216 Mhz
SD Mod w/ 512 MB Card & Dual Serial Ports
where can i find gcc3:4.4 for Debian? In Debian.org ther's e newer version but not 3:4.4.
If i install the newer version, is it the same things?
Sorry ....
OK.....now you're talking what I want to hear. I REALLY want to learn Linux, but I know NOTHING about it. I can enter a script that someone else compiles for me, but thats' the extent of it. I downloaded Knoppix a while back (someone, somewhere said to), but I have no idea what to do with it now. You say one should install Debian or Ubuntu......what exactly do you mean "install".......where ? Do I create a dual boot system and put Linux on one partition (or disk) and leave Windows on another? What's the best way to install it and be able to learn while still having my Windows PC. When I ask for directions, remember, I know NOTHING about Linux. I need details, not cryptic answers from experts who think everyone else is an expert. I know that's easy to do. I start talking medical terminology to people and they look at me like I'm speaking Greek (I actually am, kinda). I forget that not everyone speaks that language as freely as I do. Please remember that about those of us that don't speak Linux like you do. THANKS!!!!!!
Use VMWare to install Ubuntu or whatever linux distribution you choose into a Virtual Machine. This is easier than messing around with colinux. You'll be up and running in a few minutes. It runs fine concurrently with Windows on any reasonably modern hardware.
For those curious, I've moved on from this project to another one I find more significant and interesting.
There might be more updates to the Firmware Mod Kit, who knows, but I don't plan any. I had hoped to see people creating Firmware Mod Kit ready IPKs for DD-WRT to make the job of removing or adding common packages from the images more easily.. but I guess if I don't do it nobody will ;(.