免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3727 | 回复: 2
打印 上一主题 下一主题

帮忙看一下,我在mips编译ImageMagick-6.2.6-0 mips版本时错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-16 11:12 |只看该作者 |倒序浏览
./configure CC=mipsel-linux-gcc --enable-share --without-perl --prefix=/home/Test/imagemagick  --host=mipsel-linux

编译出现错误,帮忙看一下是什么原因?谢谢

        then mv -f "magick/.deps/magick_libMagick_la-display.Tpo" "magick/.deps/magick_libMagick_la-display.Plo"; else rm -f "magick/.deps/magick_libMagick_la-display.Tpo"; exit 1; fi
if /bin/sh ./libtool --silent --tag=CC --mode=compile mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand  -I./ltdl -I./ltdl  -I/usr/include/freetype2 -I/usr/include  -g -O2 -Wall -pthread -MT magick/magick_libMagick_la-draw.lo -MD -MP -MF "magick/.deps/magick_libMagick_la-draw.Tpo" -c -o magick/magick_libMagick_la-draw.lo `test -f 'magick/draw.c' || echo './'`magick/draw.c; \
        then mv -f "magick/.deps/magick_libMagick_la-draw.Tpo" "magick/.deps/magick_libMagick_la-draw.Plo"; else rm -f "magick/.deps/magick_libMagick_la-draw.Tpo"; exit 1; fi
magick/draw.c: In function 'DrawStrokePolygon':
/usr/include/bits/mathinline.h:548: error: impossible constraint in 'asm'
/usr/include/bits/mathinline.h:548: error: impossible constraint in 'asm'
make: *** [magick/magick_libMagick_la-draw.lo] 错误 1


系统环境

Host system type : mipsel-unknown-linux-gnu

                  Option                        Value
-------------------------------------------------------------------------
Shared libraries  --enable-shared=yes           yes
Static libraries  --enable-static=yes           yes
Module support    --with-modules=no             no
GNU ld            --with-gnu-ld=yes             yes
Quantum depth     --with-quantum-depth=16       16

Delegate Configuration:
BZLIB             --with-bzlib=yes              no
DPS               --with-dps=yes                no
FlashPIX          --with-fpx=no         no
FreeType 2.0      --with-ttf=yes                no (failed tests)
GhostPCL          None                          pcl6 (unknown)
Ghostscript       None                          gs (8.60)
Ghostscript fonts --with-gs-font-dir=default    /usr/share/fonts/default/Type1/
Ghostscript lib   --with-gslib=no               no
Graphviz          --with-gvc=yes                no
JBIG              --with-jbig=yes               no
JPEG v1           --with-jpeg=yes               no (failed tests)
JPEG-2000         --with-jp2=yes                no
LCMS              --with-lcms=yes               no (failed tests)
Magick++          --with-magick-plus-plus=yes   yes
PERL              --with-perl=no                no
PNG               --with-png=yes                no (failed tests)
TIFF              --with-tiff=yes               no (failed tests)
Windows fonts     --with-windows-font-dir=      none
WMF               --with-wmf=yes                no
X11               --with-x=                     yes
XML               --with-xml=yes                no (failed tests)
ZLIB              --with-zlib=yes               yes

X11 Configuration:
  X_CFLAGS     = -I/usr/include
  X_PRE_LIBS   =
  X_LIBS       = -L/usr/lib
  X_EXTRA_LIBS =

Options used to compile and link:
  PREFIX      = /home/Test/imagemagick
  EXEC-PREFIX = /home/Test/imagemagick t
  VERSION     = 6.2.6
  CC          = mipsel-linux-gcc
  CFLAGS      = -g -O2 -Wall -pthread
  CPPFLAGS    = -I/home/Test/imagemagick/include
  PCFLAGS     =
  DEFS        = -DHAVE_CONFIG_H
  LDFLAGS     = -L/home/Test/imagemagick /lib -L/usr/lib
  LIBS        = -lMagick -lX11 -lz -lpthread -lm -lpthread
  CXX         = mipsel-linux-g++
  CXXFLAGS    = -pthread

论坛徽章:
5
2 [报告]
发表于 2009-03-16 13:00 |只看该作者
像编译器和代码之间版本匹配的问题. 在代码/文档里找一下, 是否有编译器版本方面的信息.

论坛徽章:
0
3 [报告]
发表于 2009-03-16 16:25 |只看该作者

非常感谢解决,主要引用的头文件不对

非常感谢解决,主要引用的头文件不对
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP