From: Takashi Iwai <tiwai@suse.de>
To: Klaus Fetscher <K.Fetscher@t-online.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Cross Compile Problems
Date: Fri, 12 Nov 2004 11:51:14 +0100 [thread overview]
Message-ID: <s5h4qjvfihp.wl@alsa2.suse.de> (raw)
In-Reply-To: <4193E6E1.9050106@fetron.de>
At Thu, 11 Nov 2004 23:25:37 +0100,
Klaus Fetscher wrote:
>
> Takashi Iwai schrieb:
>
> >Hmm, I'm not clear why prefix must be specified in your case.
> >
> >If you set up the cross compiling environment, usually prefix isn't
> >needed but you just need to specify the proper compiler, etc.
> >And, installing to other root system will be done by adding
> >"DESTDIR=xxx" at make install.
> >
> >
> >
> >
> You are right, I have installed the libraries wrong and now I have
> corrected it. Anyway, I get always the same error result.
Did you remove --prefix at the compilation?
> I think you are right with your last answer that the shared lib file
> can't be read correctly because of the installed path.
>
> How can I check if the libs are correct ?
The only place referring to DATADIR is src/conf.c.
Make sure that DATADIR is correctly set in configure (see config
log).
> Is it correct that I first compile and install the alsa-lib-1.0.7
> (with --enable-shared=yes and --enable-static=yes --with-softfloat)
> and later alsa-utils-1.0.7. Is this correct ?
Unfortunately, you can't build shared and static libraries at the same
time. See INSTALL for details.
And, yes, build alsa-utils after installing alsa-lib. In your case,
you'll need to specify --with-alsa-inc-prefix and --with-alsa-prefix
for configure of alsa-utils to specify the path of header and lib
files of the cross-compiled ALSA lib.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
next prev parent reply other threads:[~2004-11-12 10:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-08 22:11 Cross Compile Problems Klaus Fetscher
2004-11-09 8:38 ` Takashi Iwai
2004-11-10 7:28 ` Klaus Fetscher
2004-11-10 9:52 ` Takashi Iwai
2004-11-11 22:25 ` Klaus Fetscher
2004-11-12 10:51 ` Takashi Iwai [this message]
2004-11-12 12:35 ` Klaus Fetscher
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=s5h4qjvfihp.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=K.Fetscher@t-online.de \
--cc=alsa-devel@lists.sourceforge.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 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.