Official forums for BZFlag.org • View topic - Mac SVN/Compile :: The BZFlag Developers have switched from CVS version control to SVN. . idem . my build failed at FTVectoriser too . is it a 10.5 problem? http://my.bzflag.org/bb/viewtopic.php?t=11845HOME | Hi folks
trying to setup on ubuntu 8.04 with gigabyte 780g motherboard. Steps
- basic build from usb stick
- envyng-core install for graphic drivers
- install subversion
- svn build files and svn up
then problems start
- make clean but fails with "make: *** No rule to make target `clean'. Stop."
- ./configure also fails with "error: libGL is required" (probably related to above?)
Any pointers gratefully received?
Thanks
I'm getting a fail on make install:
toggle-up.png: P8 16x16 ( 0.00% waste)
toggle-down.png: P8 16x16 ( 0.00% waste)
sub-shutdown-nofocus.png: LIN_A8R8G8B8 64x64 ( 4.69% waste)
Segmentation fault (core dumped)
make: *** [install-datas] Error 139
bmfrosty@xbmcbuntu:~/Desktop/xbmc-backup/linuxport/XBMC$
Anyone want the core dump?
I've since fixed the build problems with GCC 4.3 and XBMCTex, everything should build fine.
I too have been running gentoo for quite a while with little to no problems. I have been managing my packets in a similar manner as you posted. I have even unmasked lzo 2.03 and it is still spitting out the same error. Odd...
Gentoo lzo 2.03 gcc 4.1.2
Well, I am on the same page as you, but running lzo 2.02. Try revdep-rebuild, make distclean and have a look at my emerge --info here: http://pastebin.com/m27345ed7
What distro and what versions of liblzo (and -dev if applicable) do you have installed? There's something up with how lzo built between distros.
Gentoo lzo-2.02-r1
Let me know if you need more info. Cheers.
I have the following issue, which I am not able to figure out concerning compilation.
I do an svn checkout,
than a default ./configure,
than make.
If I understand well, the installation should be done in /usr/local by default, but instead of that, after "make", everything is installed to /home/myname/XBMC from where I ran the checkout. It seems that even ./configure --prefix=/usr/local not solve the problem.
Make install, after make not helpig either.
However, running xbmc.bin from /home/myname/XBMC runs just fine.
My second issue is, when I would like to do an update:
I do an svn up in /home/myname/XBMC,
than make clean,
than ./configure
than make.
I see the update is done properly, but than after make, and run xbmc.bin, I still have the previous version.
Could anybody please help me to better understand how to do it properly?
Thank you!
@uomiarz, your problem has been resolved MANY times in this forum, please search next time or at least read the thread you're about to post in to make sure you have the same problem. make distclean and rebuild.
Other people I'm still working on the lzo thing, been busy this week. If anyone else is going to post please also post your distro, lzo version and gcc version.
its fixed in the svn now
You don't understand well (or we haven't updated the README). This is a standard GNU make install method so you need to ./configure, make, sudo make install .
@althekiller
readme says "make install" is optional, so it was not obvious to me, that this is mandatory. However I tried to used make install, but I think it wasn't on a fresh install and maybe I messed up something until this time.
@Gaarv
readme also instructed to run with ./xbmc.bin, that is the reason I tried with that one.
Thank you for the help, guys, I give it a try again, when I arrive back home tomorrow.
Ohh, and could you please also instruct on the update process? Does it need to run ./configure after "svn up" or just make clean, and make install?
Hi,
not sure but u seem to be missing the requierd files listed in the linux readme,
did u install them?
or try the PPA build as listed on the forum
goodluck
I have the following issue, which I am not able to figure out concerning compilation.
I do an svn checkout,
than a default ./configure,
than make.
If I understand well, the installation should be done in /usr/local by default
At this point nothing is "installed". You juste configured and compiled the sources files.
After doing this do : "sudo make install"
sudo is important as you do not have the proper privileges to "install" xbmc otherwise.
Assuming defaults, everything will be now copied to "/usr/local/share/xbmc"
You dont have (and you shouldnt) run xbmc.bin when proceeding by this method. Just type "xbmc" wherever or "xbmc &" (detached in the background)
I noticed lzo 2.03 is in unstable, so perhaps try to unmask that to get things going if you're having problems?
I too have been running gentoo for quite a while with little to no problems. I have been managing my packets in a similar manner as you posted. I have even unmasked lzo 2.03 and it is still spitting out the same error. Odd...
Gentoo lzo 2.03 gcc 4.1.2
I am having the same issue Adder, have you found a solution?
Ok, should be fixed in 13731 unless you're running gcc 4.3 which I haven't had time to get at. Compiles on x86_64 Gentoo w/ lzo2 and Ubuntu w/ lzo or lzo2 anyway. Lemme know if something is still awry.
EDIT: Forgot...you need to rerun configure.
That did the trick! Cheers and thanks to the whole dev team once again for the great app ;)
... And a quick way around it is:
cd /root/xbmc/XBMC/tools/XBMCTex/ && mv stdint.h stdint.h.bak
then compile.
Ok, should be fixed in 13731 unless you're running gcc 4.3 which I haven't had time to get at. Compiles on x86_64 Gentoo w/ lzo2 and Ubuntu w/ lzo or lzo2 anyway. Lemme know if something is still awry.
EDIT: Forgot...you need to rerun configure.
It's supported until I get done rewriting build.sh. So sometime in the next 24hrs or so.
Tried the handy Build.sh script? Read the Readme? Both of those will help clear up dependencies...
I am on hardy heron using build.sh. I tried to update for last 2 days and I keep getting this: (I did install all dependencies from README)
xbmc/GUIViewStatePictures.o:/home/mp/XBMC/xbmc/GUIViewStatePictures.cpp:78: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::GetLockType()':
/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:63: multiple definition of `CGUIViewStateWindowPictures::GetLockType()' subversion: Subversion FAQ:: NET seems to have a problem with the ".svn" directory name. Then, after the initial 'svn checkout', have your users (or your build system) do a http://subversion.tigris.org/faq.htmlHOME | 3.0.21pre3-SVN-build-UNKNOWN libads/sasl.c fails to build on Sun:: Dec 2, 2005 3.0.21pre3-SVN-build-UNKNOWN libads/sasl.c fails to build on Sun at gmail. com> wrote: > The problem seems to be a different spelling of http://lists.samba.org/archive/samba-technical/2005-December/044188.htmlHOME |
xbmc/GUIViewStatePictures.o:/home/mp/XBMC/xbmc/GUIViewStatePictures.cpp:63: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::GetExtensions()':
/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:73: multiple definition of `CGUIViewStateWindowPictures::GetExtensions()'
xbmc/GUIViewStatePictures.o:/home/mp/XBMC/xbmc/GUIViewStatePictures.cpp:73: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowGameSaves::GetSources()':
/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:197: multiple definition of `CGUIViewStateWindowGameSaves::GetSources()'
xbmc/GUIViewStateGameSaves.o:/home/mp/XBMC/xbmc/GUIViewStateGameSaves.cpp:55: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowGameSaves::SaveViewState()':
/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:191: multiple definition of `CGUIViewStateWindowGameSaves::SaveViewState()'
xbmc/GUIViewStateGameSaves.o:/home/mp/XBMC/xbmc/GUIViewStateGameSaves.cpp:50: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::SaveViewState()':
/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:58: multiple definition of `CGUIViewStateWindowPictures::SaveViewState()'
xbmc/GUIViewStatePictures.o:/home/mp/XBMC/xbmc/GUIViewStatePictures.cpp:58: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowGameSaves':
/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:173: multiple definition of `CGUIViewStateWindowGameSaves::CGUIViewStateWindow GameSaves(CFileItemList const&)'
xbmc/GUIViewStateGameSaves.o:/home/mp/XBMC/xbmc/GUIViewStateGameSaves.cpp:32: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowGameSaves':
/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:173: multiple definition of `CGUIViewStateWindowGameSaves::CGUIViewStateWindow GameSaves(CFileItemList const&)'
xbmc/GUIViewStateGameSaves.o:/home/mp/XBMC/xbmc/GUIViewStateGameSaves.cpp:32: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::UnrollArchives()':
/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:68: multiple definition of `CGUIViewStateWindowPictures::UnrollArchives()'
xbmc/GUIViewStatePictures.o:/home/mp/XBMC/xbmc/GUIViewStatePictures.cpp:68: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures':
/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:32: multiple definition of `CGUIViewStateWindowPictures::CGUIViewStateWindowP ictures(CFileItemList const&)'
xbmc/GUIViewStatePictures.o:/home/mp/XBMC/xbmc/GUIViewStatePictures.cpp:32: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures':
/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:32: multiple definition of `CGUIViewStateWindowPictures::CGUIViewStateWindowP ictures(CFileItemList const&)'
xbmc/GUIViewStatePictures.o:/home/mp/XBMC/xbmc/GUIViewStatePictures.cpp:32: first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::GetSources()':
/home/mp/XBMC/xbmc/GUIViewStatePrograms.cpp:65: multiple definition of `CGUIViewStateWindowPrograms::GetSources()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:116: first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::GetExtensions()':
/home/mp/XBMC/xbmc/GUIViewStatePrograms.cpp:60: multiple definition of `CGUIViewStateWindowPrograms::GetExtensions()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:111: first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::GetLockType()':
/home/mp/XBMC/xbmc/GUIViewStatePrograms.cpp:55: multiple definition of `CGUIViewStateWindowPrograms::GetLockType()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:106: first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::SaveViewState()':
/home/mp/XBMC/xbmc/GUIViewStatePrograms.cpp:50: multiple definition of `CGUIViewStateWindowPrograms::SaveViewState()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:101: first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms':
/home/mp/XBMC/xbmc/GUIViewStatePrograms.cpp:32: multiple definition of `CGUIViewStateWindowPrograms::CGUIViewStateWindowP rograms(CFileItemList const&)'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:83: first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms':
/home/mp/XBMC/xbmc/GUIViewStatePrograms.cpp:32: multiple definition of `CGUIViewStateWindowPrograms::CGUIViewStateWindowP rograms(CFileItemList const&)'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:83: first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts::GetExtensions()':
/home/mp/XBMC/xbmc/GUIViewStateScripts.cpp:52: multiple definition of `CGUIViewStateWindowScripts::GetExtensions()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:140: first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts::GetSources()':
/home/mp/XBMC/xbmc/GUIViewStateScripts.cpp:57: multiple definition of `CGUIViewStateWindowScripts::GetSources()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:145: first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts::SaveViewState()':
/home/mp/XBMC/xbmc/GUIViewStateScripts.cpp:47: multiple definition of `CGUIViewStateWindowScripts::SaveViewState()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:135: first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts':
/home/mp/XBMC/xbmc/GUIViewStateScripts.cpp:33: multiple definition of `CGUIViewStateWindowScripts::CGUIViewStateWindowSc ripts(CFileItemList const&)'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:121: first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts':
/home/mp/XBMC/xbmc/GUIViewStateScripts.cpp:33: multiple definition of `CGUIViewStateWindowScripts::CGUIViewStateWindowSc ripts(CFileItemList const&)'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/mp/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:121: first defined here
collect2: ld returned 1 exit status
make[1]: *** [xbmc.bin] Error 1
make[1]: Leaving directory `/home/mp/XBMC'
make: *** [all] Error 2
make: Leaving directory `/home/mp/XBMC'
make[1]: *** [xbmc.bin] Error 1
make: *** [all] Error 2
I did not update hardy to the latest fixes since kernel updates screw some things for me that works fine right now. Any thoughts?
thx
hmm, I am still getting the problems I posted above. At one point I did receive the error that gryzor posted but now it is back to complaining about XBMCTex. I have done make clean and make distclean. I run those every time just to be safe. I am going to start rolling back revisions to see where the problem occurred. Cheers.
Hey guys. Can we still use ./build.sh NOUPDATE NOCOMPILE to copy all the folders and back everything up after we have run ./configure and make? Or is this no longer going to be supported either. It is not a big deal it is just a bit less hassle ;) Cheers.
I'm getting a fail on make install:
toggle-up.png: P8 16x16 ( 0.00% waste)
toggle-down.png: P8 16x16 ( 0.00% waste)
sub-shutdown-nofocus.png: LIN_A8R8G8B8 64x64 ( 4.69% waste)
Segmentation fault (core dumped)
make: *** [install-datas] Error 139
bmfrosty@xbmcbuntu:~/Desktop/xbmc-backup/linuxport/XBMC$
Anyone want the core dump?
I troubleshot this for hours yesterday, it is the gif files in the media folder that are segfaulting XBMCTex on my machine. My workaround was moving the gif files out of the folder temporarily during the build, and then after the make install was done, i moved them back into the folder again.
Zeq
Gentoo lzo-2.02-r1
Let me know if you need more info. Cheers.
I run XBMC with _great_ success on gentoo and have been for the past three months.
A quick look at what I've been doing to portage to get things running, I note it as follows:
vecna $ grep libmms /etc/portage/package.keywords
media-libs/libmms **
vecna XBMC #
vecna $ grep alsa /etc/portage/package.use
media-libs/alsa-lib debug
vecna $
No useflags possible with liblzo.
vecna $ emerge -pv lzo
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-libs/lzo-2.02-r1 USE="-examples" 0 kB
I noticed lzo 2.03 is in unstable, so perhaps try to unmask that to get things going if you're having problems?
have you tried a 'make distclean' ?
I just built using build.sh and worked fine
You don't understand well (or we haven't updated the README). This is a standard GNU make install method so you need to ./configure, make, sudo make install .
What distro and what versions of liblzo (and -dev if applicable) do you have installed? There's something up with how lzo built between distros.
have you tried a 'make distclean' ?
I just built using build.sh and worked fine
You sure? I just deleted and fetched from SVN and getting:
...
g++ -O3 -DUSE_SDL -D_LINUX -I. -I../../guilib -I../../xbmc -I../../xbmc/linux/ -c -o Bundler.o Bundler.cpp
In file included from ../../xbmc/linux/PlatformDefs.h:55,
from xbox.h:6,
from AnimatedGif.cpp:29:
./stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
...
That looks pretty funky :)
I am experiencing problems building too. Mine seem to have something to do with xbmctex though. Just didnt' want to make a new thread ;)
I have run make clean and make distclean.
make XBMCTex
make[1]: Entering directory `/usr/local/src/XBMC'
make -C tools/XBMCTex/
make[2]: Entering directory `/usr/local/src/XBMC/tools/XBMCTex'
g++ -DUSE_SDL -D_LINUX -I. -I../../guilib -I../../xbmc -I../../xbmc/linux/ -c -o AnimatedGif.o AnimatedGif.cpp
g++ -DUSE_SDL -D_LINUX -I. -I../../guilib -I../../xbmc -I../../xbmc/linux/ -c -o Bundler.o Bundler.cpp
g++ -DUSE_SDL -D_LINUX -I. -I../../guilib -I../../xbmc -I../../xbmc/linux/ -c -o SurfaceSDL.o SurfaceSDL.cpp
g++ -DUSE_SDL -D_LINUX -I. -I../../guilib -I../../xbmc -I../../xbmc/linux/ -c -o XBMCTex.o XBMCTex.cpp
g++ -DUSE_SDL -D_LINUX -I. -I../../guilib -I../../xbmc -I../../xbmc/linux/ -c -o xbox.o xbox.cpp
g++ -DUSE_SDL -D_LINUX -I. -I../../guilib -I../../xbmc -I../../xbmc/linux/ -c -o xwinapi.o xwinapi.cpp
g++ -DUSE_SDL -D_LINUX -I. -I../../guilib -I../../xbmc -I../../xbmc/linux/ -c -o XFileUtils.o XFileUtils.cpp
g++ -DUSE_SDL -D_LINUX -I. -I../../guilib -I../../xbmc -I../../xbmc/linux/ -c -o XHandle.o XHandle.cpp
g++ -DUSE_SDL -D_LINUX -I. -I../../guilib -I../../xbmc -I../../xbmc/linux/ -c -o XTimeUtils.o XTimeUtils.cpp
gcc -DUSE_SDL -D_LINUX -I. -I../../guilib -I../../xbmc -I../../xbmc/linux/ -c -o sha.o sha.c
g++ AnimatedGif.o Bundler.o SurfaceSDL.o XBMCTex.o xbox.o xwinapi.o XFileUtils.o XHandle.o XTimeUtils.o sha.o -lSDL -lSDL_image -llzo -o XBMCTex
Bundler.o: In function `CBundler::StartBundle()':
Bundler.cpp:(.text+0x56c): undefined reference to `__lzo_init2'
collect2: ld returned 1 exit status
make[2]: *** [XBMCTex] Error 1
make[2]: Leaving directory `/usr/local/src/XBMC/tools/XBMCTex'
make[1]: *** [XBMCTex] Error 2
make[1]: Leaving directory `/usr/local/src/XBMC'
make: *** [all] Error 2
make: Leaving directory `/usr/local/src/XBMC'
make[2]: *** [XBMCTex] Error 1
make[1]: *** [XBMCTex] Error 2
make: *** [all] Error 2
Red Hat's Rough Recovery From CFO Exit
Windows Live Finds a New, Pre-installed Home
|