PDA

View Full Version : Compile error latest SVN


slash
2007-10-03, 01:09
For some reason. after a svn update I can't compile anymore http://xbmc.org/forum/images/smilies2/no6xn.gif
:no:

I'm running Ubuntu 7.04 and followed the README.linux (Did all the apt-get required).

when compiling (using the build.sh script) I get errors at RenderManager.cpp.

So I can't have an xbmc binary anymore (used to work)

I my missing something ?

knatsch
2007-10-03, 08:44
Oh yes got the same problem. I updated svn nearly every day so I *should* know by now how to do it.
Here are the last lines of the make command:
xbmc/GUIWindowSettingsCategory.o: In function `CGUIWindowSettingsCategory::OnCli ck(CBaseSettingControl*)':
/home/xbmc/XBMC/xbmc/GUIWindowSettingsCategory.cpp:1234: undefined reference to `CVideoDatabase::CleanDatabase()'
collect2: ld returned 1 exit status
make[1]: *** [XboxMediaCenter] Error 1
make[1]: Leaving directory `/home/xbmc/XBMC'
make: *** [all] Error 2

spiff
2007-10-03, 13:37
2x pebkac

knatsch
2007-10-03, 17:30
Thanks for that nice hint *g*
It seems that sometimes a "make clean" really makes sense :)

slash
2007-10-03, 19:25
Well I've already did that (make clean)

I have the problem from a fresh install of Ubuntu 7.04 with the first compilation attempt.

My command is :

./build.sh CONFIGOPT=--disable-gl

My understanding from the Readme is that : it updates to the latest version, does a cleanup and than compile without 3D support.

I will post the error later today.

f4ion1
2007-10-04, 18:34
I realize this forum is not for support. But discussion among users.
With that said.

I've previously loaded it on a test box and everything went fine.

So I loaded Ubuntu 7.04 on box previously running "MediaPortal". I plan on leaving it as a dual boot system until XBMCLinux is more mature. I loaded Ubuntu fine. Installed all updates. Checked out SVN and installed all dependencies listed in READE.LINUX.

But when I ran the ./build.sh script to compile it errored saying libGL must be installed and never created the XboxMediaCenter executable.

I have double checked and I have LibGL installed.

I installed it on my test box the day before and everything compiled fine.

Did something major change in the SVN yesterday?

slash
2007-10-04, 19:09
I think there are still major changes in the SVN.

I've been trying to compile for the last week and it worked only yesterday (when trying to generate a log for posting : see my messages in this thread).

As I said, yesterday it compiled fine under Ubuntu 7.04

Don't forget to do a "make clean" if it is not your first compilation attempt.

f4ion1
2007-10-05, 01:31
Would there be a problem with someone uploading the compiled program or is that a no-no?

f4ion1
2007-10-05, 01:32
Would there be a problem with someone uploading the compiled program or is that a no-no?

b/c this is running on Linux & not the XBOX?

slash
2007-10-05, 05:15
XBMC for linux is not ready to be released and not for testing either.

The programer team knowing that we are anxious to play with XBMC :p so they let us compile and test without support.

So I think it is too early to post a compiled version.

I know for fact that 10424 compiles ok and you can force your svn to downgrade to this revision if after an update it wont.;)

f4ion1
2007-10-05, 12:48
XBMC for linux is not ready to be released and not for testing either.

The programer team knowing that we are anxious to play with XBMC :p so they let us compile and test without support.

So I think it is too early to post a compiled version.

I know for fact that 10424 compiles ok and you can force your svn to downgrade to this revision if after an update it wont.;)

Awesome, I'll test with 10424 for now than. I'm a geek but never forced myself to use linux before. Now I have a reason.

Thanks for the info.

k-pax
2007-10-05, 17:21
I use Ubuntu Gutsy Beta1.
I have compiled xbmc just fine, but after I did an apt-get upgrade Im getting this error:

sound -lsqlite3 -lsmbclient -llzo -lfribidi -lfreetype -ldl -lcdio -lSDL_mixer -lSDL_image -lSDL -lXinerama -lGLU -lGLEW -lGL -rdynamic
guilib/TextureBundle.o: In function `CTextureBundle::OpenBundle()':
TextureBundle.cpp:(.text+0x1442): undefined reference to `__lzo_init_v2'
collect2: ld returned 1 exit status
make[1]: *** [XboxMediaCenter] Error 1
make[1]: Leaving directory `/home/xbmc/XBMC'
make: *** [all] Error 2
make: Leaving directory `/home/xbmc/XBMC'
make[1]: *** [XboxMediaCenter] Error 1
make: *** [all] Error 2


So I guess some/one of the needed packages for compiling xbmclinux has been updated to a version thats not supported.

slash
2007-10-06, 07:03
Hey f4ion1,

Starting revision 10425 (not 10424 my mistake :blush:) the compilation seems to complete successfully.

Test and report results please.

f4ion1
2007-10-06, 13:24
Got the latest to compile last night and I've got it running.

Now if I can just get it to recognize my Microsoft IR receiver I'll be doing alright.

I'm having to use the keyboard for testing right now.

Are you using an IR receiver, if so what kind?

slash
2007-10-07, 06:38
I have a home brew serial IR, but didn't take time to install under Ubuntu.

Works fine under Fedora and Windows XP.

Now that you got it running, could you share your tests results :

- Audio out, video performance (type of files)
- DVD playback

knatsch
2007-10-12, 22:09
Like k-pax I updated today to the Gutsy Beta and now I get the same error when compiling xbmc :(

averylinden
2007-10-12, 23:08
Do you have the liblzo1 and liblzo-dev packages installed?

knatsch
2007-10-13, 08:38
Yes both packages are installed & up-to-date. Newest svn revision still got the same error. I even cannot compile older revisions.

averylinden
2007-10-13, 16:25
My svn 10528 doesn't compile either - but with a different error on Fiesty:

xbmc/xbox/Network.o: In function `CNetwork::NetworkUp()':
Network.cpp:(.text+0x92e): undefined reference to `g_applicationMessenger'

Not too worried about this sort of thing, happens a lot to projects in active development...

d4rk
2007-10-14, 07:14
With liblzo related errors, try svn 10529+ and remember to rerun ./configure. If that doesn't do it, remove liblzo2-dev. and try again. Most other undefined reference errors can be fixed by doing a make clean before building.

knatsch
2007-10-14, 09:40
Thank you d4rk!
After removing this package compiling is working again :)