Skip to content

编译报错了 #19

@smcmax

Description

@smcmax

Q20,使用build_vb1980_kernal4.4_padavan.yml编译报错

BUILD mbedtls
make -C mbedtls
make[4]: Entering directory '/opt/padavan-4.4/trunk/libs/mbedtls'
( if [ ! -f mbedtls-2.28.10.tar.gz ]; then
wget -t5 --timeout=20 --no-check-certificate -O mbedtls-2.28.10.tar.gz https://github.com/Mbed-TLS/mbedtls/archive/v2.28.10.tar.gz;
fi )
( if [ ! -d mbedtls-2.28.10 ]; then
tar -xf mbedtls-2.28.10.tar.gz;
fi )
( if [ -f ./config_done ]; then
echo "the same configuration";
else
make configure && touch config_done;
fi )
make[5]: Entering directory '/opt/padavan-4.4/trunk/libs/mbedtls'
( mkdir -p mbedtls-2.28.10/build && cd mbedtls-2.28.10/build ;
cmake -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/opt/padavan-4.4/trunk/stage
-DCMAKE_TOOLCHAIN_FILE=/opt/padavan-4.4/trunk/vendors/cmake/cross-mipsel-linux.cmake
-DUSE_SHARED_MBEDTLS_LIBRARY=ON
-DUSE_STATIC_MBEDTLS_LIBRARY=OFF
-DENABLE_TESTING=OFF
-DENABLE_PROGRAMS=OFF
-DLINK_WITH_PTHREAD=ON
-DENABLE_ZLIB_SUPPORT=ON
..
)
CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "/opt/padavan-4.4/trunk/libs/mbedtls/mbedtls-2.28.10" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[5]: *** [Makefile:25: configure] Error 1
make[5]: Leaving directory '/opt/padavan-4.4/trunk/libs/mbedtls'
make[4]: *** [Makefile:18: config_test] Error 2
make[4]: Leaving directory '/opt/padavan-4.4/trunk/libs/mbedtls'
make[3]: *** [Makefile:231: mbedtls_only] Error 2
make[3]: Leaving directory '/opt/padavan-4.4/trunk/libs'
make[2]: *** [Makefile:211: libs_only] Error 2
make[2]: Leaving directory '/opt/padavan-4.4/trunk'
make[1]: *** [Makefile:38: build] Error 2
make[1]: Leaving directory '/opt/padavan-4.4'
make: *** [Makefile:56: JCG-Q20-PB] Error 2
Error: Process completed with exit code 2.

原因是mbedtls-2.28.10.tar.gz这个包有问题,上传的这个包解开后得到的文件夹名称是mbedtls-mbedtls-2.28.10,应该是mbedtls-2.28.10。
然后选择JCG-Q20-PB被定位到JCG-Q20上了,跟first_match有关,需要调整下,牵涉到的机型除了Q20还有不少

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions