how to compile libuuid with freshTomato toolchain?

Discussion in 'Tomato Firmware' started by oglops, Apr 30, 2018.

  1. oglops

    oglops Connected Client Member

    I got the following error while compiling freshTomato 2018.2, so I thought I need to cross compile libuuid first ? ( I have uuid-dev installed in my Ubuntu system)

    ude/ -DIPTABLES_143  -c -o upnpevents.o upnpevents.c
    upnpevents.c:24:23: fatal error: uuid/uuid.h: No such file or directory
    compilation terminated.
    make[5]: *** [upnpevents.o] Error 1
    make[5]: Leaving directory `/home/travis/tomato-arm-kille72/release/src-rt-6.x.4708/router/miniupnpd'
    make[4]: *** [miniupnpd] Error 2
    make[4]: Leaving directory `/home/travis/tomato-arm-kille72/release/src-rt-6.x.4708/router'
    make[3]: *** [all] Error 2
    make[3]: Leaving directory `/home/travis/tomato-arm-kille72/release/src-rt-6.x.4708'
    make[2]: *** [bin] Error 2
    make[2]: Leaving directory `/home/travis/tomato-arm-kille72/release/src-rt-6.x.4708'
    make[1]: *** [z] Error 2
    make[1]: Leaving directory `/home/travis/tomato-arm-kille72/release/src-rt-6.x.4708'
    make: *** [ac68z] Error 2
    but when I compile uuid, it shows me
    travis@e799fa418df8:~/libuuid-1.0.3$ CC=arm-brcm-linux-uclibcgnueabi-gcc CXX=arm-brcm-linux-uclibcgnueabi-g++ AR=arm-brcm-linux-uclibcgnueabi-ar RANLIB=arm-brcm-linux-uclibcgnueabi-ranlib ./configure --host=arm-brcm-linux-uclibcgnueabi --prefix=/usr
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for arm-brcm-linux-uclibcgnueabi-strip... arm-brcm-linux-uclibcgnueabi-strip
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... arm-brcm-linux-uclibcgnueabi
    checking how to print strings... printf
    checking for style of include used by make... GNU
    checking for arm-brcm-linux-uclibcgnueabi-gcc... arm-brcm-linux-uclibcgnueabi-gcc
    checking whether the C compiler works... no
    configure: error: in `/home/travis/libuuid-1.0.3':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    full config.log here:

    my ubuntu ( Ubuntu 12.04.5 LTS) is a docker image from
    docker run -it -u travis /bin/bash

    edit: problem solved after following the steps here.
    Last edited: Apr 30, 2018
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice