Re: Familiar build setup.

From: Erik Hovland <erik_at_hovland.org>
Date: Mon, 2 Apr 2007 17:28:28 -0700

I should mention that typically the only thing that needs qemu is the
locale generator. You only need to generate binary locales if you are
getting ready to release packages that have locale packages (like
glibc). You can also set:
ENABLE_BINARY_LOCALE_GENERATION = "0"

In your local.conf and qemu-native is rarely ever needed at the point.

E

On Tue, Apr 03, 2007 at 12:44:17AM +0100, Tiago Batista wrote:
> If I were you, I would install qemu via apt as stated earlier. I am a gentoo user with years of experience, and after trying to compile qemu-native for two days, I gave up, instaled it using portage, and added the line
>
> ASSUME_PROVIDED += "qemu-native"
>
> to auto.conf. I am shure that sooner or later, I would find out what was wrong, but after some time I find it prudent to go over the problem instead of trying to solve a problem someone (the packager) already solved for me!
>
> I hope this helps you...
>
> Ah, and restore your gcc symlink to the original binary, or you may experience some problems, at least a friend of mine experienced them while using ubuntu!
>
> Tiago
>
> On Mon, 2 Apr 2007 21:14:55 +0100
> John Ronan <jronan_at_wit.ie> wrote:
>
> > Hello again,
> >
> > I've got further this time, but....
> >
> > qemu fails to compile with an error in
> > ...syscall.c:216: error: syntax error before "gettid"
> >
> > in linux-user/syscall.c
> >
> > lines 215 down are
> > #ifdef __NR_gettid
> > _syscall0(int, gettid)
> > #else
> > static int gettid(void){
> > return -ENOSYS;
> > }
> > #endif
> >
> >
> > There are other errors that seem to indicate that I don't have any
> > "_syscall" function calls, have I forgotten a development package or
> > where could I investigate further?
> >
> > Regards
> > John
> >
> > On 2 Apr 2007, at 17:14, John Ronan wrote:
> >
> > >
> > > On 2 Apr 2007, at 16:15, Erik Hovland wrote:
> > >
> > >> On Mon, Apr 02, 2007 at 10:20:31AM +0100, John Ronan wrote:
> > >>> Hi,
> > >>>
> > >>> I've installed a ubuntu 6.10 machine and I'm following the procedure
> > >>> detailed in
> > >>> http://familiar.handhelds.org/build-setup.html
> > >>>
> > >>>
> > >>> The first problem I've come across is that qemu fails to build.
> > >>>
> > >>> Are there any known issues with ubuntu 6.10?
> > >>
> > >> Qemu requires an older compiler because of the heavy use of magic
> > >> to do
> > >> emulation. So you have to install either gcc 3.4 or gcc 3.3.
> > >> Neither of
> > >> which come in the standard ubuntu install after 6.4. But which
> > >> should be
> > >> locatable or possible to build.
> > > Hi,
> > >
> > > Thanks for the reply,
> > >
> > > I apt-get removed gcc (version 4.0)
> > > apt-get installed gcc-3.4
> > > then symlinked it to gcc and g++
> > >
> > > The build is now continuing,
> > >
> > > Many thanks.
> > > John
> > > _______________________________________________
> > > The Familiar Linux Distribution
> > > Familiar mailing list
> > > Familiar_at_handhelds.org
> > > https://handhelds.org/mailman/listinfo/familiar
> > > irc://irc.freenode.net #familiar
> >
> > _______________________________________________
> > The Familiar Linux Distribution
> > Familiar mailing list
> > Familiar_at_handhelds.org
> > https://handhelds.org/mailman/listinfo/familiar
> > irc://irc.freenode.net #familiar
> _______________________________________________
> The Familiar Linux Distribution
> Familiar mailing list
> Familiar_at_handhelds.org
> https://handhelds.org/mailman/listinfo/familiar
> irc://irc.freenode.net #familiar

-- 
Erik Hovland
mail: erik_at_hovland.org
web: http://hovland.org/
PGP/GPG public key available on request
Received on Mon Apr 02 2007 - 20:28:38 EDT

This archive was generated by hypermail 2.2.0 : Mon Apr 02 2007 - 20:29:38 EDT