Forum Discussion
Altera_Forum
Honored Contributor
19 years agocannot find -lz
When i compile the uClinux kernel, I met an error shown as below: /opt/nios2/lib/gcc/nios2-linux-uclibc/3.4.6/../../../../nios2-linux-uclibc/bin/ld.real: cannot find -lz collect2: ld returned...
Altera_Forum
Honored Contributor
19 years agoSorry, it was my mistake.
Please update to nios2 patch ver 27. ( you need to Reverse old patch first !) Or install nios2libs.tar.bz2, which has zlib in it.