Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Compilation error of Buildroot with X server
Date: Sun, 7 Mar 2010 11:21:47 +0100	[thread overview]
Message-ID: <20100307112147.55145b25@surf> (raw)
In-Reply-To: <4B9124F4.40206@terawatt.fr>

Hello Damien,

On Fri, 05 Mar 2010 16:36:20 +0100
Damien Borie <dbe@terawatt.fr> wrote:

> The situation : we use Buildroot to create a embedded distribution
> for a device with Touchscreen and a beautiful GUI.
> We've just changed the hardware for the same model has before, but
> with a larger screen. So now it's seems impossible to manage display
> with only the framebuffer and Vesa drivers. So I must create a new
> version of the distribution which will allow me to install the
> specific driver of the graphic chipset.

Ok.

> As it's the same hardware (except screen, which only change size 
> anyway), I took the old configurations file (for Kernel, Busybox, and 
> Buildroot). I only add the option "Enable loadable module support" in 
> Kernel configuration, so I'll can install my drivers.
> In Buildroot configuration, I'm a bit lost but I only have to active
> X server. So I choose X Window system server "tinyX" instead of
> "none". Then I check "Xorg X window system X11r7 release 7.4"
> options, and choose xorg-server. And, that's all for a first test.

I think you're using an old version of Buildroot, because the options
are now organized in a different way (I've cleaned them up because
they were quite messy).

Now, we have a top-level option

 [ ] X.org X Window System, X11R7, release 7.4

Inside this options, we have :

 X Window System server type (TinyX)  --->
 X11R7 Servers  --->
 X11R7 Libraries --->
 X11R7 Applications -->
 X11R7 Fonts -->
 X11R7 X Protocols -->
 X11R7 Utilities -->
 X11R7 Other data -->

So, once you've enabled X.org X Window System, X11R7, release 7.4, you
are able to choose the server type, and there you have two choices :

 * TinyX, which is in fact now known as Kdrive. It is a standalone X
   server, which only supports a few hardware access solutions:
   framebuffer, VESA, etc. If you want video-card specific drivers,
   then, from my understanding, you cannot use TinyX/Kdrive

 * The modular X.org, which is similar to the one you have in any
   Linux distro, which allows you to compile hardware-specific drivers.
   If you select this type, a new entry "X11R7 Drivers --->" will
   appear.

In your case, you probably want the modular X.org.

> Here comes the problem. During compiling, I got the following error
> log. I think it is strange that it is searching for a file with a
> long path like this, which doesn't exists of course. The file 
> /usr/local/toolchain/i486-twa-linux-gnu//usr/lib//libXau.la exists.
> I search for long hours but didn't found something really
> interesting. All I know is Libtool sometimes need to the librairies
> to be installed on the host to compile them successfully, so I just
> installed libXau but nothing changes.

No, libtool doesn't need the libraries to be installed on the host. It
might work-around some Buildroot issue, but it shouldn't be needed.

> I really think the path is the problem, but I don't know how to
> change it as I'm not familiar at all with Libtool.
> Some advices for me?

Could you try with Buildroot 2010.02, and if it still doesn't work,
send us your .config ?

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2010-03-07 10:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05 15:36 [Buildroot] Compilation error of Buildroot with X server Damien Borie
2010-03-07 10:21 ` Thomas Petazzoni [this message]
2010-03-09 13:52   ` Damien Borie
2010-03-09 14:10     ` Damien Borie
2010-03-10 11:28       ` Damien Borie
2010-03-18 16:41         ` Damien Borie
2010-03-19  8:33           ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100307112147.55145b25@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox