#256 make error when compiling in Fedora 15

open
nobody
Other (21)
5
5 days ago
2011-07-12
Adam O'Connor
No

$ make
Making all in m4
make[1]: Entering directory `/home/adam/VisualBoyAdvance-1.7.2/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/adam/VisualBoyAdvance-1.7.2/m4'
Making all in src
make[1]: Entering directory `/home/adam/VisualBoyAdvance-1.7.2/src'
Making all in gb
make[2]: Entering directory `/home/adam/VisualBoyAdvance-1.7.2/src/gb'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -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 -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\" -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 -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
GB.cpp: In function ‘bool gbWriteMemSaveState(char*, int)’:
GB.cpp:2158:55: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
GB.cpp: In function ‘bool gbReadMemSaveState(char*, int)’:
GB.cpp:2358:55: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -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 -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
gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:34:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:38:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:41:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:41:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:41:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:41:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:118:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
gbDis.cpp:133:1: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -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 -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\" -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 -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\" -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 -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\" -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 -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\" -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 -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\" -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 -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/adam/VisualBoyAdvance-1.7.2/src/gb'
Making all in prof
make[2]: Entering directory `/home/adam/VisualBoyAdvance-1.7.2/src/prof'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -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 -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:44: error: cast from ‘char*’ to ‘u32’ loses precision [-fpermissive]
prof.cpp: In function ‘void profCount()’:
prof.cpp:295:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
prof.cpp:298:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
make[2]: *** [prof.o] Error 1
make[2]: Leaving directory `/home/adam/VisualBoyAdvance-1.7.2/src/prof'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/adam/VisualBoyAdvance-1.7.2/src'
make: *** [all-recursive] Error 1

Discussion

  • Adam O'Connor
    Adam O'Connor
    2011-07-13

    • labels: --> Other
     
  • nobody cares

     

  • Anonymous
    2012-01-08

    This happens to me too. I've tried compiling it also and the same thing happens with GCC-4.4.5. It should matter since ti's not compiling under GCC, and thus is a "won't build" bug.

     

  • Anonymous
    2012-09-04

    you must compile with -fpermissive (as it suggests), i.e.

    CXXFLAGS=-fpermissive ./configure

    and apply this small patch

    diff -u -r VisualBoyAdvance-1.7.2/src/sdl/debugger.cpp VisualBoyAdvance-dev/src/sdl/debugger.cpp
    --- VisualBoyAdvance-1.7.2/src/sdl/debugger.cpp 2004-05-13 16:13:14.000000000 +0200
    +++ VisualBoyAdvance-dev/src/sdl/debugger.cpp 2012-09-04 16:39:53.847321346 +0200
    @@ -1280,7 +1280,7 @@
    if(n == 2) {
    u32 addr = 0;
    sscanf(args[1], "%x", &addr);
    - for(int i = 0; i < 16; i++) {
    + for(int ii = 0; ii < 16; ii++) {
    int a = debuggerReadByte(addr);
    int b = debuggerReadByte(addr+1);
    int c = debuggerReadByte(addr+2);
    @@ -1316,7 +1316,7 @@
    u32 addr = 0;
    sscanf(args[1], "%x", &addr);
    addr = addr & 0xfffffffe;
    - for(int i = 0; i < 16; i++) {
    + for(int ii = 0; ii < 16; ii++) {
    int a = debuggerReadByte(addr);
    int b = debuggerReadByte(addr+1);
    int c = debuggerReadByte(addr+2);
    @@ -1352,7 +1352,7 @@
    u32 addr = 0;
    sscanf(args[1], "%x", &addr);
    addr = addr & 0xfffffffc;
    - for(int i = 0; i < 16; i++) {
    + for(int ii = 0; ii < 16; ii++) {
    int a = debuggerReadByte(addr);
    int b = debuggerReadByte(addr+1);
    int c = debuggerReadByte(addr+2);