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

why configure.mipsel is not copied to configure when compiling mysql ?

Discussion in 'Tomato Firmware' started by oglops, Aug 11, 2017.

Tags:
  1. oglops

    oglops New Member Member

    I saw this in src-rt router Makefile

    Code:
    mysql/stamp-h1: openssl zlib libncurses
            @$(SEP)
            cd mysql && cp -f configure.mipsel configure && \
    
    but it always fails as

    Code:
    ...
    configure:22085: checking for restartable system calls
    configure:22091: error: in `/home/oglop/tomato/release/src/router/mysql':
    configure:22093: error: cannot run test program while cross compiling
    
    I can see that the cross compiling checek code was already commented out in configure.mipsel, but in fact, this cp command did not work, when I check mysql/configure, it's not overwritten by configure.mipsel. Why ?
     

Share This Page