Dirk,
I figured out the patch for the Makefile to find the SerializeClass lib. I just 
added a -I../../../staging/arm-linux/lib and a 
-L../../../staging/arm-linux/lib/ 
and it compiled. I tried making a patch file by copying the DCE dir to DCE_orig 
made the change and then did:

diff -Nurd ../DCE_orig/Makefile Makefile > dce_make.patch  
cp dce_make.patch ~/oe/org.openembedded.oz354x/packages/DCE/dce_make.patch

However on bitbake dce I get the following error:
NOTE: Applying patch 'dce_make.patch'
ERROR: function do_patchcmd failed
ERROR: log data follows 
(/home/oc60174/oe/build/tmp/work/dce-1.1.1-r0/temp/log.do_patchcmd.8925)
| Replacing patch patches/dce_make.patch with new version
| Applying patch patches/dce_make.patch
| missing header for unified diff at line 3 of patch
| can't find file to patch at input line 3
| Perhaps you used the wrong -p or --strip option?
| The text leading up to this was:
| --------------------------
| |--- ../DCE_orig/Makefile     2006-08-07 19:53:47.000000000 -0600
| |+++ Makefile 2006-08-07 19:54:49.000000000 -0600
| --------------------------
| No file to patch.  Skipping patch.
| 1 out of 1 hunk ignored
| Patch patches/dce_make.patch does not apply (enforce with -f)
NOTE: Task failed: 
/home/oc60174/oe/build/tmp/work/dce-1.1.1-r0/temp/log.do_patchcmd.8925
NOTE: package dce-1.1.1-r0: task do_patch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package dce-1.1.1: failed
ERROR: Build of dce failed

I'm sure I am doing something stoopid. Any help appreciated.

Also, on your point about the compiler/linker. I am actually using gcc version 
3.3.5 
using this method:

http://www.tarunworld.com/index.php?option=com_content&task=view&id=26&Itemid=36

I read somewhere that a gcc versions 1 rev difference should be compatible? If 
not how do I get the makefile use the oe gc version? I believe it is 3.4?

Thanks for all of your help,
Rob

 -------------- Original message ----------------------
From: "Dirk Opfer" <[EMAIL PROTECTED]>
> Hi,
> 
> > g++ -shared -Wall -ggdb3 -I./ -I../ -I../DCE/ -I../VIPShared/
> 
> It's using your system compiler/linker.
> 
> > | /usr/bin/ld: cannot find -lSerializeClass
> 
> I suspect you have to patch the Makefile to correct this.
> 
> Dirk
> 
> _______________________________________________
> Oe mailing list
> [email protected]
> https://www.handhelds.org/mailman/listinfo/oe


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

Reply via email to