Yeah, it is in ../build/tmp/staging/arm-linux/lib

I probably should have added this part of the error:

ERROR: function do_compile failed
ERROR: log data follows 
(/home/oc60174/oe/build/tmp/work/dce-1.1.1-r0/temp/log.do_compile.9835)
| NOTE: make
| g++ -shared -Wall -ggdb3 -I./ -I../ -I../DCE/ -I../VIPShared/ 
-I/usr/include/mysql -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_DEVEL_DEFINES -DUSE_LZO_DATAGRID -D_GNU_SOURCE  -o libDCECommon.so 
DataGrid.o ClientSocket.o PlainClientSocket.o Logger.o Message.o Socket.o 
ServerSocket.o SocketListener.o ServerLogger.o AlarmManager.o Command_Impl.o 
Event_Impl.o HandleRequestSocket.o DeviceData_Impl.o DeviceData_Base.o 
DCEConfig.o DCEMySqlConfig.o Virtual_Device_Translator.o arp-cache.o 
MessageBuffer.o -L../lib -lpthread -lmysqlclient_r -lSerializeClass
| /usr/bin/ld: cannot find -lSerializeClass
| collect2: ld returned 1 exit status
| make: *** [libDCECommon.so] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed: 
/home/oc60174/oe/build/tmp/work/dce-1.1.1-r0/temp/log.do_compile.9835
NOTE: package dce-1.1.1-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package dce-1.1.1: failed
ERROR: Build of dce failed

it may be looking for it in ../lib?

Rob
 -------------- Original message ----------------------
From: "Justin Patrin" <[EMAIL PROTECTED]>
> On 8/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Ok, I have been digging a bit in other bb files etc. and I am still not 
> figuring out how to make DCE find SerializeClass. The -lSerializeClass in the 
> dce makefile can't find the libSerializeClass.so file.
> >
> > It looks like libSerializeClass.so is in two places:
> > ~/oe/build/tmp/work/serializeclass-1.1.1-r0/SerializeClass
> > ~/oe/build/tmp/staging/arm-linux/lib/
> >
> > The line in the .bb file:
> > DEPENDS = "mysql serializeclass"
> >
> > isn't providing what the makefile needs.
> >
> > Any ideas?
> 
> Did libSerializeClass.so get put in your staging libdir correctly?
> find -name libSerializeClass.so tmp/staging/arm*
> 
> >
> > Rob
> >  -------------- Original message ----------------------
> > From: [EMAIL PROTECTED]
> > > Do'h! Thanks that helped. I now get a different error. It's definitely 
> closer
> > > however,
> > >
> > > | /usr/bin/ld: cannot find -lSerializeClass
> > > | collect2: ld returned 1 exit status
> > > | make: *** [libDCECommon.so] Error 1
> > > | FATAL: oe_runmake failed
> > > NOTE: Task failed:
> > > /home/oc60174/oe/build/tmp/work/dce-1.1.1-r0/temp/log.do_compile.7582
> > > NOTE: package dce-1.1.1-r0: task do_compile: failed
> > > ERROR: TaskFailed event exception, aborting
> > > NOTE: package dce-1.1.1: failed
> > > ERROR: Build of dce failed
> > >
> > > Here is the dce bb file:
> > >
> > > LICENSE = "GPL"
> > > DESCRIPTION = "DCE try1"
> > > SECTION = "console/util"
> > > MAINTAINER = "me"
> > > SRC_URI =
> > > "svn://svn.plutohome.com/pluto/trunk/src;module=DCE;proto=http;rev=1110
> > > 3 \
> > >
> > > svn://svn.plutohome.com/pluto/trunk/src;module=PlutoUtils;proto=http;r
> > > ev=11103 \
> > >
> > > svn://svn.plutohome.com/pluto/trunk/src;module=SerializeClass;proto=ht
> > > tp;rev=11103 \
> > >
> > > svn://svn.plutohome.com/pluto/trunk/src;module=pluto_main;proto=http;r
> > > ev=11103 \
> > >
> > > svn://svn.plutohome.com/pluto/trunk/src;module=RA;proto=http;rev=11103
> > >  \
> > >
> > > svn://svn.plutohome.com/pluto/trunk/src;module=Orbiter;proto=http;rev=
> > > 11103"
> > >
> > > S = "${WORKDIR}/DCE"
> > >
> > > DEPENDS = "mysql serializeclass"
> > >
> > > inherit autotools
> > >
> > > do_stage() {
> > >         oe_libinstall -so libDCEcommon ${STAGING_LIBDIR}
> > > }
> > >
> > > do_install() {
> > >         install -d ${D}${libdir}
> > >         install -m 644 libDCEcommon.so ${D}${libdir}
> > > }
> > >
> > > Is this an upper case thing? The Makefile is looking for "SerializeClass" 
> but
> > > the bb file asks for "serializeclass"?
> > >
> > > Here is the serializeclass bb file:
> > > LICENSE = "GPL"
> > > DESCRIPTION = "SerializeClass try 1"
> > > SECTION = "console/util"
> > > MAINTAINER = "me"
> > > SRC_URI =
> > > 
> "svn://svn.plutohome.com/pluto/trunk/src;module=SerializeClass;proto=http;rev=11
> > > 103 \
> > >
> > > 
> svn://svn.plutohome.com/pluto/trunk/src;module=PlutoUtils;proto=http;rev=11103"
> > >
> > >
> > > S = "${WORKDIR}/SerializeClass"
> > >
> > > inherit autotools
> > >
> > > do_stage() {
> > >         oe_libinstall -so libSerializeClass ${STAGING_LIBDIR}
> > > }
> > >
> > > do_install() {
> > >         install -d ${D}${libdir}
> > >         install -m 644 libSerializeClass.so ${D}${libdir}
> > > }
> > >
> > > Here is the MakeFile:
> > >
> > > ROOT = ..
> > > VIP = ../VIPShared
> > > GDEV = ./Gen_Devices
> > > CXXFLAGS = -Wall -ggdb3
> > > CPPFLAGS = -I./ -I../ -I../DCE/ -I../VIPShared/ -I/usr/include/mysql
> > > -D_FILE_OFFS
> > > ET_BITS=64 -D_LARGEFILE_SOURCE -D_DEVEL_DEFINES -DUSE_LZO_DATAGRID 
> -D_GNU_SOURCE
> > > $(EXTRA)
> > > CXX = g++
> > > LDFLAGS = -L$(ROOT)/lib
> > > LDLIBS = -lpthread -lmysqlclient_r -lSerializeClass
> > >
> > > APPNAME = DCECommon
> > > VERSION = 2.0.0
> > >
> > > sources = DataGrid.cpp ClientSocket.cpp PlainClientSocket.cpp Logger.cpp
> > > Message.
> > > cpp \
> > >         Socket.cpp ServerSocket.cpp SocketListener.cpp ServerLogger.cpp \
> > >         AlarmManager.cpp Command_Impl.cpp Event_Impl.cpp \
> > >         HandleRequestSocket.cpp \
> > >         DeviceData_Impl.cpp DeviceData_Base.cpp \
> > >         DCEConfig.cpp DCEMySqlConfig.cpp \
> > >         Virtual_Device_Translator.cpp arp-cache.cpp \
> > >  all: libDCECommon.so all-recursive
> > >
> > > libDCECommon.so: $(sources:.cpp=.o)
> > >         $(CXX) -shared $(CXXFLAGS) $(CPPFLAGS) -o $@ $(call cpath,$+) 
> $(LDFLAGS)
> > > $(LDLIBS)
> > >         cp $@ ../lib
> > >
> > > libDCECommon.a: $(sources:.cpp=.o)
> > >         $(AR) rc $@ $(call cpath,$+)
> > >         cp $@ ../lib
> > >
> > > clean:
> > >         rm -f $(call cpath,$(sources:.cpp=.o) $(sources:.cpp=.d))
> > > libDCECommon.so libDCECommon.a >/dev/null
> > >
> > > package:
> > >         ./make_package.sh $(APPNAME) $(VERSION)
> > >
> > >
> > > include $(ROOT)/PlutoUtils/make.rules
> > > ifeq (,$(findstring clean, $(MAKECMDGOALS)))
> > > -include $(sources:.cpp=.d)
> > > endif
> > >
> > > Any and all help very much appreciated!
> > >
> > > Rob
> > >        MessageBuffer.cpp
> > >
> > >  -------------- Original message ----------------------
> > > From: "Dirk Opfer" <[EMAIL PROTECTED]>
> > > > Hi,
> > > >
> > > > > Here is the bb file:
> > > > >
> > > > >
> > > > > S = "${WORKDIR}/DCE
> > > >
> > > >  S = "${WORKDIR}/DCE -> S = "${WORKDIR}/DCE"
> > > >
> > > > should help :)
> > > >
> > > > >
> > > > > DEPENDS = "mysql serializeclass"
> > > > >
> > > >
> > > >
> 
> 
> -- 
> Justin Patrin


_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to