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:
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