Kodi Community Forum
[PATCH] Fix for euphoria compiling error - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: [PATCH] Fix for euphoria compiling error (/showthread.php?tid=35377)



[PATCH] Fix for euphoria compiling error - vobie - 2008-07-30

hi

Quote:make[6]: Entering directory `/MCE-MEDIACENTER/XBMC/xbmc/screensavers/rsxs-0.9/src/euphoria'
depbase=`echo ../common.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DPKGDATADIR=\"/usr/local/share/rsxs\" -I./.. -I../../lib -I/usr/include/libpng12 -Wall -funroll-loops -fPIC -Wall -MT ../common.o -MD -MP -MF "$depbase.Tpo" -c -o ../common.o ../common.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo ../color.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DPKGDATADIR=\"/usr/local/share/rsxs\" -I./.. -I../../lib -I/usr/include/libpng12 -Wall -funroll-loops -fPIC -Wall -MT ../color.o -MD -MP -MF "$depbase.Tpo" -c -o ../color.o ../color.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo ../pngimage.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DPKGDATADIR=\"/usr/local/share/rsxs\" -I./.. -I../../lib -I/usr/include/libpng12 -Wall -funroll-loops -fPIC -Wall -MT ../pngimage.o -MD -MP -MF "$depbase.Tpo" -c -o ../pngimage.o ../pngimage.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
../pngimage.cc: In constructor ‘PNG:TongueNG(const std:Confusedtring&, bool)’:
../pngimage.cc:147: error: ‘strerror’ is not a member of ‘std’
make[6]: *** [../pngimage.o] Fehler 1

missing #include <cstring> in pngimage.cc No
add #include <cstring> to pngimage.cc Nod
please fix it in svn

vobie


- althekiller - 2008-07-30

We don't officially support gcc4.3 either Wink


- spiff - 2008-07-30

done


- feanorknd - 2008-07-31

spiff Wrote:done

Sure.. thanks.
Wink