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

for help:compile the tomato source code v1.23 failed under ubuntu8.10

Discussion in 'Tomato Firmware' started by einsn, Apr 17, 2009.

  1. einsn

    einsn Addicted to LI Member

    einsn@einsn-notebook:/opt/tomato/release/src$ make
    -e
    G Profile
    Version: 1.23.0000 (Thu, 16 Apr 2009 21:52:29 +0800)
    -e
    make[1]: Entering directory `/opt/tomato/release/src/router'
    rm -rf /opt/tomato/release/src/router/mipsel-uclibc/target
    rm -rf /opt/tomato/release/src/router/mipsel-uclibc/install
    rm -f /opt/tomato/release/src/router/mipsel-uclibc/linux.trx /opt/tomato/release/src/router/mipsel-uclibc/vmlinuz /opt/tomato/release/src/router/mipsel-uclibc/target.image
    rm -rf /opt/tomato/release/src/router/mipsel-uclibc/extras
    make[2]: Entering directory `/opt/tomato/release/src/router/shared'
    [shared] CC shutils.o
    In file included from shared.h:4,
    from shutils.c:35:
    tomato_profile.h:1: parse error before '-' token
    tomato_profile.h:1: syntax error at '#' token
    In file included from shared.h:4,
    from shutils.c:35:
    tomato_profile.h:7:2: #endif without #if
    In file included from shared.h:6,
    from shutils.c:35:
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/netinet/in.h:194: parse error before "uint8_t"
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/netinet/in.h:197: parse error before '}' token
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/netinet/in.h:201: parse error before '}' token
    In file included from shared.h:6,
    from shutils.c:35:
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/netinet/in.h:235: field `sin6_addr' has incomplete type
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/netinet/in.h:243: field `ipv6mr_multiaddr' has incomplete type
    In file included from shared.h:6,
    from shutils.c:35:
    /opt/brcm/hndtools-mipsel-uclibc-0.9.19/include/netinet/in.h:366: field `ipi6_addr' has incomplete type
    make[2]: *** [shutils.o] Error 1
    make[2]: Leaving directory `/opt/tomato/release/src/router/shared'
    make[1]: *** [shared] Error 2
    make[1]: Leaving directory `/opt/tomato/release/src/router'
    make: *** [all] Error 2
    einsn@einsn-notebook:/opt/tomato/release/src$
    einsn@einsn-notebook:/opt/tomato/release/src$
    einsn@einsn-notebook:/opt/tomato/release/src$ ls
    btools cy_conf.h cy_conf.mak et et.4702 include linux Makefile router shared tmp tomato_profile.mak wl
    einsn@einsn-notebook:/opt/tomato/release/src$
     
  2. voxabox

    voxabox LI Guru Member

    IIRC, the errors caused by different shell behaviour
    ubuntu uses dash instead of bash
    found it, see this post
     
  3. einsn

    einsn Addicted to LI Member

    thanks very much!
     

Share This Page