QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1247|回复: 0

FC4 下编译VisualBoyAdvance错误?

[复制链接]
发表于 2005-11-11 12:35:11 | 显示全部楼层 |阅读模式
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:56:33 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux


[root@localhost VisualBoyAdvance-1.7.2]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
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 gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for nasm... /usr/bin/nasm
checking for gzopen in -lz... yes
checking for png_create_write_struct in -lpng... yes
checking for pthread_yield in -lpthread... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib64, headers /usr/X11R6/include
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 malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking zutil.h usability... yes
checking zutil.h presence... yes
checking for zutil.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for socklen_t... yes
checking whether byte ordering is bigendian... no
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.2... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/gb/Makefile
config.status: creating src/gtk/Makefile
config.status: creating src/gtk/images/Makefile
config.status: creating src/i386/Makefile
config.status: creating src/prof/Makefile
config.status: creating src/sdl/Makefile
config.status: creating win32/Makefile
config.status: executing depfiles commands
[root@localhost VisualBoyAdvance-1.7.2]# make
Making all in m4
make[1]: Entering directory `/home/Tools/Game/VisualBoyAdvance-1.7.2/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Tools/Game/VisualBoyAdvance-1.7.2/m4'
Making all in src
make[1]: Entering directory `/home/Tools/Game/VisualBoyAdvance-1.7.2/src'
Making all in gb
make[2]: Entering directory `/home/Tools/Game/VisualBoyAdvance-1.7.2/src/gb'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ZUTIL_H=1  -I. -I.     -g -O2 -DC_CORE -DPROFILING -DDEV_VERSION -MT gbCheats.o -MD -MP -MF ".deps/gbCheats.Tpo" \
  -c -o gbCheats.o `test -f 'gbCheats.cpp' || echo './'`gbCheats.cpp; \
then mv -f ".deps/gbCheats.Tpo" ".deps/gbCheats.Po"; \
else rm -f ".deps/gbCheats.Tpo"; exit 1; \
fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ZUTIL_H=1  -I. -I.     -g -O2 -DC_CORE -DPROFILING -DDEV_VERSION -MT GB.o -MD -MP -MF ".deps/GB.Tpo" \
  -c -o GB.o `test -f 'GB.cpp' || echo './'`GB.cpp; \
then mv -f ".deps/GB.Tpo" ".deps/GB.Po"; \
else rm -f ".deps/GB.Tpo"; exit 1; \
fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ZUTIL_H=1  -I. -I.     -g -O2 -DC_CORE -DPROFILING -DDEV_VERSION -MT gbDis.o -MD -MP -MF ".deps/gbDis.Tpo" \  -c -o gbDis.o `test -f 'gbDis.cpp' || echo './'`gbDis.cpp; \
then mv -f ".deps/gbDis.Tpo" ".deps/gbDis.Po"; \
else rm -f ".deps/gbDis.Tpo"; exit 1; \
fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ZUTIL_H=1  -I. -I.     -g -O2 -DC_CORE -DPROFILING -DDEV_VERSION -MT gbGfx.o -MD -MP -MF ".deps/gbGfx.Tpo" \  -c -o gbGfx.o `test -f 'gbGfx.cpp' || echo './'`gbGfx.cpp; \
then mv -f ".deps/gbGfx.Tpo" ".deps/gbGfx.Po"; \
else rm -f ".deps/gbGfx.Tpo"; exit 1; \
fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ZUTIL_H=1  -I. -I.     -g -O2 -DC_CORE -DPROFILING -DDEV_VERSION -MT gbGlobals.o -MD -MP -MF ".deps/gbGlobals.Tpo" \
  -c -o gbGlobals.o `test -f 'gbGlobals.cpp' || echo './'`gbGlobals.cpp; \
then mv -f ".deps/gbGlobals.Tpo" ".deps/gbGlobals.Po"; \
else rm -f ".deps/gbGlobals.Tpo"; exit 1; \
fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ZUTIL_H=1  -I. -I.     -g -O2 -DC_CORE -DPROFILING -DDEV_VERSION -MT gbMemory.o -MD -MP -MF ".deps/gbMemory.Tpo" \
  -c -o gbMemory.o `test -f 'gbMemory.cpp' || echo './'`gbMemory.cpp; \
then mv -f ".deps/gbMemory.Tpo" ".deps/gbMemory.Po"; \
else rm -f ".deps/gbMemory.Tpo"; exit 1; \
fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ZUTIL_H=1  -I. -I.     -g -O2 -DC_CORE -DPROFILING -DDEV_VERSION -MT gbPrinter.o -MD -MP -MF ".deps/gbPrinter.Tpo" \
  -c -o gbPrinter.o `test -f 'gbPrinter.cpp' || echo './'`gbPrinter.cpp; \
then mv -f ".deps/gbPrinter.Tpo" ".deps/gbPrinter.Po"; \
else rm -f ".deps/gbPrinter.Tpo"; exit 1; \
fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ZUTIL_H=1  -I. -I.     -g -O2 -DC_CORE -DPROFILING -DDEV_VERSION -MT gbSGB.o -MD -MP -MF ".deps/gbSGB.Tpo" \  -c -o gbSGB.o `test -f 'gbSGB.cpp' || echo './'`gbSGB.cpp; \
then mv -f ".deps/gbSGB.Tpo" ".deps/gbSGB.Po"; \
else rm -f ".deps/gbSGB.Tpo"; exit 1; \
fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ZUTIL_H=1  -I. -I.     -g -O2 -DC_CORE -DPROFILING -DDEV_VERSION -MT gbSound.o -MD -MP -MF ".deps/gbSound.Tpo" \
  -c -o gbSound.o `test -f 'gbSound.cpp' || echo './'`gbSound.cpp; \
then mv -f ".deps/gbSound.Tpo" ".deps/gbSound.Po"; \
else rm -f ".deps/gbSound.Tpo"; exit 1; \
fi
rm -f libgb.a
ar cru libgb.a gbCheats.o GB.o gbDis.o gbGfx.o gbGlobals.o gbMemory.o gbPrinter.o gbSGB.o gbSound.o
ranlib libgb.a
make[2]: Leaving directory `/home/Tools/Game/VisualBoyAdvance-1.7.2/src/gb'
Making all in prof
make[2]: Entering directory `/home/Tools/Game/VisualBoyAdvance-1.7.2/src/prof'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ZUTIL_H=1  -I. -I.     -g -O2 -DC_CORE -DPROFILING -DDEV_VERSION -MT prof.o -MD -MP -MF ".deps/prof.Tpo" \
  -c -o prof.o `test -f 'prof.cpp' || echo './'`prof.cpp; \
then mv -f ".deps/prof.Tpo" ".deps/prof.Po"; \
else rm -f ".deps/prof.Tpo"; exit 1; \
fi
prof.cpp: In function ‘void profCleanup()’:
prof.cpp:269: 错误:从 ‘char*’ 到 ‘u32’ 的转换损失精度
make[2]: *** [prof.o] 错误 1
make[2]: Leaving directory `/home/Tools/Game/VisualBoyAdvance-1.7.2/src/prof'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/Tools/Game/VisualBoyAdvance-1.7.2/src'
make: *** [all-recursive] 错误 1
[root@localhost VisualBoyAdvance-1.7.2]#
请问是什么问题呢 ??
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-20 05:00 , Processed in 0.098711 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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