zoukankan      html  css  js  c++  java
  • tina libpng12错误

    错误日志:

    Making all in examples
    make[6]: Entering directory `/home/etouch/tina/out/banjo-R11_pref1/compile_dir/target/libmgi-2.0.4/examples'
    /bin/bash ../libtool   --mode=link arm-openwrt-linux-muslgnueabi-gcc  -Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard  -Wformat -w -Wl,-z,relro  -D__MGI_LIB__  -L/home/etouch/tina/out/banjo-R11_pref1/staging_dir/target/usr/lib -L/home/etouch/tina/out/banjo-R11_pref1/staging_dir/target/lib -L/home/etouch/tina/prebuiluch/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/lib -znow -zrelro -lts -luapi  -o phonetest mgphone_edit.o mgphonetest.o pen.o ../src/libmgi.la  -lpthread -L/home/etouchthread -ljpeg -lpng -lm -lts -lfreetype -lz -lpng12 -lfreetype -lpthread -ljpeg -lpng
    arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -march=armv7-a -mtune=cortex-a7 -mfpu=neon -fno-caller-saves -Wno-unused-result -mfloat-abi=hard -Wformat -Werror=format-security -fstack-protec-znow -zrelro -o .libs/phonetest mgphone_edit.o mgphonetest.o pen.o  -L/home/etouch/tina/out/banjo-R11_pref1/staging_dir/target/usr/lib -L/home/etouch/tina/out/banjo-R11_pref1/staging_dir/nxi-musl/toolchain/usr/lib -L/home/etouch/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/lib ../src/.libs/libmgi.so -luapi -lminigui_ths -lts -lfreetype -lpthread -ljpeg /u
    /usr/local/lib/libpng12.so: file not recognized: File format not recognized

    死活编译不过去,是编译libmgi-2.0.4/examples时发生的错误,没修改什么东西,原因是本应该引用tina编译输出目录里面的libpng12,但是不知道什么原因,会自动的引用系统/usr/local/lib/目录下的这个库文件。

    后来实在不行,在tina的out目录找到这个库文件,把这个库文件复制到/usr/local/lib/目录下,创建了一个软连接,重新make -j1,通过了。

  • 相关阅读:
    封装/继承
    模板
    常用模块-re模块1
    包常用模块
    模块和软件开发的目录规范
    Hadoop 综合大作业
    hive基本操作与应用
    用mapreduce 处理气象数据集
    熟悉常用的HBase操作,编写MapReduce作业
    爬虫大作业
  • 原文地址:https://www.cnblogs.com/hanrp/p/11352802.html
Copyright © 2011-2022 走看看