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

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


гугление подсказало, что дело в <asm/byteorder.h>. проинклудил - то же самое. 
более того, на
#include <linux/byteorder.h>

int main()
          {
           __cpu_to_le32(12);
          }

мне выдало тоже самое: undefined reference to `__cpu_to_le32'

значит это не просто #include надо, а ещё и дополнительную либу подключить?
в общем - ничего не понимаю. где искать этот симбол?
-- 
  С уважением,
  Афанасов Дмитрий


             reply	other threads:[~2005-06-03 12:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-03 12:29 Afanasov Dmitry [this message]
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

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=42A04D24.5070804@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