Author Topic: Help With Bb File  (Read 22977 times)

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Help With Bb File
« Reply #15 on: July 19, 2006, 10:48:31 am »
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135751\"][{POST_SNAPBACK}][/a][/div]

S = "${WORKDIR}/NameInLeetUpperCase"
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

DoTheDog

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Help With Bb File
« Reply #16 on: July 19, 2006, 11:44:25 am »
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?
Z sl-c3100, Planex GW-CF11X Wifi, Home made docking station (4 port powered hub, 60GB 2.5" HD, Belkin Wired USB 10/100 Ethernet card), Belkin F8T003 ver 2.11 BT USB Dongle
Stock Sharp ROM, Tetsu's special kernel v18b, Lots of stuff gleaned off of Meanie's Incredible Site! Debian PocketWorkstation.
Z2 sl-c1000, OZ 3.5.4.1 GPE - Trying to make it a PlutoHome Orbiter

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Help With Bb File
« Reply #17 on: July 19, 2006, 11:59:10 am »
Quote
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135764\"][{POST_SNAPBACK}][/a][/div]

yes
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

DoTheDog

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Help With Bb File
« Reply #18 on: July 20, 2006, 01:03:59 pm »
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: [Select]
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    = ""
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
Z sl-c3100, Planex GW-CF11X Wifi, Home made docking station (4 port powered hub, 60GB 2.5" HD, Belkin Wired USB 10/100 Ethernet card), Belkin F8T003 ver 2.11 BT USB Dongle
Stock Sharp ROM, Tetsu's special kernel v18b, Lots of stuff gleaned off of Meanie's Incredible Site! Debian PocketWorkstation.
Z2 sl-c1000, OZ 3.5.4.1 GPE - Trying to make it a PlutoHome Orbiter

wsuetholz

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Help With Bb File
« Reply #19 on: August 01, 2006, 05:58:13 pm »
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

DoTheDog

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Help With Bb File
« Reply #20 on: August 01, 2006, 11:59:29 pm »
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
Z sl-c3100, Planex GW-CF11X Wifi, Home made docking station (4 port powered hub, 60GB 2.5" HD, Belkin Wired USB 10/100 Ethernet card), Belkin F8T003 ver 2.11 BT USB Dongle
Stock Sharp ROM, Tetsu's special kernel v18b, Lots of stuff gleaned off of Meanie's Incredible Site! Debian PocketWorkstation.
Z2 sl-c1000, OZ 3.5.4.1 GPE - Trying to make it a PlutoHome Orbiter

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Help With Bb File
« Reply #21 on: August 02, 2006, 03:57:07 am »
Quote
[. Bitbake is made for OZ
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137211\"][{POST_SNAPBACK}][/a][/div]

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.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

DoTheDog

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Help With Bb File
« Reply #22 on: August 02, 2006, 11:03:12 pm »
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
Z sl-c3100, Planex GW-CF11X Wifi, Home made docking station (4 port powered hub, 60GB 2.5" HD, Belkin Wired USB 10/100 Ethernet card), Belkin F8T003 ver 2.11 BT USB Dongle
Stock Sharp ROM, Tetsu's special kernel v18b, Lots of stuff gleaned off of Meanie's Incredible Site! Debian PocketWorkstation.
Z2 sl-c1000, OZ 3.5.4.1 GPE - Trying to make it a PlutoHome Orbiter