Help me please!!!
That's not how you will get helped ..
cp: cannot stat `/home/ubuntu/out/src/doc/README_windows.txt': No such file or directory
Maybe this should help you to solve your error.
You have not answered my question :
Which version of Litecoin did you fork ?
However I asked my friend his Docker file and here it is (of course, you have to adapt it to your config) :
FROM debian:jessie
RUN apt update -y
RUN apt-get install -y --no-install-recommends p7zip-full libgdk-pixbuf2.0-dev libtool-bin \
g++-multilib libc6-dev-i386 autoconf automake autopoint bash bison bzip2 cmake flex \
gettext git g++ gperf intltool libffi-dev libtool libltdl-dev libssl-dev libxml-parser-perl \
make openssl patch perl pkg-config python ruby scons sed unzip wget xz-utils
# Build the MXE toolchain.
RUN cd /mnt && git clone https://github.com/mxe/mxe.git \
&& cd mxe \
# Don't link Qtbase against openssl v1.1.1 that will be build (we need 1.0.2)
&& sed -i '/-openssl-linked/d' /mnt/mxe/src/qtbase.mk \
#&& sed -i "s/1.1.1a/1.0.2q/g" /mnt/mxe/src/openssl.mk \
#&& sed -i "s/fc20130f8b7cbd2fb918b2f14e2f429e109c31ddd0fb38fc5d71d9ffed3f9f41/5744cfcbcec2b1b48629f7354203bc1e5e9b5466998bbccc5b5fcde3b18eb684/g" /mnt/mxe/src/openssl.mk \
&& make -j4 MXE_TARGETS="i686-w64-mingw32.static" boost \
&& make -j4 MXE_TARGETS="i686-w64-mingw32.static" qttools \
# Build berkleyDB.
&& cd /mnt \
&& wget http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz \
&& tar zxvf db-5.3.28.tar.gz \
&& cd /mnt/db-5.3.28 \
&& export MXE_PATH=/mnt/mxe \
&& sed -i "s/WinIoCtl.h/winioctl.h/g" src/dbinc/win_db.h \
&& mkdir build_mxe \
&& cd build_mxe \
&& CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc CXX=$MXE_PATH/usr/bin/i686-w64-mingw32.static-g++ \
../dist/configure --disable-replication --enable-mingw \
--enable-cxx --host x86 --prefix=$MXE_PATH/usr/i686-w64-mingw32.static \
&& make -j4 \
&& make install \
# Can't remember the fuck is that.
&& cd /mnt \
&& CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc AR=$MXE_PATH/usr/bin/i686-w64-mingw32.static-ar \
CFLAGS="-DSTATICLIB -I$MXE_PATH/usr/i686-w64-mingw32.static/include" \
LDFLAGS="-L$MXE_PATH/usr/i686-w64-mingw32.static/lib" \
# Build miniupnpc.
&& cd /mnt \
&& wget http://miniupnp.free.fr/files/miniupnpc-1.6.20120509.tar.gz \
&& tar zxvf miniupnpc-1.6.20120509.tar.gz \
&& cd /mnt/miniupnpc-1.6.20120509 \
&& CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc AR=$MXE_PATH/usr/bin/i686-w64-mingw32.static-ar CFLAGS="-DSTATICLIB -I$MXE_PATH/usr/i686-w64-mingw32.static/include" LDFLAGS="-L$MXE_PATH/usr/i686-w64-mingw32.static/lib" make libminiupnpc.a \
# Copy miniupnpc to static dir of mxe.
&& mkdir $MXE_PATH/usr/i686-w64-mingw32.static/include/miniupnpc \
&& cp *.h $MXE_PATH/usr/i686-w64-mingw32.static/include/miniupnpc \
&& cp libminiupnpc.a $MXE_PATH/usr/i686-w64-mingw32.static/lib
# Rebuild openssl v1.0.2q for compatibility.
RUN cd /mnt/ \
&& export PATH=/mnt/mxe/usr/bin:$PATH \
&& wget https://www.openssl.org/source/openssl-1.0.2q.tar.gz \
&& tar -xzvf openssl-1.0.2q.tar.gz \
&& cp -R openssl-1.0.2q openssl-win32-build \
&& cd openssl-win32-build \
&& CROSS_COMPILE="i686-w64-mingw32.static-" ./Configure mingw no-asm no-shared --prefix=/mnt/mxe/usr/i686-w64-mingw32.static \
&& make -j4 \
&& make install
# Build secp256k1.
RUN cd / \
&& git clone https://github.com/profithunterscoin/phc.git \
&& export MXE_PATH=/mnt/mxe \
&& cd /phc/src/secp256k1/ \
&& chmod +x autogen.sh \
&& ./autogen.sh \
&& CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc \
AR=$MXE_PATH/usr/bin/i686-w64-mingw32.static-ar \
CFLAGS="-DSTATICLIB -I$MXE_PATH/usr/i686-w64-mingw32.static/include" \
LDFLAGS="-L$MXE_PATH/usr/i686-w64-mingw32.static/lib" CROSS_COMPILE="i686-w64-mingw32.static-" ./configure --enable-module-recovery --host=i686-w64-mingw32.static \
--enable-static --disable-shared --prefix=/mnt/mxe/usr/i686-w64-mingw32.static \
&& CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc \
AR=$MXE_PATH/usr/bin/i686-w64-mingw32.static-ar \
CFLAGS="-DSTATICLIB -I$MXE_PATH/usr/i686-w64-mingw32.static/include" \
LDFLAGS="-L$MXE_PATH/usr/i686-w64-mingw32.static/lib" make -j4 \
# Put libsecp256k1.la in /mnt/mxe/usr/i686-w64-mingw32.static/lib/
&& make install
# Build leveldb
RUN cd / \
&& export PATH=/mnt/mxe/usr/bin:$PATH \
&& cd phc/src/leveldb \
&& chmod +x build_detect_platform \
&& TARGET_OS=NATIVE_WINDOWS make CC=i686-w64-mingw32.static-gcc CXX=i686-w64-mingw32.static-g++ libleveldb.a libmemenv.a
#Build PHC
RUN cd /phc \
# Remove all paths that'll make the linker fail.
&& sed -i '/win32:BOOST_LIB_SUFFIX=-mgw49-mt-s-1_57/,/win32:QRENCODE_LIB_PATH=C:\/deps\/qrencode-3.4.4\/.libs/d' phc-qt.pro \
# Add -pthread to libs.
&& sed -i '/^windows:LIBS\ +=\ -lws2_32/ s/$/ -pthread/' phc-qt.pro \
&& export PATH=/mnt/mxe/usr/bin:$PATH \
&& export MXE_PATH=/mnt/mxe \
&& MXE_INCLUDE_PATH=/mnt/mxe/usr/i686-w64-mingw32.static/include \
MXE_LIB_PATH=/mnt/mxe/usr/i686-w64-mingw32.static/lib \
i686-w64-mingw32.static-qmake-qt5 \
BOOST_LIB_SUFFIX=-mt \
BOOST_THREAD_LIB_SUFFIX=_win32-mt \
BOOST_INCLUDE_PATH=$MXE_INCLUDE_PATH/boost \
BOOST_LIB_PATH=$MXE_LIB_PATH \
OPENSSL_INCLUDE_PATH=$MXE_INCLUDE_PATH/openssl \
OPENSSL_LIB_PATH=$MXE_LIB_PATH \
BDB_INCLUDE_PATH=$MXE_INCLUDE_PATH \
BDB_LIB_PATH=$MXE_LIB_PATH \
MINIUPNPC_INCLUDE_PATH=$MXE_INCLUDE_PATH \
MINIUPNPC_LIB_PATH=$MXE_LIB_PATH \
SECP256K1_INCLUDE_PATH=/phc/src/secp256k1/include \
SECP256K1_LIB_PATH= $MXE_LIB_PATH \
QMAKE_LRELEASE=/mnt/mxe/usr/i686-w64-mingw32.static/qt5/bin/lrelease phc-qt.pro \
&& make -j4 -f Makefile.Release
All credits to him, his pseudo is "Phylante".