On my workstation I installed pbuilder and used this command:

sudo pbuilder create --debootstrapopts --arch --debootstrapopts i386

to let pbuilder know to build for i386

and then I used pdebuild in the kernel directory where the moblin kernel is
located with a debian directory. [I'm not chrooted in a Menlow image or what
ever]

Last message:
0017-poulsbo_USBC.patch not applied to ./ .
reverting patch gspca_camera from ./ ... failed.
make: *** [unpatch] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit
status 2

1) I don't know if I used pdebuild correctly, can someone help me with this.



2)Another question is:
I'm using D945GCLF board with a silverthorne cpu which is amd64 compatible,
is it possible to make moblin including ubuntu mobile compiling for 64 bits.
Does the image-creator provide this service?



On Fri, Aug 1, 2008 at 4:18 PM, Emmet Hikory <[EMAIL PROTECTED]> wrote:

> Bob Peters wrote:
> > My workstation is 64 Bits and my target is 32 bits both x86 when I tried
> > this command to build the kernel, when I was chrooted in the Menlow
> image:
> >
> > dpkg-buildpackage -b
> >
> > I got an error, something about the 32 and 64  bits incompatibility. Now
> my
> > question is how can I compile the kernel on my workstation for the 32
> bits
> > target.
>
>     Whlie you can cross compile, it typically requires significant
> changes to the package, and can be confusing.  Personally, I find it
> far more convenient to take advantage of the ability of the amd64
> architecture to run i386 code.  Because of this, it is possible to
> configure an i386 chroot on an amd64 host, and use this to build
> packages.  While this can be done by configuring a chroot and building
> the packages therein with dpkg-buildpackage -b, there are also tools
> that have been designed to handle the chroot definition, installation
> of required build dependencies, building of the package, and reporting
> on this process.  One such tool is pbuilder, for which there is a
> lengthy HOWTO page (1), which includes specific instructions for
> creating i386 build chroots for an amd64 host.
>
>    Note that when you are using a build tool such as pbuilder, you
> will need to separately create the source package.  This may be done
> with `dpkg-buildpackage -S` (or debuild -S if you use debuild).  The
> source package is then separately passed to the build system for the
> build.  In addition to the ability to build for different related
> architectures, this mechanism allows verification that the
> Build-Dependencies of the package are correct, and that they are built
> against the intended targets, rather than what may be installed on the
> developer workstation.  If you are building many packages that
> build-depend upon each other, you may want to have a separate local
> repository in which these are stored: just be sure to enable that
> repository in your pbuilder chroot.
>
> 1: https://wiki.ubuntu.com/PbuilderHowto
>
> --
> Emmet HIKORY
>
> --
> Ubuntu-mobile mailing list
> [email protected]
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
>
-- 
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

Reply via email to