-----Ursprüngliche Nachricht-----
Von: [email protected]
Gesendet: 10.08.06 07:55:50
An: [email protected]
Betreff: Oe Digest, Vol 21, Issue 14
Send Oe mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://www.handhelds.org/mailman/listinfo/oe
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Oe digest..."
Today's Topics:
1. Re: Help a newb? (Dirk Opfer)
2. Re: Beyond BOOTSTRAP_EXTRA_RDEPENDS (Marcin Juszkiewicz)
3. [Bug 1724] instant suspend on non-original battery
([EMAIL PROTECTED])
4. [Bug 1286] New: tslib-conf for h2200 rdepends on X.
([EMAIL PROTECTED])
5. [Bug 1182] Kernel modules are not stripped before they are
packaged ([EMAIL PROTECTED])
6. [Bug 1287] New: Build ARCH leaking into libtool files for
gcc-4.1.1 ([EMAIL PROTECTED])
7. [Bug 1287] Build ARCH leaking into libtool files for
gcc-4.1.1 ([EMAIL PROTECTED])
8. [Bug 1287] Build ARCH leaking into libtool files for
gcc-4.1.1 ([EMAIL PROTECTED])
9. Re: Help a newb? ([EMAIL PROTECTED])
----------------------------------------------------------------------
Message: 1
Date: Tue, 8 Aug 2006 10:41:35 +0200 (CEST)
From: "Dirk Opfer" <[EMAIL PROTECTED]>
Subject: Re: Help a newb?
To: [EMAIL PROTECTED]
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;charset=iso-8859-1
Hi,
> 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
create a patch:
- install quilt
- cd into your source dir ${S}
- type 'quilt new patchname'
- add files: 'quilt add file'
- edit your file(s)
- type 'quilt refresh' to refresh your patch
- 'quilt diff -u > patchname.patch' extracts the patch
You are using the host compiler instead of the oe crosscompiler in your
files.
You have to patch your makefiles to remove the host compiler. Example for
dce:
===================================================================
--- DCE.orig/Makefile 2006-08-08 08:54:42.000000000 +0200
+++ DCE/Makefile 2006-08-08 09:52:11.807921000 +0200
@@ -1,11 +1,7 @@
ROOT = ..
VIP = ../VIPShared
GDEV = ./Gen_Devices
-CXXFLAGS = -Wall -ggdb3
-CPPFLAGS = -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 $(EXTRA)
-CXX = g++
-LDFLAGS = -L$(ROOT)/lib
-LDLIBS = -lpthread -lmysqlclient_r -lSerializeClass
+LDLIBS = -lpthread -lmysqlclient -lSerializeClass
and instead set the flags in your bbs
CXXFLAGS_append = "-Wall -ggdb3"
CPPFLAGS_append = "-I./ -I../ -I../DCE/ -I../VIPShared/
-I${STAGING_INCDIR}/mysql -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_DEVEL_DE
FINES -DUSE_LZO_DATAGRID -D_GNU_SOURCE"
also your serializeclass needs these changes. You can check the libs using
the file command:
file libSerializeClass.so
should generate something like
ELF 32-bit LSB shared object, ARM, version 1 (ARM), not stripped
Dirk
------------------------------
Message: 2
Date: Tue, 8 Aug 2006 11:28:37 +0200
From: Marcin Juszkiewicz <[EMAIL PROTECTED]>
Subject: Re: Beyond BOOTSTRAP_EXTRA_RDEPENDS
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-2"
Dnia czwartek, 27 lipca 2006 00:43, Richard Purdie napisa³:
> For a long time we've talked about what to do with
> BOOTSTRAP_EXTRA_RDEPENDS as whilst is does what some people need, it
> doesn't cover every users needs and the machine conf files are starting
> to contain information that should be under distro control.
Right - I see it now with OpenZaurus 3.5.4.2-rc0 where Poodle lack some
modules. Today I will probably move some of common modules into distro
config for that.
> The idea is machines state which features they have e.g.:
>
> MACHINE_FEATURES_spitz = "kernel26 apm alsa pcmcia bluetooth irda
> usbgadget usbhost ext2"
>
> and distributions set which items they'd like to appear in their
> standard images e.g.:
>
> DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost
> wifi"
>
> and the task file combines these variables and comes up with a machine
> specific task package suited to the machine and distribution. So
> variables are by machine selection, some by distro selection and some
> are controlled by both.
I like it. This way we do not have to add WiFi modules into each machine
config (or include common-modules.inc in machine configs) and if someone
want to create own distro without wifi he has to remove one feature only.
> This solution was based on the module lists used by the Zaurii and ipaqs
> in OE so should be capable of covering at least those machines once the
> tosort list is dealt with. There are a couple of functions that need to
> be added to base.bbclass to make it work.
>
> Does anyone have any thoughts on this?
Go ahead I would say.
> I'd be interested if anyone could give examples of the types of images
> they'd like to generate from OE. task-bootstrap is one but what should
> an initrd contain for example?
minimal-bootstrap = NFS + Wifi + USB (gadget/host) + BT (if machine support
bt or cf or usb) + working shell (for those people which want to install
own set of stuff)
--
JID: hrw-jabber.org
Sharp Zaurus C-760 (OZ 3.5.x)
OpenEmbedded/OpenZaurus/OPIE developer
Monday is a hard way to spend one-seventh of your life.
------------------------------
Message: 3
Date: Tue, 8 Aug 2006 07:19:33 -0400 (EDT)
From: [EMAIL PROTECTED]
Subject: [Bug 1724] instant suspend on non-original battery
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
http://www.handhelds.org/~bugzilla/show_bug.cgi?id=1724
------- Additional Comments From [EMAIL PROTECTED] 2006-08-08 07:19 -------
I tested whether apm will show any other state than 'high' with non-original
battery almost discharged, but the response is negative (at least with the
battery I have). It showed 'high', although the battery was few seconds before
depleting.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------------------------------
Message: 4
Date: Tue, 8 Aug 2006 05:36:15 -0700 (PDT)
From: [EMAIL PROTECTED]
Subject: [Bug 1286] New: tslib-conf for h2200 rdepends on X.
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
http://bugs.openembedded.org/show_bug.cgi?id=1286
Summary: tslib-conf for h2200 rdepends on X.
Product: Openembedded
Version: unspecified
Platform: ARM
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
tslib-conf for h2200 rdepends indirectly on X via detect-stylus.
This is unfortunate, introducing an extraneous dependency unsuited for
environments without X, such as Opie.
Attached a patch that adopts the same solution as Zauri, relying on udev.
Last recipe for udev contains a general (machine-unspecific) rule (in
local.rules) that create an appropriate /dev/input/touchscreen0.
Tested on h2200.
A second alternative is to use detect-tsdevice instead of detect-stylus, from
newer detect-stylus sources from GPE project.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------------------------------
Message: 5
Date: Tue, 8 Aug 2006 07:14:54 -0700 (PDT)
From: [EMAIL PROTECTED]
Subject: [Bug 1182] Kernel modules are not stripped before they are
packaged
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
http://bugs.openembedded.org/show_bug.cgi?id=1182
------- Comment #2 from [EMAIL PROTECTED] 2006-08-08 07:14 -------
Could you attach the patch? my browser messes up line-endings and whitespace
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------------------------------
Message: 6
Date: Tue, 8 Aug 2006 07:18:15 -0700 (PDT)
From: [EMAIL PROTECTED]
Subject: [Bug 1287] New: Build ARCH leaking into libtool files for
gcc-4.1.1
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
http://bugs.openembedded.org/show_bug.cgi?id=1287
Summary: Build ARCH leaking into libtool files for gcc-4.1.1
Product: Openembedded
Version: Angstrom
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
libstdc++.la is contaning section similar to
-L/data/build/koen/OE/build/tmp/angstrom/staging/i686-linux/lib
where i686 is changed for the arch of your build machine.
This is causing C++ libtool linking for me to fail.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------------------------------
Message: 7
Date: Tue, 8 Aug 2006 07:29:13 -0700 (PDT)
From: [EMAIL PROTECTED]
Subject: [Bug 1287] Build ARCH leaking into libtool files for
gcc-4.1.1
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
http://bugs.openembedded.org/show_bug.cgi?id=1287
------- Comment #2 from [EMAIL PROTECTED] 2006-08-08 07:29 -------
That would certainly "kludge" the problem, I worry about the hidden fault
though. Maybe if the toolchain gurus dont have an idea in a couple of days
thats the solution.
I removed that line from the .la file locally and stuff compiles/links properly
now.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------------------------------
Message: 8
Date: Tue, 8 Aug 2006 07:19:47 -0700 (PDT)
From: [EMAIL PROTECTED]
Subject: [Bug 1287] Build ARCH leaking into libtool files for
gcc-4.1.1
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
http://bugs.openembedded.org/show_bug.cgi?id=1287
------- Comment #1 from [EMAIL PROTECTED] 2006-08-08 07:19 -------
would it be acceptable to sed it out?
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------------------------------
Message: 9
Date: Tue, 08 Aug 2006 15:40:18 +0000
From: [EMAIL PROTECTED]
Subject: Re: Help a newb?
To: [EMAIL PROTECTED]
Cc: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Dirk,
Thanks for all of your help! I'm starting to figure this out little by little.
Ok, I have gone back to SerializeClass because it is the easiest (fewest
dependencies). I used quilt to create the patch file as you instructed and it
compiles and creates a libSerializeClass.so in the staging dir however, file
libSerializeClass.so still gives me:
libSerializeClass.so: ELF 32-bit LSB shared object, Intel 80386, version 1
(SYSV), not stripped
So I am clearly not doing something correctly :-(
Here is the patch (serializeclass_make.patch):
Index: SerializeClass/Makefile
===================================================================
--- SerializeClass.orig/Makefile
+++ SerializeClass/Makefile
@@ -1,9 +1,6 @@
ROOT = ..
VIP = ../VIPShared
GDEV = ./Gen_Devices
-CXXFLAGS = -Wall -g -ggdb3 -D_GNU_SOURCE
-CPPFLAGS = -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
-CXX = g++
sources = SerializeClass.cpp
And here is the updated serializeclass_1.1.1.bb file:
LICENSE = "GPL"
DESCRIPTION = "SerializeClass try 2"
SECTION = "console/util"
MAINTAINER = "me"
SRC_URI =
"svn://svn.plutohome.com/pluto/trunk/src;module=SerializeClass;proto=http;rev=11103
\
svn://svn.plutohome.com/pluto/trunk/src;module=PlutoUtils;proto=http;rev=11103 \
file://serializeclass_make.patch"
S = "${WORKDIR}/SerializeClass"
inherit autotools
CXXFLAGS_append = "-Wall -ggdb3"
CPPFLAGS_append = "-I./ -I../ -I../DCE/ -I../VIPShared/ \
-I${STAGING_INCDIR}/mysql -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
-D_DEVEL_DEFINES -DUSE_LZO_DATAGRID -D_GNU_SOURCE"
do_stage() {
oe_libinstall -so ${WORKDIR}/SerializeClass/libSerializeClass
${STAGING_LIBDIR}
}
do_install() {
install -d ${D}${libdir}
install -m 644 ${WORKDIR}/SerializeClass/libSerializeClass.so
${D}${libdir}
}
One thing I did notice but am not sure it is significant is that the patch file
gets copied to:
~/oe/build/tmp/work/serializeclass-1.1.1-r0/
and the Makefile is in
~/oe/build/tmp/work/serializeclass-1.1.1-r0/SerializeClass/
Also, if I look at the Makefile in
~/oe/build/tmp/work/serializeclass-1.1.1-r0/SerializeClass/, it doesn't appear
to be changed.
Again, thank you for all of your help on this!
Rob
-------------- Original message ----------------------
From: "Dirk Opfer" <[EMAIL PROTECTED]>
> Hi,
>
> > 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
>
> create a patch:
> - install quilt
> - cd into your source dir ${S}
> - type 'quilt new patchname'
> - add files: 'quilt add file'
> - edit your file(s)
> - type 'quilt refresh' to refresh your patch
> - 'quilt diff -u > patchname.patch' extracts the patch
>
>
> You are using the host compiler instead of the oe crosscompiler in your
> files.
> You have to patch your makefiles to remove the host compiler. Example for
> dce:
> ===================================================================
> --- DCE.orig/Makefile 2006-08-08 08:54:42.000000000 +0200
> +++ DCE/Makefile 2006-08-08 09:52:11.807921000 +0200
> @@ -1,11 +1,7 @@
> ROOT = ..
> VIP = ../VIPShared
> GDEV = ./Gen_Devices
> -CXXFLAGS = -Wall -ggdb3
> -CPPFLAGS = -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 $(EXTRA)
> -CXX = g++
> -LDFLAGS = -L$(ROOT)/lib
> -LDLIBS = -lpthread -lmysqlclient_r -lSerializeClass
> +LDLIBS = -lpthread -lmysqlclient -lSerializeClass
>
> and instead set the flags in your bbs
> CXXFLAGS_append = "-Wall -ggdb3"
> CPPFLAGS_append = "-I./ -I../ -I../DCE/ -I../VIPShared/
> -I${STAGING_INCDIR}/mysql -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_DEVEL_DE
> FINES -DUSE_LZO_DATAGRID -D_GNU_SOURCE"
>
>
> also your serializeclass needs these changes. You can check the libs using
> the file command:
>
> file libSerializeClass.so
> should generate something like
> ELF 32-bit LSB shared object, ARM, version 1 (ARM), not stripped
>
>
> 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
End of Oe Digest, Vol 21, Issue 14
**********************************
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
BEGIN:VCARD
VERSION:2.1
N:Nübling;Jürgen;;;
FN:Jürgen Nübling
BDAY:1966-10-27
ORG:freiberuflicher Informatiker;
TEL;WORK;CELL:+4917623444508
TEL;HOME;VOICE:+49753116095
TEL;HOME;FAX:+491212513081482
ADR;HOME:;;Drumlinweg 4a;Konstanz;;78467;Deutschland
EMAIL;INTERNET:[EMAIL PROTECTED]
END:VCARD
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe