public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: John Dallaway <john@dallaway.org.uk>
To: scas@itu.dk
Cc: eCos Discussion <ecos-discuss@sourceware.org>
Subject: [ECOS] Re: configtool for linux building problems.
Date: Thu, 11 Jul 2013 12:54:00 -0000	[thread overview]
Message-ID: <51DEAAEA.1080806@dallaway.org.uk> (raw)
In-Reply-To: <1373538270022-238249.post@n7.nabble.com>

Hi Stefan

On 11/07/13 11:24, scas wrote:

> I have encoutered David's problem with "XGetWindowAttributes" but this is
> happening when using the "-lX11" flag. I am stuck at this point, don't know
> what to do. 
> 
> Here is the error:
> 
> /usr/bin/ld:
> /home/scas/ecos-stuff/wxGTK-2.8.8/lib/libwx_gtk2_core-2.8.a(corelib_utilsx11.o):
> undefined reference to symbol 'XGetWindowAttributes'
> /usr/bin/ld: note: 'XGetWindowAttributes' is defined in DSO
> /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libX11.so so try
> adding it to the linker command line
> /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libX11.so: could not
> read symbols: Invalid operation
> collect2: ld returned 1 exit status
> 
> If anyone could give me a hint what to do, I would greatly appreciate it.

Are you use the latest makefile.gnu file from CVS? Ref:

http://ecos.sourceware.org/cgi-bin/cvsweb.cgi/ecos/host/tools/configtool/standalone/wxwin/makefile.gnu.diff?r1=1.15&r2=1.16&cvsroot=ecos&f=h

Note that the ordering of libraries on the linker command line is important.

I hope this helps.

John Dallaway
eCos maintainer
http://www.dallaway.org.uk/john

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2013-07-11 12:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4FE4C8BC.80600@dallaway.org.uk>
2012-06-22 19:42 ` John Dallaway
2013-07-11 10:24   ` scas
2013-07-11 12:54     ` John Dallaway [this message]
2013-07-11 13:32       ` scas
2013-07-13 19:28         ` scas
2012-06-20 16:21 [ECOS] " David Fernandez
2012-06-20 19:59 ` [ECOS] " David Fernandez
2012-06-21 22:57   ` David Fernandez
2012-06-22  7:54     ` John Dallaway
2012-06-22 18:26       ` David Fernandez
2012-06-22  9:18     ` Alex Schuilenburg

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=51DEAAEA.1080806@dallaway.org.uk \
    --to=john@dallaway.org.uk \
    --cc=ecos-discuss@sourceware.org \
    --cc=scas@itu.dk \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).