compile error on rev 9738 - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: compile error on rev 9738 (/showthread.php?tid=27666) |
compile error on rev 9738 - t0mt0m - 2007-07-30 Hello all, first of all i want to mention that this is really a great project and i really appreciate the good work. Some days ago i installed ubuntu on my htpc and just tried to get xbmc to work. And it worked very well. I was able to see my hd content even from rar. Today i wanted to get the latest additions and tried to compile from svn again. This time it wont work, and i have just no clue wth it wont. I even reinstalled ubuntu but had no luck on compiling the actual branch. The error i get is : t0mt0m@htpc:~/XBMC$ make make -C guilib make[1]: Entering directory `/home/t0mt0m/XBMC/guilib' rm -f ActionManager.o g++-4.1 -c -g -D_XBMC_DEBUG -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -Icommon -I../xbmc -I../xbmc/cores -I../xbmc/linux -I/usr/include/freetype2 -I/usr/include/SDL ActionManager.cpp -o ActionManager.o /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstdlib:122: error: ‘::malloc’ has not been declared /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstdlib:130: error: ‘::realloc’ has not been declared make[1]: *** [ActionManager.o] Error 1 make[1]: Leaving directory `/home/t0mt0m/XBMC/guilib' make: *** [guilib] Error 2 Most likely i made an stupid mistake, but im out of ideas, even google cant help on this one. My setup is a foxconnboard with E6400 on it, it has 2GB Ram and an nvidia 7300GS. I hope i gave enough informations to help me out. Thanks so much in advance t0mt0m - babazoid - 2007-07-30 I'm pretty sure revision 9739 is broken. - d4rk - 2007-07-30 Please make sure that both libstdc++6-4.1-dev and libc6-dev are up to date. Code: sudo apt-get update - t0mt0m - 2007-07-31 got both of them installed t0mt0m@htpc:~/XBMC$ sudo apt-get install libstdc++6-4.1-dev libc6-dev Reading package lists... Done Building dependency tree Reading state information... Done libstdc++6-4.1-dev is already the newest version. libc6-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. - ajayv - 2007-07-31 I too have this problem. I tried ./configure --disable-gl and make compiles and links with no problems. But without the --disable-gl option it seems to have this issue. Hope this helps. - babazoid - 2007-07-31 Just got revision 9745 off of svn. Still broken, new error: http://pastebin.ca/640140 - d4rk - 2007-07-31 babazoid Wrote:Just got revision 9745 off of svn. Still broken, new error: Read the README. You're missing Xinerama. P.S. Thanks ajayv for providng extra debug information. - t0mt0m - 2007-07-31 hey i did Code: sudo apt-get install libxinerama1 libxinerama-dev and now all works great. Stupid me, i saw that missing in configure.log but didnt realize what it means. Thanks so much t0mt0m - bleair - 2007-07-31 Did you rerun configure? I didn't hit your specific problem, but after adding xinerama you must rerun configure to get proper makefiles (and do a make clean of course) - babazoid - 2007-07-31 d4rk Wrote:Read the README. You're missing Xinerama. My bad, compiled like 2 days ago without a problem, I didn't realize those dependencies had been added. Doh. - t0mt0m - 2007-07-31 Yes i rerun configure and it works well now. thanks again |