PDA

View Full Version : Envy + Nvidia + 7.10 Breaks compiling of XBMC


gateway69
2007-11-07, 00:11
It seems that when you use Envy on Ubuntu 7.10 it installs liblzo2-dev during the nvidia driver operation.

Now 7.10 and compiling of XBMC on with liblzo2-dev doesnt work, and I have to always remove the package liblzo2-dev to get it to compile again.

So a new nvidia driver comes out, i use envy to update the driver, and run into the same issues again, having to remove liblzo2-dev, also I *THINK* that when I remove liblzo2-dev it causes some issues with being able to set my screen resolutions upon the next reboot :(

just a fyi.

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

dizzey
2007-11-07, 03:43
i just change -llzo to -llzo in the Makefile then it compiles

its not that much work.
if you run build.sh the Makefile will be swapped out so let it build until it brakes swap -llzo to -llzo2 in the makefile then type make.

gateway69
2007-11-07, 04:35
sounds like fun. :) hehe thanks ill give it a shot

gateway69
2007-11-08, 23:56
would their be a way to put this into the build.sh script? detect if its 7.10 and disable -llzo and add -llzo2 ?

tssgery
2007-11-11, 15:57
would their be a way to put this into the build.sh script? detect if its 7.10 and disable -llzo and add -llzo2 ?

Actually, I've made this change to the configure.in script a couple of times and it keeps getting over-written. I haven't looked in the last few weeks as I've been extremely busy at work, but it shouldn't be tough for someone to put back in.

gateway69
2007-11-11, 20:18
Actually, I've made this change to the configure.in script a couple of times and it keeps getting over-written. I haven't looked in the last few weeks as I've been extremely busy at work, but it shouldn't be tough for someone to put back in.

the config script or build.sh its self? Would be nice to get fixed, sure its an easy work around..

run build.sh
it stops
edit makefile and swap -llzo to -llzo2
make
then run build.sh NOCOMPILE

just a pain each time ..

tssgery
2007-11-11, 20:29
The fix goes into configure.in, which gets built into configure.

Build.sh runs the configure script and creates the makefile.

Gamester17
2007-11-12, 10:35
http://xboxmediacenter.com/wiki/index.php?title=HOW-TO_submit_a_patch

Nudge nudge, wink wink :;):

tssgery
2007-11-12, 17:49
http://xboxmediacenter.com/wiki/index.php?title=HOW-TO_submit_a_patch

Nudge nudge, wink wink :;):

Patch 1830502

Phobia
2007-11-16, 02:47
Was that patch committed? I still get an error when compiling if I don't edit the files manually.

-- Phob

tssgery
2007-11-16, 02:51
Nope. I submitted it but don't have authority to apply it

http://sourceforge.net/tracker/index.php?func=detail&aid=1830502&group_id=87054&atid=581840

tssgery
2007-11-25, 19:01
Nope. I submitted it but don't have authority to apply it

http://sourceforge.net/tracker/index.php?func=detail&aid=1830502&group_id=87054&atid=581840


I believe this is committed now. :grin: