Results 1 to 4 of 4

Thread: Compile Oleg problem...

  1. #1

    Compile Oleg problem...

    Hello,
    I make like on http://wiki.wl500g.info/index.php/co...customfirmware.
    All OK but compiler break on nfs-utils.
    I think that is problem with mount.h. I cant find this file ...

    regards
    Pawel K

    P.S. sorry for my bad english...

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    You've to recompile uClibc.

  3. #3
    Quote Originally Posted by Oleg View Post
    You've to recompile uClibc.
    Yes,
    i try with 0.9.19 and 0.9.27.
    Compiler stops on "make dep".
    something like unrecognize argument CC1 -E...

  4. #4
    after "make" in gateway dir:

    [...]
    [ ! -d nfs-utils ] || make -C nfs-utils
    make[1]: Entering directory `/home/src/gateway/nfs-utils'
    make -w dep
    make[2]: Entering directory `/home/src/gateway/nfs-utils'
    Making dep in support
    Making dep in include
    make[4]: Nothing to be done for `dep'.
    Making dep in nfs
    mipsel-uclibc-gcc -O2 -I../../support/include -I/include -Wall -pipe -DVERSIONSUPPORTED -M exports.c rmtab.c xio.c rpcmisc.c rpcdispatch.c xlog.c xmalloc.c wifsexport.c getfh.c nfsctl.c lockdsvc.c svc_socket.c cacheio.c > .depend
    Making dep in export
    rm -f mount.h mount_clnt.c mount_xdr.c
    rpcgen -h -o mount.h mount.x
    cpp: error trying to exec 'cc1': execvp: No such file or directory
    rpcgen: C preprocessor failed with exit code 1
    make[4]: *** [mount.h] Error 1
    make[3]: *** [dep] Error 2
    make[2]: *** [dep] Error 2
    make[2]: Leaving directory `/home/src/gateway/nfs-utils'
    make[1]: *** [utils/statd/.depend] Error 2
    make[1]: Leaving directory `/home/src/gateway/nfs-utils'
    make: *** [nfs-utils] Error 2

    i add path to cc1
    export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/lib/gcc-lib/mipsel-linux/3.2.3

    and ...

    [...]
    [ ! -d nfs-utils ] || make -C nfs-utils
    make[1]: Entering directory `/home/src/gateway/nfs-utils'
    make -w dep
    make[2]: Entering directory `/home/src/gateway/nfs-utils'
    Making dep in support
    Making dep in include
    make[4]: Nothing to be done for `dep'.
    Making dep in nfs
    mipsel-uclibc-gcc -O2 -I../../support/include -I/include -Wall -pipe -DVERSION="\"nfs-utils 1.0.7\"" -DNFS3_SUPPORTED -M exports.c rmtab.c xio.c rpcmisc.c rpcdispatch.c xlog.c xmalloc.c wildmat.c nfssvc.c nfsclient.c nfsexport.c getfh.c nfsctl.c lockdsvc.c svc_socket.c cacheio.c > .depend
    Making dep in export
    rm -f mount.h mount_clnt.c mount_xdr.c
    rpcgen -h -o mount.h mount.x
    cc1: unrecognized option `-E'
    rpcgen: C preprocessor failed with exit code 1
    make[4]: *** [mount.h] Error 1
    make[3]: *** [dep] Error 2
    make[2]: *** [dep] Error 2
    make[2]: Leaving directory `/home/src/gateway/nfs-utils'
    make[1]: *** [utils/statd/.depend] Error 2
    make[1]: Leaving directory `/home/src/gateway/nfs-utils'
    make: *** [nfs-utils] Error 2

    what now??

Similar Threads

  1. DHCP / WLAN Problem
    By crabix in forum WL-500g Q&A
    Replies: 4
    Last Post: 04-06-2006, 07:19
  2. twonky media server, network drive with oleg firmware
    By black_bottom in forum WL-HDD Q&A
    Replies: 3
    Last Post: 22-03-2006, 07:15
  3. Problem with dieing AIR-connection
    By BòóN in forum WL-500g Q&A
    Replies: 7
    Last Post: 26-10-2004, 12:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •