All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH][TOOLS] ioemu: linking fix for *BSD
Date: Thu, 14 Aug 2008 11:29:46 +0200	[thread overview]
Message-ID: <200808141129.46762.Christoph.Egger@amd.com> (raw)
In-Reply-To: <18595.63794.446472.430425@mariner.uk.xensource.com>

On Thursday 14 August 2008 11:21:54 Ian Jackson wrote:
> Christoph Egger writes ("[Xen-devel] [PATCH][TOOLS] ioemu: linking fix for 
*BSD"):
> > Attached patch tells the linker where to find
> >         libxenctrl.so.3.2, libxenguest.so.3.2 and libxenstore.so.3.0
> > when launching qemu-dm.
>
> I'm confused as to why this is necessary.

ldd qemu-dm  shows this:

        libxenctrl.so.3.2 => not found
        libxenguest.so.3.2 => not found
        libxenstore.so.3.0 => not found

and launching qemu-dm fails with not finding these three libs.

> > -	$(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS) $(COCOA_LIBS)
> > $(VL_LIBS) +	$(CC) $(VL_LDFLAGS) -Wl,-rpath,$(LIBDIR_x86_64) -o $@ $^
> > $(LIBS) $(SDL_LIBS) $(COCOA_LIBS) $(VL_LIBS)
>
> Surely LIBDIR_x86_64, ie /usr/lib64, should be on the linker path
> already ?  Also I think this is wrong on all 32-bit builds, surely.

And $(LIBDIR) is wrong for 64-bit builds on Linux.  On *BSD, it doesn't matter
if LIBDIR or LIBDIR_x86_64 is used.


-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy

  reply	other threads:[~2008-08-14  9:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-14  8:59 [PATCH][TOOLS] ioemu: linking fix for *BSD Christoph Egger
2008-08-14  9:21 ` Ian Jackson
2008-08-14  9:29   ` Christoph Egger [this message]
2008-08-14  9:34     ` Ian Jackson
2008-08-14  9:54       ` Christoph Egger
2008-08-14  9:58         ` Ian Jackson
2008-08-14 10:07           ` Christoph Egger
2008-08-14 10:12             ` Ian Jackson
2008-08-15 11:54               ` Christoph Egger
2008-08-15 12:07                 ` Christoph Egger
2008-08-14  9:31 ` Daniel P. Berrange
2008-08-14  9:59   ` Christoph Egger

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=200808141129.46762.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.