当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : archlinux编译uisp出错
帖子发表于 : 2012-04-22 21:22 

注册: 2009-01-02 21:41
帖子: 23
送出感谢: 0 次
接收感谢: 0 次
代码:
==> Building and installing package
==> Making package: uisp 20050207-4 (Sun Apr 22 21:13:15 CST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Found uisp-20050207.tar.gz
==> Validating source files with md5sums...
    uisp-20050207.tar.gz ... Passed
==> Extracting Sources...
  -> Extracting uisp-20050207.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating uisp.1
config.status: creating uisp.spec
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
Making all in src
make[1]: Entering directory `/tmp/yaourt-tmp-a/aur-uisp/src/uisp-20050207/src'
make  all-am
make[2]: Entering directory `/tmp/yaourt-tmp-a/aur-uisp/src/uisp-20050207/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Werror -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT Avr.o -MD -MP -MF ".deps/Avr.Tpo" \
  -c -o Avr.o `test -f 'Avr.C' || echo './'`Avr.C; \
then mv -f ".deps/Avr.Tpo" ".deps/Avr.Po"; \
else rm -f ".deps/Avr.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Werror -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT AvrAtmel.o -MD -MP -MF ".deps/AvrAtmel.Tpo" \
  -c -o AvrAtmel.o `test -f 'AvrAtmel.C' || echo './'`AvrAtmel.C; \
then mv -f ".deps/AvrAtmel.Tpo" ".deps/AvrAtmel.Po"; \
else rm -f ".deps/AvrAtmel.Tpo"; exit 1; \
fi
AvrAtmel.C: In member function 'void TAvrAtmel::SetAddress(TAddr)':
AvrAtmel.C:188:55: error: narrowing conversion of '((addr >> 8) & 255u)' from 'TAddr {aka unsigned int}' to 'TByte {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
AvrAtmel.C:188:55: error: narrowing conversion of '(addr & 255u)' from 'TAddr {aka unsigned int}' to 'TByte {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
AvrAtmel.C: In member function 'virtual void TAvrAtmel::WriteByte(TAddr, TByte, bool)':
AvrAtmel.C:297:46: error: narrowing conversion of '(((addr & 1u) != 0u) ? 'C' : 'c')' from 'char' to 'TByte {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
AvrAtmel.C: In member function 'void TAvrAtmel::WriteOldFuseBits(TByte)':
AvrAtmel.C:349:62: error: narrowing conversion of '((((int)val) & 31) | 160)' from 'int' to 'TByte {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
AvrAtmel.C: In member function 'virtual void TAvrAtmel::WriteLockBits(TByte)':
AvrAtmel.C:426:61: error: narrowing conversion of '(((((int)bits) << 1) & 255) | 249)' from 'int' to 'TByte {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
cc1plus: all warnings being treated as errors
make[2]: *** [AvrAtmel.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-a/aur-uisp/src/uisp-20050207/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-a/aur-uisp/src/uisp-20050207/src'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build uisp.


_________________
http://db.tt/gfENpA2


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译