From: GNUtoo <GNUtoo@no-log.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 3/4] mplayer_svn : fix compilation problem
Date: Sun, 25 Apr 2010 15:13:21 +0200 [thread overview]
Message-ID: <1272201201.2387.0.camel@gnutoo-desktop> (raw)
In-Reply-To: <1272114888-16964-3-git-send-email-eric@eukrea.com>
On Sat, 2010-04-24 at 15:14 +0200, Eric Benard wrote:
> this patch fix the following error (met for a x86 target) :
>
> | loader/module.o: In function `MODULE_GetProcAddress':
> | module.c:(.text+0x125): undefined reference to `report_entry'
> | module.c:(.text+0x12f): undefined reference to `report_ret'
> | module.c:(.text+0x139): undefined reference to `wrapper_target'
> | module.c:(.text+0x13e): undefined reference to `wrapper'
> | loader/module.o: In function `LoadLibraryExA':
> | module.c:(.text+0x10d4): undefined reference to `report_entry'
> | module.c:(.text+0x10de): undefined reference to `report_ret'
> | module.c:(.text+0x10ea): undefined reference to `wrapper_target'
> | module.c:(.text+0x10f0): undefined reference to `wrapper'
> | collect2: ld returned 1 exit status
> | make: *** [mplayer] Error 1
>
> Signed-off-by: Eric Benard <eric@eukrea.com>
> ---
> recipes/mplayer/files/fix-emu_qtx_api.diff | 33 ++++++++++++++++++++++++++++
> recipes/mplayer/mplayer_svn.bb | 1 +
> 2 files changed, 34 insertions(+), 0 deletions(-)
> create mode 100644 recipes/mplayer/files/fix-emu_qtx_api.diff
>
> diff --git a/recipes/mplayer/files/fix-emu_qtx_api.diff b/recipes/mplayer/files/fix-emu_qtx_api.diff
> new file mode 100644
> index 0000000..e657475
> --- /dev/null
> +++ b/recipes/mplayer/files/fix-emu_qtx_api.diff
> @@ -0,0 +1,33 @@
> +http://bugs.gentoo.org/213836
> +
> +Fix the following error :
> +
> +| loader/module.o: In function `MODULE_GetProcAddress':
> +| module.c:(.text+0x125): undefined reference to `report_entry'
> +| module.c:(.text+0x12f): undefined reference to `report_ret'
> +| module.c:(.text+0x139): undefined reference to `wrapper_target'
> +| module.c:(.text+0x13e): undefined reference to `wrapper'
> +| loader/module.o: In function `LoadLibraryExA':
> +| module.c:(.text+0x10d4): undefined reference to `report_entry'
> +| module.c:(.text+0x10de): undefined reference to `report_ret'
> +| module.c:(.text+0x10ea): undefined reference to `wrapper_target'
> +| module.c:(.text+0x10f0): undefined reference to `wrapper'
> +| collect2: ld returned 1 exit status
> +| make: *** [mplayer] Error 1
> +
> +---
> +diff --git a/loader/module.c b/loader/module.c
> +index e316cf0..2023acb 100644
> +--- a/loader/module.c
> ++++ b/loader/module.c
> +@@ -9,8 +9,8 @@
> + */
> +
> + // define for quicktime calls debugging and/or MacOS-level emulation:
> +-#ifndef __APPLE__
> +-#define EMU_QTX_API
> ++#ifdef __APPLE__
> ++#undef EMU_QTX_API
> + #endif /* __APPLE__ */
> +
> + // define for quicktime debugging (verbose logging):
> diff --git a/recipes/mplayer/mplayer_svn.bb b/recipes/mplayer/mplayer_svn.bb
> index dd94767..3a08e26 100644
> --- a/recipes/mplayer/mplayer_svn.bb
> +++ b/recipes/mplayer/mplayer_svn.bb
> @@ -14,6 +14,7 @@ SRC_URI = "svn://svn.mplayerhq.hu/mplayer;module=trunk \
> file://fix-exp.diff;patch=1;maxrev=30291 \
> file://fix-addrinfo.patch;patch=1;maxrev=30302 \
> file://fix-avconfig.diff;patch=1;maxrev=30376 \
> + file://fix-emu_qtx_api.diff;patch=1;maxrev=30165 \
> "
>
> SRCREV = "30165"
you forgot to bump PR
Denis.
next prev parent reply other threads:[~2010-04-25 13:18 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-24 13:14 [PATCH 1/4] klibc: add 1.5.17 Eric Benard
2010-04-24 13:14 ` [PATCH 2/4] v86d : add 0.1.9 Eric Benard
2010-04-24 13:14 ` [PATCH 3/4] mplayer_svn : fix compilation problem Eric Benard
2010-04-24 13:14 ` [PATCH 4/4] kernel.class : fix for recent kernel on x86 Eric Benard
2010-04-25 19:20 ` [PATCH v2] " Eric Benard
2010-04-26 10:40 ` Roman I Khimov
2010-05-02 19:34 ` Roman I Khimov
2010-04-25 13:13 ` GNUtoo [this message]
2010-04-25 13:39 ` [PATCH 3/4] mplayer_svn : fix compilation problem GNUtoo
2010-04-25 14:24 ` GNUtoo
2010-04-25 14:41 ` GNUtoo
2010-04-29 13:36 ` gnutoo
2010-04-29 13:40 ` Eric Bénard
2010-04-29 15:05 ` GNUtoo
2010-04-29 15:08 ` Eric Bénard
2010-04-29 16:17 ` GNUtoo
2010-04-29 19:26 ` Eric Bénard
2010-04-29 19:55 ` Eric Bénard
2010-04-30 7:33 ` [PATCH] " Eric Benard
2010-04-30 19:32 ` GNUtoo
2010-05-04 9:50 ` GNUtoo
2010-04-25 19:14 ` [PATCH 3/4] " Eric Bénard
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=1272201201.2387.0.camel@gnutoo-desktop \
--to=gnutoo@no-log.org \
--cc=openembedded-devel@lists.openembedded.org \
/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