ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] как разрешить undefined reference to `__cpu_to_le32'?
@ 2005-06-03 12:29 Afanasov Dmitry
  2005-06-03 12:54 ` Sergey Vlasov
  2005-06-03 19:52 ` Afanasov Dmitry
  0 siblings, 2 replies; 8+ messages in thread
From: Afanasov Dmitry @ 2005-06-03 12:29 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

решил пересобрать 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 надо, а ещё и дополнительную либу подключить?
в общем - ничего не понимаю. где искать этот симбол?
-- 
  С уважением,
  Афанасов Дмитрий


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-06-06  9:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-03 12:29 [sisyphus] как разрешить undefined reference to `__cpu_to_le32'? 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

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