Jul 16 2006, 08:32 PM
Post
#1
|
|
|
Group: Members Posts: 92 Joined: 9-August 05 Member No.: 7,823 |
Hi all,
I really need some help with this. I am running Suse 10 and have successfully installed bitbake, the OE.db, compiled a gpe-image and mysql. Here is my question. I am trying to compile plutohome orbiter for the zaurus (akita). PlutoHome is a open source home automation suite. It uses an "orbiter" as a remote using either bt or wifi. I would love to get this software running on my c1000. IF I can get it to compile, I'll get another c1000 or two to use in the new home automation setup. Here is the problem. As I mentioned above, I have the environment setup such that I can compile anything that already has a recipe/BB file. I am trying to compile PlutoOrbiter. It requires SerializeClass, PlutoUtils, DCE and a number of header files from other Pluto specific packages. I am starting with a relatively simple lib from pluto called SerializeClass. I have successfully compiled it on pocketworkstation on my z but I can't seem to figure out how to compile it using bitbake. One question is: the source for PlutoHome is in svn. How do I write in the recipe to download it from the svn repository? Here is my BB file: LICENSE = "GPL" DESCRIPTION = "PlutoHome SerializeClass for Akita" SECTION = "base" PRIORITY = "optional" MAINTAINER = "" DEPENDS = "" PR = "r1" SRC_URI = "http://svn.plutohome.com/pluto/trunk/src/SerializeClass/" S = "${WORKDIR}/SerializeClass-${PV}" inherit gpe-image ALLOW_EMPTY = "1" PACKAGES = "${PN}" FILES_${PN} = "/usr/local/bin/*" Here is the result of "bitbake SerializeClass_SVN" oc60174:/home/oc60174/crosscompileOE/stuff/build # bitbake SerializeClass_SVN NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance. NOTE: Using cache in '/home/oc60174/crosscompileOE/stuff/build/tmp/cache' NOTE: Parsing finished. 2649 cached, 1 parsed, 35 skipped, 0 masked. NOTE: build 200607162222: started OE Build Configuration: BB_VERSION = "1.4.2" OE_REVISION = "e1e2c14d38a8ce5263bb95e2c150225a0a822a6b" TARGET_ARCH = "arm" TARGET_OS = "linux" MACHINE = "akita" DISTRO = "openzaurus" DISTRO_VERSION = "3.5.4.1" TARGET_FPU = "soft" ERROR: Nothing provides dependency SerializeClass_SVN NOTE: Here is my local.conf file: DL_DIR = "${HOME}/crosscompileOE/stuff/sources" BBFILES = "/home/oc60174/crosscompileOE/stuff/org.openembedded.oz354x/packages/*/*.bb" BBMASK = "" PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie" PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-qpe" PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross" PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" MACHINE = "akita" TARGET_ARCH = "arm" TARGET_OS = "linux" DISTRO = "openzaurus-3.5.4.1" KERNEL_VERSION = "2.6" INHERIT = "package_ipk" IMAGE_FSTYPES = "jffs2 tar" BBINCLUDELOGS = "yes" CVS_TARBALL_STASH = "http://www.oesources.org/source/current/" #added because qemu-native puked on make ASSUME_PROVIDED +="qemu-native" Any and all help is very much appreciated. Rob |
|
|
|
![]() |
Jul 18 2006, 06:48 PM
Post
#2
|
|
|
Group: Members Posts: 92 Joined: 9-August 05 Member No.: 7,823 |
lardman,
So here is the last .bb file I tried: CODE LICENSE = "GPL" DESCRIPTION = "SerializeClass try 1" SECTION = "console/util" MAINTAINER = "me" SRC_URI = "svn://svn.plutohome.com/pluto/trunk/src;module=SerializeClass;proto=http \ svn://svn.plutohome.com/pluto/trunk/src;module=PlutoUtils;proto=http" S = "${WORKDIR}/${PN}" inherit autotools It's called ~/crosscompileOE/stuff/org.openembedded.oz354x/packages/SerializeClass/SerializeClass_1.1.1.bb It threw the following error: CODE oc60174@oc60174:~/crosscompileOE/stuff/build> bitbake SerializeClass NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance. NOTE: Using cache in '/home/oc60174/crosscompileOE/stuff/build/tmp/cache' NOTE: Parsing finished. 2650 cached, 1 parsed, 35 skipped, 0 masked. NOTE: build 200607182013: started OE Build Configuration: BB_VERSION = "1.4.2" OE_REVISION = "e1e2c14d38a8ce5263bb95e2c150225a0a822a6b" TARGET_ARCH = "arm" TARGET_OS = "linux" MACHINE = "akita" DISTRO = "openzaurus" DISTRO_VERSION = "3.5.4.1" TARGET_FPU = "soft" NOTE: package SerializeClass-1.1.1: started NOTE: package SerializeClass-1.1.1-r0: task do_fetch: started NOTE: package SerializeClass-1.1.1-r0: task do_fetch: completed NOTE: package SerializeClass-1.1.1-r0: task do_package: started ERROR: function do_install failed ERROR: log data follows (/home/oc60174/crosscompileOE/stuff/build/tmp/work/SerializeClass-1.1.1-r0/temp/log.do_install.7500) | NOTE: make DESTDIR=/home/oc60174/crosscompileOE/stuff/build/tmp/work/SerializeClass-1.1.1-r0/image install | make: *** No rule to make target `install'. Stop. | FATAL: oe_runmake failed NOTE: Task failed: /home/oc60174/crosscompileOE/stuff/build/tmp/work/SerializeClass-1.1.1-r0/temp/log.do_install.7500 NOTE: package SerializeClass-1.1.1-r0: task do_package: failed ERROR: TaskFailed event exception, aborting NOTE: package SerializeClass-1.1.1: failed ERROR: Build of SerializeClass failed Here is the Makefile for SerializeClass CODE ROOT = .. VIP = ../VIPShared GDEV = ./Gen_Devices CXXFLAGS = -Wall -g -ggdb3 -D_GNU_SOURCE CPPFLAGS = -I./ -I../../ -I../ -I../DCE/ -I../../DCE -I../VIPShared/ -I../../VIPShared -I /usr/include/mysql -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_DEVEL_DEFINES -DUSE_LZO_ DATAGRID CXX = g++ sources = SerializeClass.cpp all: libSerializeClass.so all-recursive libSerializeClass.so: $(sources:.cpp=.o) $(CXX) -shared $(CXXFLAGS) $(CPPFLAGS) -o $@ $(call cpath,$+) cp $@ ../lib libSerializeClass.a: $(sources:.cpp=.o) $(AR) rc $@ $(call cpath,$+) cp $@ ../lib clean: rm -f $(call cpath,$(sources:.cpp=.o) $(sources:.cpp=.d)) libSerializeClass.so libSerializeClass.a >/dev/null #include $(ROOT)/PlutoUtils/make.rules include /home/oc60174/crosscompileOE/stuff/build/tmp/work/PlutoUtils-1.0-r0/PlutoUtils/make.rules -include $(sources:.cpp=.d) It looks like it wants the $(ROOT)/PlutoUtils/make.rules. It may also want ../Gen_Devices. VIPShared isn't required. I've been trying to compile it native in PocketWorkstation (Sharp ROM) using gcc-2.95. I had to download from svn the following: CreateDevice, DCE, Gen_Devices, Orbiter, pluto_main, PlutoUtils,RA, SerializeClass, Splitter, utilities I compiled SerializeClass first, PlutoUtils, DCE, then Orbiter. I'm trying to compile Orbiter now, it is throwing out of memory errors, but I think I have that beat. It is taking a long time. Some other dependencies: I used apt-get libhttpfetcher-dev mysql-server libsdl1.2-dev libsdl-sge-dev libsdl-ttf2.0-dev libxtst-dev libxmu-dev libsdl-gfx1.2-dev it would be very cool to get this going. I want to use this for my home automation software. Again, Thanks for your help lardman! Rob |
|
|
|
Jul 18 2006, 11:28 PM
Post
#3
|
|
![]() Group: Members Posts: 1,014 Joined: 4-January 05 From: Enschede, The Netherlands Member No.: 6,107 |
|
|
|
|
DoTheDog Help With Bb File Jul 16 2006, 08:32 PM
lardman Grep the packages directory, there are a number of... Jul 17 2006, 02:38 AM
DoTheDog lardman,
Thanks for the quick reply. I'll give... Jul 17 2006, 06:58 AM
lardman This Pluto thing looks pretty cool.
Let me know h... Jul 17 2006, 02:45 PM
DoTheDog QUOTE(lardman @ Jul 17 2006, 04:45 PM)This Pl... Jul 17 2006, 07:19 PM
lardman I note that there's a download directory which... Jul 18 2006, 04:03 AM
lardman http://plutohome.com/support/index.php?sec...ge=0#... Jul 18 2006, 04:07 AM
lardman QUOTEIs there a way to have bitbake just download ... Jul 18 2006, 04:24 AM
DoTheDog lardman,
I finally figured out (with the help of s... Jul 18 2006, 04:43 AM
lardman QUOTESo back to the question, I think that the OE ... Jul 18 2006, 04:49 AM
DoTheDog lardman,
Sorry I had to bail on you, but I had a b... Jul 18 2006, 11:45 AM
lardman Rob,
No worries, I was starting to see double any... Jul 18 2006, 12:57 PM
DoTheDog Koen,
Thanks for that. Unfortunately, the source d... Jul 19 2006, 06:36 AM
koen QUOTE(DoTheDog @ Jul 19 2006, 02:36 PM)Koen,
... Jul 19 2006, 06:48 AM
DoTheDog koen,
What I have now is :
S = "${WORKD... Jul 19 2006, 07:44 AM
koen QUOTE(DoTheDog @ Jul 19 2006, 03:44 PM)koen,
... Jul 19 2006, 07:59 AM
DoTheDog Ok, I've gotten a bit farther but am throwing ... Jul 20 2006, 09:03 AM
wsuetholz You might wish to look at the how to guide for bui... Aug 1 2006, 01:58 PM
DoTheDog QUOTE You might wish to look at the how to g... Aug 1 2006, 07:59 PM
koen QUOTE(DoTheDog @ Aug 2 2006, 03:59 AM)[. Bitb... Aug 1 2006, 11:57 PM
DoTheDog QUOTENo it isn't, it's a generic task exec... Aug 2 2006, 07:03 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 03:33 AM |