爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 5980|回复: 1

WPS必备的jasper 安装出问题 求大神指教~~!!!!

[复制链接]

新浪微博达人勋

发表于 2017-9-22 18:38:41 | 显示全部楼层 |阅读模式
GrADS
系统平台:
问题截图: -
问题概况: ./configure 没有显示问题
但是输入make 之后就出现了如下所示的警告
../../../src/libjasper/include/jasper/jas_math.h:127:1: warning: 'no_sanitize_undefined' attribute directive ignored [-Wattributes]
{
^
../../../src/libjasper/include/jasper/jas_math.h:140:1: warning: 'no_sanitize_undefined' attribute directive ignored [-Wattributes]
{
^
../../../src/libjasper/include/jasper/jas_math.h:153:1: warning: 'no_sanitize_undefined' attribute directive ignored [-Wattributes]
{
^
../../../src/libjasper/include/jasper/jas_math.h:166:1: warning: 'no_sanitize_undefined' attribute directive ignored [-Wattributes]
{
^
jpg_dummy.c:90:14: error: conflicting types for 'jpg_decode'
jas_image_t *jpg_decode(jas_stream_t *in, char *optstr)
^
In file included from jpg_dummy.c:70:0:
../../../src/libjasper/include/jasper/jas_image.h:518:14: note: previous declaration of 'jpg_decode' was here
jas_image_t *jpg_decode(jas_stream_t *in, const char *optstr);
^
jpg_dummy.c:104:5: error: conflicting types for 'jpg_encode'
int jpg_encode(jas_image_t *image, jas_stream_t *out, char *optstr)
^
In file included from jpg_dummy.c:70:0:
../../../src/libjasper/include/jasper/jas_image.h:519:5: note: previous declaration of 'jpg_encode' was here
int jpg_encode(jas_image_t *image, jas_stream_t *out, const char *optstr);
^
make[3]: *** [jpg_dummy.lo] 错误 1
make[3]: 离开目录“/usr/local/software/wrf/jasper/jasper-1.900.28/src/libjasper/jpg”
make[2]: *** [all-recursive] 错误 1
make[2]: 离开目录“/usr/local/software/wrf/jasper/jasper-1.900.28/src/libjasper”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/usr/local/software/wrf/jasper/jasper-1.900.28/src”
make: *** [all-recursive] 错误 1
我看过提问的智慧: 看过
自己思考时长(天): 1

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
./configure 没有显示问题
但是输入make 之后就出现了如下所示的警告
../../../src/libjasper/include/jasper/jas_math.h:127:1: warning: 'no_sanitize_undefined' attribute directive ignored [-Wattributes]
{
^
../../../src/libjasper/include/jasper/jas_math.h:140:1: warning: 'no_sanitize_undefined' attribute directive ignored [-Wattributes]
{
^
../../../src/libjasper/include/jasper/jas_math.h:153:1: warning: 'no_sanitize_undefined' attribute directive ignored [-Wattributes]
{
^
../../../src/libjasper/include/jasper/jas_math.h:166:1: warning: 'no_sanitize_undefined' attribute directive ignored [-Wattributes]
{
^
jpg_dummy.c:90:14: error: conflicting types for 'jpg_decode'
jas_image_t *jpg_decode(jas_stream_t *in, char *optstr)
              ^
In file included from jpg_dummy.c:70:0:
../../../src/libjasper/include/jasper/jas_image.h:518:14: note: previous declaration of 'jpg_decode' was here
jas_image_t *jpg_decode(jas_stream_t *in, const char *optstr);
              ^
jpg_dummy.c:104:5: error: conflicting types for 'jpg_encode'
int jpg_encode(jas_image_t *image, jas_stream_t *out, char *optstr)
     ^
In file included from jpg_dummy.c:70:0:
../../../src/libjasper/include/jasper/jas_image.h:519:5: note: previous declaration of 'jpg_encode' was here
int jpg_encode(jas_image_t *image, jas_stream_t *out, const char *optstr);
     ^
make[3]: *** [jpg_dummy.lo] 错误 1
make[3]: 离开目录“/usr/local/software/wrf/jasper/jasper-1.900.28/src/libjasper/jpg”
make[2]: *** [all-recursive] 错误 1
make[2]: 离开目录“/usr/local/software/wrf/jasper/jasper-1.900.28/src/libjasper”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/usr/local/software/wrf/jasper/jasper-1.900.28/src”
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-9-23 06:35:42 | 显示全部楼层
你这光给出错误信息,也不知道是编译哪个程序的时候出错的,怎么看
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表