ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Afanasov Dmitry <ender@comp-mir.ru>
To: ender@comp-mir.ru,
	ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] как разрешить undefined reference to `__cpu_to_le32'?
Date: Fri, 03 Jun 2005 23:52:29 +0400
Message-ID: <42A0B4FD.30903@comp-mir.ru> (raw)
In-Reply-To: <42A04D24.5070804@comp-mir.ru>

Afanasov Dmitry wrote:
> решил пересобрать alsa (под дефолту она статическая, а мне для jack'а 
> надо). и при компиляции мне выдало,
> gcc -g -O2 -o .libs/aserver aserver.o  ../src/.libs/libasound.so
> ../src/.libs/libasound.so: undefined reference to `__cpu_to_le32'
вот, пока я дома, вырыл, что если вытащить

#define __cpu_to_le64(x) ((__force __le64)(__u64)(x))
#define __le64_to_cpu(x) ((__force __u64)(__le64)(x))
...

за #ifdef __KERNEL__ ... #endif, в /usr/include/linux/byteorder/little_endian.h, 
то всё прекрасно компилится...

ни фига не понима., почему rpmbuild -ba libalsa*.spec тогда по дефолту не идёт? 
что я млин не так делаю?

-- 
  С уважением,
  Афанасов Дмитрий



      parent reply	other threads:[~2005-06-03 19:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-03 12:29 Afanasov Dmitry
2005-06-03 12:54 ` Sergey Vlasov
2005-06-04  7:07   ` Afanasov Dmitry
2005-06-04  9:28     ` [sisyphus] [SUMMARY] " Afanasov Dmitry
2005-06-04  9:49       ` [sisyphus] " Michael Shigorin
2005-06-06  9:05     ` [sisyphus] " Led
2005-06-06  9:40       ` Led
2005-06-03 19:52 ` Afanasov Dmitry [this message]

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=42A0B4FD.30903@comp-mir.ru \
    --to=ender@comp-mir.ru \
    --cc=sisyphus@altlinux.ru \
    /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

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git