XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Linux and XBMC Live Specific Support

XBMC for Linux and XBMC Live Specific Support Need help with XBMC for Linux or XBMC Live, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2007-07-30, 23:08   #1
t0mt0m
Junior Member
 
Join Date: Jul 2007
Posts: 6
t0mt0m is on a distinguished road
Default compile error on rev 9738

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
t0mt0m is offline   Reply With Quote
Old 2007-07-30, 23:37   #2
babazoid
Member
 
babazoid's Avatar
 
Join Date: Oct 2003
Location: Toronto, Ontario
Posts: 38
babazoid is on a distinguished road
Default

I'm pretty sure revision 9739 is broken.
babazoid is offline   Reply With Quote
Old 2007-07-31, 00:47   #3
d4rk
Team-XBMC Developer
 
d4rk's Avatar
 
Join Date: May 2007
Location: Albuquerque
Posts: 500
d4rk is on a distinguished road
Default

Please make sure that both libstdc++6-4.1-dev and libc6-dev are up to date.

Code:
sudo apt-get update
sudo apt-get install libstdc++6-4.1-dev libc6-dev
d4rk is offline   Reply With Quote
Old 2007-07-31, 01:37   #4
t0mt0m
Junior Member
 
Join Date: Jul 2007
Posts: 6
t0mt0m is on a distinguished road
Default

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.
t0mt0m is offline   Reply With Quote
Old 2007-07-31, 06:11   #5
ajayv
Junior Member
 
Join Date: Jul 2007
Posts: 8
ajayv is on a distinguished road
Default

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.
ajayv is offline   Reply With Quote
Old 2007-07-31, 06:32   #6
babazoid
Member
 
babazoid's Avatar
 
Join Date: Oct 2003
Location: Toronto, Ontario
Posts: 38
babazoid is on a distinguished road
Default

Just got revision 9745 off of svn. Still broken, new error:

http://pastebin.ca/640140
babazoid is offline   Reply With Quote
Old 2007-07-31, 06:54   #7
d4rk
Team-XBMC Developer
 
d4rk's Avatar
 
Join Date: May 2007
Location: Albuquerque
Posts: 500
d4rk is on a distinguished road
Default

Quote:
Originally Posted by babazoid View Post
Just got revision 9745 off of svn. Still broken, new error:

http://pastebin.ca/640140
Read the README. You're missing Xinerama.

P.S. Thanks ajayv for providng extra debug information.

Last edited by d4rk; 2007-07-31 at 06:56.
d4rk is offline   Reply With Quote
Old 2007-07-31, 11:00   #8
t0mt0m
Junior Member
 
Join Date: Jul 2007
Posts: 6
t0mt0m is on a distinguished road
Default

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
t0mt0m is offline   Reply With Quote
Old 2007-07-31, 12:30   #9
bleair
Junior Member
 
Join Date: Jul 2007
Posts: 2
bleair is on a distinguished road
Default

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)
bleair is offline   Reply With Quote
Old 2007-07-31, 15:57   #10
babazoid
Member
 
babazoid's Avatar
 
Join Date: Oct 2003
Location: Toronto, Ontario
Posts: 38
babazoid is on a distinguished road
Default

Quote:
Originally Posted by d4rk View Post
Read the README. You're missing Xinerama.

P.S. Thanks ajayv for providng extra debug information.
My bad, compiled like 2 days ago without a problem, I didn't realize those dependencies had been added. Doh.
babazoid is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:18.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project