compile error + creating sd card
-
I would try both.
If I would start from scratch, I need to burn the img to the sd card like @supernature2k said?
Do I only need ´´root.tar.xz´´ for an update? -
For an update, recalbox won't do anything if it doesn't have both the [br]oot.tar.xz in the right folder
Anyway, i don't know how good you know reaclbox, but if you wanna upgrade from a 4.0, the upgrade process to 4.1 is not yet fully ready. It will work, of course, but we didn't manage the update of some special files yet
-
Ok a clean installation seams to be the best choise.
Thx for assistance. Installation process worked. Now I only need to port the scores and the ROM's?
-
don't expect too much support from the team, on 4.1 we are not yet finished developping it. Support will start once beta (or even alpha) starts
-
No Problem, that's comprehensible.
-
Hi! I'm trying to compile the project for the very first time and after removing the dosbox package I get this error with freeimage:
>>> freeimage 3.16.0 Building CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DPNG_ARM_NEON_OPT=0" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DPNG_ARM_NEON_OPT=0" /usr/bin/make -j2 CC="/home/paradadf/recalbox-buildroot-rpi2/output/host/usr/bin/arm-buildroot-linux-gnueabihf-gcc" CXX="/home/paradadf/recalbox-buildroot-rpi2/output/host/usr/bin/arm-buildroot-linux-gnueabihf-g++" LD="/home/paradadf/recalbox-buildroot-rpi2/output/host/usr/bin/arm-buildroot-linux-gnueabihf-ld" -C /home/paradadf/recalbox-buildroot-rpi2/output/build/freeimage-3.16.0 /usr/bin/make -f Makefile.gnu /home/paradadf/recalbox-buildroot-rpi2/output/host/usr/bin/arm-buildroot-linux-gnueabihf-gcc -s -shared -Wl,-soname,libfreeimage.so.3 -o libfreeimage-3.16.0.so ./Source/FreeImage/BitmapAccess.o ./Source/FreeImage/ColorLookup.o ./Source/FreeImage/FreeImage.o ./Source/FreeImage/FreeImageC.o ./Source/FreeImage/FreeImageIO.o ./Source/FreeImage/GetType.o ./Source/FreeImage/MemoryIO.o ./Source/FreeImage/PixelAccess.o ./Source/FreeImage/J2KHelper.o ././Source/FreeImage/MNGHelper.o ./Source/FreeImage/Plugin.o ./Source/FreeImage/PluginBMP.o ./Source/FreeImage/PluginCUT.o ./Source/FreeImage/PluginDDS.o ./Source/FreeImage/PluginEXR.o ./Source/FreeImage/PluginG3.o ./Source/FreeImage/PluginGIF.o ./Source/FreeImage/PluginHDR.o ./Source/FreeImage/PluginICO.o ./Source/FreeImage/PluginIFF.o ./Source/FreeImage/PluginJ2K.o ././Source/FreeImage/PluginJNG.o ./Source/FreeImage/PluginJP2.o ./Source/FreeImage/PluginJPEG.o ././Source/FreeImage/PluginJXR.o ./Source/FreeImage/PluginKOALA.o ./Source/FreeImage/PluginMNG.o ./Source/FreeImage/PluginPCD.o ./Source/FreeImage/PluginPCX.o ./Source/FreeImage/PluginPFM.o ./Source/FreeImage/PluginPICT.o ./Source/FreeImage/PluginPNG.o ./Source/FreeImage/PluginPNM.o ./Source/FreeImage/PluginPSD.o ./Source/FreeImage/PluginRAS.o ./Source/FreeImage/PluginRAW.o ./Source/FreeImage/PluginSGI.o ./Source/FreeImage/PluginTARGA.o ./Source/FreeImage/PluginTIFF.o ./Source/FreeImage/PluginWBMP.o ././Source/FreeImage/PluginWebP.o ./Source/FreeImage/PluginXBM.o ./Source/FreeImage/PluginXPM.o ./Source/FreeImage/PSDPa**er.o ./Source/FreeImage/TIFFLogLuv.o ./Source/FreeImage/Conversion.o ./Source/FreeImage/Conversion16_555.o ./Source/FreeImage/Conversion16_565.o ./Source/FreeImage/Conversion24.o ./Source/FreeImage/Conversion32.o ./Source/FreeImage/Conversion4.o ./Source/FreeImage/Conversion8.o ./Source/FreeImage/ConversionFloat.o ./Source/FreeImage/ConversionRGB16.o ./Source/FreeImage/ConversionRGBF.o ./Source/FreeImage/ConversionType.o ./Source/FreeImage/ConversionUINT16.o ./Source/FreeImage/Halftoning.o ./Source/FreeImage/tmoColorConvert.o ./Source/FreeImage/tmoDrago03.o ./Source/FreeImage/tmoFattal02.o ./Source/FreeImage/tmoReinhard05.o ./Source/FreeImage/ToneMapping.o ./Source/FreeImage/NNQuantizer.o ./Source/FreeImage/WuQuantizer.o ./Source/DeprecationManager/Deprecated.o ./Source/DeprecationManager/DeprecationMgr.o ./Source/FreeImage/CacheFile.o ./Source/FreeImage/MultiPage.o ./Source/FreeImage/ZLibInterface.o ./Source/Metadata/Exif.o ./Source/Metadata/FIRational.o ./Source/Metadata/FreeImageTag.o ./Source/Metadata/IPTC.o ./Source/Metadata/TagConversion.o ./Source/Metadata/TagLib.o ./Source/Metadata/XTIFF.o ./Source/FreeImageToolkit/Background.o ./Source/FreeImageToolkit/BSplineRotate.o ./Source/FreeImageToolkit/Channels.o ./Source/FreeImageToolkit/ClassicRotate.o ./Source/FreeImageToolkit/Colors.o ./Source/FreeImageToolkit/CopyPaste.o ./Source/FreeImageToolkit/Display.o ./Source/FreeImageToolkit/Flip.o ./Source/FreeImageToolkit/JPEGTransform.o ./Source/FreeImageToolkit/MultigridPoissonSolver.o ./Source/FreeImageToolkit/Rescale.o ./Source/FreeImageToolkit/Resize.o Source/LibJPEG/./jaricom.o Source/LibJPEG/jcapimin.o Source/LibJPEG/jcapistd.o Source/LibJPEG/./jcarith.o Source/LibJPEG/jccoefct.o Source/LibJPEG/jccolor.o Source/LibJPEG/jcdctmgr.o Source/LibJPEG/jchuff.o Source/LibJPEG/jcinit.o Source/LibJPEG/jcmainct.o Source/LibJPEG/jcmarker.o Source/LibJPEG/jcmaster.o Source/LibJPEG/jcomapi.o Source/LibJPEG/jcparam.o Source/LibJPEG/jcprepct.o Source/LibJPEG/jcsample.o Source/LibJPEG/jctrans.o Source/LibJPEG/jdapimin.o Source/LibJPEG/jdapistd.o Source/LibJPEG/./jdarith.o Source/LibJPEG/jdatadst.o Source/LibJPEG/jdatasrc.o Source/LibJPEG/jdcoefct.o Source/LibJPEG/jdcolor.o Source/LibJPEG/jddctmgr.o Source/LibJPEG/jdhuff.o Source/LibJPEG/jdinput.o Source/LibJPEG/jdmainct.o Source/LibJPEG/jdmarker.o Source/LibJPEG/jdmaster.o Source/LibJPEG/jdmerge.o Source/LibJPEG/jdpostct.o Source/LibJPEG/jdsample.o Source/LibJPEG/jdtrans.o Source/LibJPEG/jerror.o Source/LibJPEG/jfdctflt.o Source/LibJPEG/jfdctfst.o Source/LibJPEG/jfdctint.o Source/LibJPEG/jidctflt.o Source/LibJPEG/jidctfst.o Source/LibJPEG/jidctint.o Source/LibJPEG/jmemmgr.o Source/LibJPEG/jmemnobs.o Source/LibJPEG/jquant1.o Source/LibJPEG/jquant2.o Source/LibJPEG/jutils.o Source/LibJPEG/transupp.o Source/LibPNG/./png.o Source/LibPNG/./pngerror.o Source/LibPNG/./pngget.o Source/LibPNG/./pngmem.o Source/LibPNG/./pngpread.o Source/LibPNG/./pngread.o Source/LibPNG/./pngrio.o Source/LibPNG/./pngrtran.o Source/LibPNG/./pngrutil.o Source/LibPNG/./pngset.o Source/LibPNG/./pngtrans.o Source/LibPNG/./pngwio.o Source/LibPNG/./pngwrite.o Source/LibPNG/./pngwtran.o Source/LibPNG/./pngwutil.o Source/LibTIFF4/./tif_aux.o Source/LibTIFF4/./tif_close.o Source/LibTIFF4/./tif_codec.o Source/LibTIFF4/./tif_color.o Source/LibTIFF4/./tif_compress.o Source/LibTIFF4/./tif_dir.o Source/LibTIFF4/./tif_dirinfo.o Source/LibTIFF4/./tif_dirread.o Source/LibTIFF4/./tif_dirwrite.o Source/LibTIFF4/./tif_dumpmode.o Source/LibTIFF4/./tif_error.o Source/LibTIFF4/./tif_extension.o Source/LibTIFF4/./tif_fax3.o Source/LibTIFF4/./tif_fax3sm.o Source/LibTIFF4/./tif_flush.o Source/LibTIFF4/./tif_getimage.o Source/LibTIFF4/./tif_jpeg.o Source/LibTIFF4/./tif_luv.o Source/LibTIFF4/./tif_lzma.o Source/LibTIFF4/./tif_lzw.o Source/LibTIFF4/./tif_next.o Source/LibTIFF4/./tif_ojpeg.o Source/LibTIFF4/./tif_open.o Source/LibTIFF4/./tif_packbits.o Source/LibTIFF4/./tif_pixarlog.o Source/LibTIFF4/./tif_predict.o Source/LibTIFF4/./tif_print.o Source/LibTIFF4/./tif_read.o Source/LibTIFF4/./tif_strip.o Source/LibTIFF4/./tif_swab.o Source/LibTIFF4/./tif_thunder.o Source/LibTIFF4/./tif_tile.o Source/LibTIFF4/./tif_version.o Source/LibTIFF4/./tif_warning.o Source/LibTIFF4/./tif_write.o Source/LibTIFF4/./tif_zip.o Source/ZLib/./adler32.o Source/ZLib/./compress.o Source/ZLib/./crc32.o Source/ZLib/./deflate.o Source/ZLib/./gzclose.o Source/ZLib/./gzlib.o Source/ZLib/./gzread.o Source/ZLib/./gzwrite.o Source/ZLib/./infback.o Source/ZLib/./inffast.o Source/ZLib/./inflate.o Source/ZLib/./inftrees.o Source/ZLib/./trees.o Source/ZLib/./uncompr.o Source/ZLib/./zutil.o Source/LibOpenJPEG/bio.o Source/LibOpenJPEG/cio.o Source/LibOpenJPEG/dwt.o Source/LibOpenJPEG/event.o Source/LibOpenJPEG/./function_list.o Source/LibOpenJPEG/image.o Source/LibOpenJPEG/./invert.o Source/LibOpenJPEG/j2k.o Source/LibOpenJPEG/jp2.o Source/LibOpenJPEG/mct.o Source/LibOpenJPEG/mqc.o Source/LibOpenJPEG/openjpeg.o Source/LibOpenJPEG/./opj_clock.o Source/LibOpenJPEG/pi.o Source/LibOpenJPEG/raw.o Source/LibOpenJPEG/t1.o Source/LibOpenJPEG/t2.o Source/LibOpenJPEG/tcd.o Source/LibOpenJPEG/tgt.o Source/OpenEXR/./IlmImf/ImfAttribute.o Source/OpenEXR/./IlmImf/ImfB44Compressor.o Source/OpenEXR/./IlmImf/ImfBoxAttribute.o Source/OpenEXR/./IlmImf/ImfChannelList.o Source/OpenEXR/./IlmImf/ImfChannelListAttribute.o Source/OpenEXR/./IlmImf/ImfChromaticities.o Source/OpenEXR/./IlmImf/ImfChromaticitiesAttribute.o Source/OpenEXR/./IlmImf/ImfCompressionAttribute.o Source/OpenEXR/./IlmImf/ImfCompressor.o Source/OpenEXR/./IlmImf/ImfConvert.o Source/OpenEXR/./IlmImf/ImfCRgbaFile.o Source/OpenEXR/./IlmImf/ImfDoubleAttribute.o Source/OpenEXR/./IlmImf/ImfEnvmap.o Source/OpenEXR/./IlmImf/ImfEnvmapAttribute.o Source/OpenEXR/./IlmImf/ImfFloatAttribute.o Source/OpenEXR/./IlmImf/ImfFrameBuffer.o Source/OpenEXR/./IlmImf/ImfFramesPerSecond.o Source/OpenEXR/./IlmImf/ImfHeader.o Source/OpenEXR/./IlmImf/ImfHuf.o Source/OpenEXR/./IlmImf/ImfInputFile.o Source/OpenEXR/./IlmImf/ImfIntAttribute.o Source/OpenEXR/./IlmImf/ImfIO.o Source/OpenEXR/./IlmImf/ImfKeyCode.o Source/OpenEXR/./IlmImf/ImfKeyCodeAttribute.o Source/OpenEXR/./IlmImf/ImfLineOrderAttribute.o Source/OpenEXR/./IlmImf/ImfLut.o Source/OpenEXR/./IlmImf/ImfMatrixAttribute.o Source/OpenEXR/./IlmImf/ImfMisc.o Source/OpenEXR/./IlmImf/ImfOpaqueAttribute.o Source/OpenEXR/./IlmImf/ImfOutputFile.o Source/OpenEXR/./IlmImf/ImfPizCompressor.o Source/OpenEXR/./IlmImf/ImfPreviewImage.o Source/OpenEXR/./IlmImf/ImfPreviewImageAttribute.o Source/OpenEXR/./IlmImf/ImfPxr24Compressor.o Source/OpenEXR/./IlmImf/ImfRational.o Source/OpenEXR/./IlmImf/ImfRationalAttribute.o Source/OpenEXR/./IlmImf/ImfRgbaFile.o Source/OpenEXR/./IlmImf/ImfRgbaYca.o Source/OpenEXR/./IlmImf/ImfRleCompressor.o Source/OpenEXR/./IlmImf/ImfScanLineInputFile.o Source/OpenEXR/./IlmImf/ImfStandardAttributes.o Source/OpenEXR/./IlmImf/ImfStdIO.o Source/OpenEXR/./IlmImf/ImfStringAttribute.o Source/OpenEXR/./IlmImf/ImfStringVectorAttribute.o Source/OpenEXR/./IlmImf/ImfTestFile.o Source/OpenEXR/./IlmImf/ImfThreading.o Source/OpenEXR/./IlmImf/ImfTileDescriptionAttribute.o Source/OpenEXR/./IlmImf/ImfTiledInputFile.o Source/OpenEXR/./IlmImf/ImfTiledMisc.o Source/OpenEXR/./IlmImf/ImfTiledOutputFile.o Source/OpenEXR/./IlmImf/ImfTiledRgbaFile.o Source/OpenEXR/./IlmImf/ImfTileOffsets.o Source/OpenEXR/./IlmImf/ImfTimeCode.o Source/OpenEXR/./IlmImf/ImfTimeCodeAttribute.o Source/OpenEXR/./IlmImf/ImfVecAttribute.o Source/OpenEXR/./IlmImf/ImfVersion.o Source/OpenEXR/./IlmImf/ImfWav.o Source/OpenEXR/./IlmImf/ImfZipCompressor.o Source/OpenEXR/./Imath/ImathBox.o Source/OpenEXR/./Imath/ImathColorAlgo.o Source/OpenEXR/./Imath/ImathFun.o Source/OpenEXR/./Imath/ImathMatrixAlgo.o Source/OpenEXR/./Imath/ImathRandom.o Source/OpenEXR/./Imath/ImathShear.o Source/OpenEXR/./Imath/ImathVec.o Source/OpenEXR/./Iex/IexBaseExc.o Source/OpenEXR/./Iex/IexThrowErrnoExc.o Source/OpenEXR/./Half/half.o Source/OpenEXR/./IlmThread/IlmThread.o Source/OpenEXR/./IlmThread/IlmThreadMutex.o Source/OpenEXR/./IlmThread/IlmThreadPool.o Source/OpenEXR/./IlmThread/IlmThreadSemaphore.o Source/LibRawLite/./internal/dcraw_common.o Source/LibRawLite/./internal/dcraw_fileio.o Source/LibRawLite/./internal/demosaic_packs.o Source/LibRawLite/./src/libraw_c_api.o Source/LibRawLite/./src/libraw_cxx.o Source/LibRawLite/./src/libraw_datastream.o Source/LibWebP/./src/dec/dec_alpha.o Source/LibWebP/./src/dec/dec_buffer.o Source/LibWebP/./src/dec/dec_frame.o Source/LibWebP/./src/dec/dec_idec.o Source/LibWebP/./src/dec/dec_io.o Source/LibWebP/./src/dec/dec_layer.o Source/LibWebP/./src/dec/dec_quant.o Source/LibWebP/./src/dec/dec_tree.o Source/LibWebP/./src/dec/dec_vp8.o Source/LibWebP/./src/dec/dec_vp8l.o Source/LibWebP/./src/dec/dec_webp.o Source/LibWebP/./src/dsp/cpu.o Source/LibWebP/./src/dsp/dec.o Source/LibWebP/./src/dsp/dec_clip_tables.o Source/LibWebP/./src/dsp/dec_neon.o Source/LibWebP/./src/dsp/dec_sse2.o Source/LibWebP/./src/dsp/enc.o Source/LibWebP/./src/dsp/enc_neon.o Source/LibWebP/./src/dsp/enc_sse2.o Source/LibWebP/./src/dsp/lossless.o Source/LibWebP/./src/dsp/upsampling.o Source/LibWebP/./src/dsp/upsampling_neon.o Source/LibWebP/./src/dsp/upsampling_sse2.o Source/LibWebP/./src/dsp/yuv.o Source/LibWebP/./src/enc/enc_alpha.o Source/LibWebP/./src/enc/enc_analysis.o Source/LibWebP/./src/enc/enc_backward_references.o Source/LibWebP/./src/enc/enc_config.o Source/LibWebP/./src/enc/enc_cost.o Source/LibWebP/./src/enc/enc_filter.o Source/LibWebP/./src/enc/enc_frame.o Source/LibWebP/./src/enc/enc_histogram.o Source/LibWebP/./src/enc/enc_iterator.o Source/LibWebP/./src/enc/enc_layer.o Source/LibWebP/./src/enc/enc_picture.o Source/LibWebP/./src/enc/enc_quant.o Source/LibWebP/./src/enc/enc_syntax.o Source/LibWebP/./src/enc/enc_tree.o Source/LibWebP/./src/enc/enc_vp8l.o Source/LibWebP/./src/enc/enc_webpenc.o Source/LibWebP/./src/enc/token.o Source/LibWebP/./src/utils/alpha_processing.o Source/LibWebP/./src/utils/bit_reader.o Source/LibWebP/./src/utils/bit_writer.o Source/LibWebP/./src/utils/color_cache.o Source/LibWebP/./src/utils/filters.o Source/LibWebP/./src/utils/huffman.o Source/LibWebP/./src/utils/huffman_encode.o Source/LibWebP/./src/utils/quant_levels.o Source/LibWebP/./src/utils/quant_levels_dec.o Source/LibWebP/./src/utils/random.o Source/LibWebP/./src/utils/rescaler.o Source/LibWebP/./src/utils/thread.o Source/LibWebP/./src/utils/utils.o Source/LibWebP/./src/mux/muxedit.o Source/LibWebP/./src/mux/muxinternal.o Source/LibWebP/./src/mux/muxread.o Source/LibJXR/./image/decode/decode.o Source/LibJXR/./image/decode/JXRTranscode.o Source/LibJXR/./image/decode/postprocess.o Source/LibJXR/./image/decode/segdec.o Source/LibJXR/./image/decode/strdec.o Source/LibJXR/./image/decode/strdec_x86.o Source/LibJXR/./image/decode/strInvTransform.o Source/LibJXR/./image/decode/strPredQuantDec.o Source/LibJXR/./image/encode/encode.o Source/LibJXR/./image/encode/segenc.o Source/LibJXR/./image/encode/strenc.o Source/LibJXR/./image/encode/strenc_x86.o Source/LibJXR/./image/encode/strFwdTransform.o Source/LibJXR/./image/encode/strPredQuantEnc.o Source/LibJXR/./image/sys/adapthuff.o Source/LibJXR/./image/sys/image.o Source/LibJXR/./image/sys/strcodec.o Source/LibJXR/./image/sys/strPredQuant.o Source/LibJXR/./image/sys/strTransform.o Source/LibJXR/./jxrgluelib/JXRGlue.o Source/LibJXR/./jxrgluelib/JXRGlueJxr.o Source/LibJXR/./jxrgluelib/JXRGluePFC.o Source/LibJXR/./jxrgluelib/JXRMeta.o -lstdc++ /home/paradadf/recalbox-buildroot-rpi2/output/host/usr/lib/gcc/arm-buildroot-linux-gnueabihf/4.9.3/../../../../arm-buildroot-linux-gnueabihf/bin/ld: ./Source/FreeImage/BitmapAccess.o: relocation R_ARM_MOVW_ABS_NC against `__pthread_key_create' can not be used when making a shared object; recompile with -fPIC ./Source/FreeImage/BitmapAccess.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile.gnu:69: recipe for target 'libfreeimage-3.16.0.so' failed make[3]: *** [libfreeimage-3.16.0.so] Error 1 Makefile:21: recipe for target 'default' failed make[2]: *** [default] Error 2 package/pkg-generic.mk:195: recipe for target '/home/paradadf/recalbox-buildroot-rpi2/output/build/freeimage-3.16.0/.stamp_built' failed make[1]: *** [/home/paradadf/recalbox-buildroot-rpi2/output/build/freeimage-3.16.0/.stamp_built] Error 2 Makefile:36: recipe for target '_all' failed make: *** [_all] Error 2
Any ideas?
-
@paradadf Had that on my very first compilations too using virtual box. Switching to native Linux did the trick
-
@subs I installed Ubuntu 16.04 32bit on an old laptop specially to try this :S
-
@paradadf can't check for now what i'm thinking about. But the idea is to edit CCFLAGS or LDFLAGS in the package and force -fPIC. Or in the makefile even ... Buildroot is supposed to handle that itself, so i think you may encounter this problem again later in the building process
-
Could you test with the docker build @paradadf ?
-
@digitaLumberjack I'll try it tonight, thanks!
-
Hmmm... it seems I won't be able to compile it with the docker. I'm using Ubuntu 16.04 32bit and just read this on the docker documentation:
Docker requires a 64-bit installation regardless of your Ubuntu version.
Saldly, my old laptop doesn't support it.