1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help Compile Source code WRT54G

Discussion in 'Cisco/Linksys Wireless Routers' started by ingsanto, Sep 28, 2005.

  1. ingsanto

    ingsanto Network Guru Member

    I compile the source code wrt54g.3.03.9.tgz,
    but i find the error :
    make[2]: Entering directory `/WRTG54/WRT54G_3_03_9_0427_US/release/src/linux/linux/scripts/cramfs'
    gcc -W -Wall -O2 -g -I../../include mkcramfs.c -lz -o mkcramfs
    mkcramfs.c: In function `write_superblock':
    mkcramfs.c:329: warning: implicit declaration of function `crc32'
    mkcramfs.c: In function `do_compress':
    mkcramfs.c:495: warning: implicit declaration of function `compress'
    /usr/bin/ld: cannot find -lz
    collect2: ld returned 1 exit status
    make[2]: *** [mkcramfs] Error 1
    make[2]: Leaving directory `/WRTG54/WRT54G_3_03_9_0427_US/release/src/linux/linux/scripts/cramfs'
    make[1]: *** [install] Error 2
    make[1]: Leaving directory `/WRTG54/WRT54G_3_03_9_0427_US/release/src/router'
    make: *** [install] Error 2

    can you help me?

Share This Page