OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Help With Bb File, I'm new at this bitbake thing...
koen
post Jul 19 2006, 06:48 AM
Post #16





Group: Members
Posts: 1,014
Joined: 4-January 05
From: Enschede, The Netherlands
Member No.: 6,107



QUOTE(DoTheDog @ Jul 19 2006, 02:36 PM)
Koen,
Thanks for that. Unfortunately, the source directories use uppercase letters. There are a number of packages at PlutoHome that do (e.g. PlutoUtils, DCE, SerializeClass, etc.) in that case how do you handle that?

Rob
*


S = "${WORKDIR}/NameInLeetUpperCase"
Go to the top of the page
 
+Quote Post
DoTheDog
post Jul 19 2006, 07:44 AM
Post #17





Group: Members
Posts: 92
Joined: 9-August 05
Member No.: 7,823



koen,
What I have now is :

S = "${WORKDIR}/${PN}"

So I should change it to:

S = "${WORKDIR}/SerializeClass"

?

and it should get over the upper case problem?
Go to the top of the page
 
+Quote Post
koen
post Jul 19 2006, 07:59 AM
Post #18





Group: Members
Posts: 1,014
Joined: 4-January 05
From: Enschede, The Netherlands
Member No.: 6,107



QUOTE(DoTheDog @ Jul 19 2006, 03:44 PM)
koen,
What I have now is :

S = "${WORKDIR}/${PN}"

So I should change it to:

S = "${WORKDIR}/SerializeClass"

?

and it should get over the upper case problem?
*


yes
Go to the top of the page
 
+Quote Post
DoTheDog
post Jul 20 2006, 09:03 AM
Post #19





Group: Members
Posts: 92
Joined: 9-August 05
Member No.: 7,823



Ok, I've gotten a bit farther but am throwing some real wierd errors. This is what I did:

I named the .bb file: serializeclass_1.1.1.bb all lower case.
Changed the line

S = "${WORKDIR}/${PN}" to

S = "${WORKDIR}/SerializeClass"

I then went into the Makefile for SerializeClass and changed the
ROOT = .. to
ROOT = /home/oc60174/oe/build/tmp/work/serializeclass-1.1.1-r0
just to see if it would compile.

It looks like it found the make.rules file in PlutoUtils but now is throwing the following error:
CODE
oc60174@oc60174:~/oe/build> bitbake serializeclass
NOTE: Using cache in '/home/oc60174/oe/build/tmp/cache'
NOTE: Parsing finished. 2650 cached, 0 parsed, 35 skipped, 0 masked.
NOTE: build 200607201039: started

OE Build Configuration:
BB_VERSION     = "1.4.2"
OE_REVISION    = "<unknown>"
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_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/home/oc60174/oe/build/tmp/work/serializeclass-1.1.1-r0/temp/log.do_compile.19772)
| NOTE: make
| g++ -c -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 -Wall -g -ggdb3 -D_GNU_SOURCE SerializeClass.cpp -o SerializeClass.o
| /usr/include/c++/4.0.2/bits/stl_deque.h: In member function ‘void std::_Deque_base<_Tp, _Alloc>::_M_initialize_map(size_t)’:
| /usr/include/c++/4.0.2/bits/stl_deque.h:452: error: expected unqualified-id before ‘(’ token
| /usr/include/c++/4.0.2/bits/deque.tcc: In member function ‘void std::deque<_Tp, _Alloc>::_M_reallocate_map(size_t, bool)’:
| /usr/include/c++/4.0.2/bits/deque.tcc:747: error: expected unqualified-id before ‘(’ token
| SerializeClass.cpp: In member function ‘bool SerializeClass::SerializeRead(std::string, void*)’:
| SerializeClass.cpp:405: warning: deleting ‘void*’ is undefined
| make: *** [SerializeClass.o] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed: /home/oc60174/oe/build/tmp/work/serializeclass-1.1.1-r0/temp/log.do_compile.19772
NOTE: package serializeclass-1.1.1-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package serializeclass-1.1.1: failed
ERROR: Build of serializeclass failed


Is it a problem with gcc-4? or a problem with the code?

Also, lardman, the source is downloading/unpacking to: ~/oe/build/tmp/work/serializeclass-1.1.1-r0/PlutoUtils
~/oe/build/tmp/work/serializeclass-1.1.1-r0/SerializeClass

Anyhelp is appreciated.

Rob
Go to the top of the page
 
+Quote Post
wsuetholz
post Aug 1 2006, 01:58 PM
Post #20





Group: Members
Posts: 64
Joined: 19-July 06
Member No.: 10,462



You might wish to look at the how to guide for building with the target being the Nokia 770 in Pluto@Home's wiki.

Pluto@Home Nokia770 Orbiter

I'd rather see bitbake working though. More portable.

Bill
Go to the top of the page
 
+Quote Post
DoTheDog
post Aug 1 2006, 07:59 PM
Post #21





Group: Members
Posts: 92
Joined: 9-August 05
Member No.: 7,823



QUOTE
  You might wish to look at the how to guide for building with the target being the Nokia 770 in Pluto@Home's wiki.

Pluto@Home Nokia770 Orbiter


Yeah, I saw that one. It looked pretty hard though. Bitbake is made for OZ and I was hoping to be able to do in that environment... Looks like bitbake is difficult as well. I haven't given up yet. Still working on it. I'll report here if I get any farther.

Rob
Go to the top of the page
 
+Quote Post
koen
post Aug 1 2006, 11:57 PM
Post #22





Group: Members
Posts: 1,014
Joined: 4-January 05
From: Enschede, The Netherlands
Member No.: 6,107



QUOTE(DoTheDog @ Aug 2 2006, 03:59 AM)
[. Bitbake is made for OZ
*


No it isn't, it's a generic task executor, that couple with OE can build stuff for lots of distributions, and one of those is OZ.
Go to the top of the page
 
+Quote Post
DoTheDog
post Aug 2 2006, 07:03 PM
Post #23





Group: Members
Posts: 92
Joined: 9-August 05
Member No.: 7,823



QUOTE
No it isn't, it's a generic task executor, that couple with OE can build stuff for lots of distributions, and one of those is OZ.


I stand corrected. I guess what I meant was that it will build for OZ specifically.

Rob
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2014 - 10:13 PM