ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Eugene Vlasov <eugene@ikz.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: [sisyphus] Пересборка MPlayer с kernel-headers-std26-up-2.6.9-alt11
Date: Thu, 23 Dec 2004 00:56:58 +0500
Message-ID: <20041222195658.GA19981@eugene-home.ikz.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 7379 bytes --]

Добрый день.

Пытаюсь пересобрать у себя на домашней машине MPlayer (из src.rpm) и
получаю следующую портянку:

gcc -c -I../libvo -I../../libvo -I/usr/X11R6/include -Wall
-Wno-unused-variable -Wno-unused-function -Wno-unused-label
-Wno-uninitialized -Wno-trigraphs -O2 -march=k6 -fomit-frame-pointer
-ffast-math -finline-functions -frename-registers -pipe -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I.
-I.. -I../osdep -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT
-I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include   -DMPG12PLAY  -o vo_mga.o
vo_mga.c
In file included from /usr/include/asm/byteorder.h:57,
                 from /usr/include/linux/kernel.h:16,
                 from /usr/include/asm/system.h:5,
                 from /usr/include/asm/processor.h:18,
                 from /usr/include/asm/thread_info.h:16,
                 from /usr/include/linux/thread_info.h:21,
                 from ../osdep/kerneltwosix.h:4,
                 from vo_mga.c:17:
/usr/include/linux/byteorder/little_endian.h:45: error: syntax error
before "__cpu_to_le64p"
/usr/include/linux/byteorder/little_endian.h: In function
`__cpu_to_le64p':
/usr/include/linux/byteorder/little_endian.h:47: error: `__le64'
undeclared (first use in this function)
/usr/include/linux/byteorder/little_endian.h:47: error: (Each undeclared
identifier is reported only once
/usr/include/linux/byteorder/little_endian.h:47: error: for each function
it appears in.)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:49: error: syntax error
before '*' token
/usr/include/linux/byteorder/little_endian.h: In function
`__le64_to_cpup':
/usr/include/linux/byteorder/little_endian.h:51: error: `p' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:53: error: syntax error
before "__cpu_to_le32p"
/usr/include/linux/byteorder/little_endian.h: In function
`__cpu_to_le32p':
/usr/include/linux/byteorder/little_endian.h:55: error: `__le32'
undeclared (first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:57: error: syntax error
before '*' token
/usr/include/linux/byteorder/little_endian.h: In function
`__le32_to_cpup':
/usr/include/linux/byteorder/little_endian.h:59: error: `p' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:61: error: syntax error
before "__cpu_to_le16p"
/usr/include/linux/byteorder/little_endian.h: In function
`__cpu_to_le16p':
/usr/include/linux/byteorder/little_endian.h:63: error: `__le16'
undeclared (first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:65: error: syntax error
before '*' token
/usr/include/linux/byteorder/little_endian.h: In function
`__le16_to_cpup':
/usr/include/linux/byteorder/little_endian.h:67: error: `p' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:69: error: syntax error
before "__cpu_to_be64p"
/usr/include/linux/byteorder/little_endian.h: In function
`__cpu_to_be64p':
/usr/include/linux/byteorder/little_endian.h:71: error: `__be64'
undeclared (first use in this function)
/usr/include/linux/byteorder/little_endian.h:71: error: syntax error
before "__swab64p"
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:73: error: syntax error
before '*' token
/usr/include/linux/byteorder/little_endian.h: In function
`__be64_to_cpup':
/usr/include/linux/byteorder/little_endian.h:75: error: `p' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:77: error: syntax error
before "__cpu_to_be32p"
/usr/include/linux/byteorder/little_endian.h: In function
`__cpu_to_be32p':
/usr/include/linux/byteorder/little_endian.h:79: error: `__be32'
undeclared (first use in this function)
/usr/include/linux/byteorder/little_endian.h:79: error: syntax error
before "__swab32p"
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:81: error: syntax error
before '*' token
/usr/include/linux/byteorder/little_endian.h: In function
`__be32_to_cpup':
/usr/include/linux/byteorder/little_endian.h:83: error: `p' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:85: error: syntax error
before "__cpu_to_be16p"
/usr/include/linux/byteorder/little_endian.h: In function
`__cpu_to_be16p':
/usr/include/linux/byteorder/little_endian.h:87: error: `__be16'
undeclared (first use in this function)
/usr/include/linux/byteorder/little_endian.h:87: error: syntax error
before "__swab16p"
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:89: error: syntax error
before '*' token
/usr/include/linux/byteorder/little_endian.h: In function
`__be16_to_cpup':
/usr/include/linux/byteorder/little_endian.h:91: error: `p' undeclared
(first use in this function)
In file included from /usr/include/linux/byteorder/little_endian.h:108,
                 from /usr/include/asm/byteorder.h:57,
                 from /usr/include/linux/kernel.h:16,
                 from /usr/include/asm/system.h:5,
                 from /usr/include/asm/processor.h:18,
                 from /usr/include/asm/thread_info.h:16,
                 from /usr/include/linux/thread_info.h:21,
                 from ../osdep/kerneltwosix.h:4,
                 from vo_mga.c:17:
/usr/include/linux/byteorder/generic.h: At top level:
/usr/include/linux/byteorder/generic.h:151: error: syntax error before
"htonl"
/usr/include/linux/byteorder/generic.h:153: error: syntax error before
"htons"
make[1]: *** [vo_mga.o] Error 1
make[1]: Leaving directory `/home/eugene/RPM/BUILD/MPlayer-1.0pre5/libvo'
make: *** [libvo/libvo.a] Error 2
make: Leaving directory `/home/eugene/RPM/BUILD/MPlayer-1.0pre5'
ошибка: Неверный код возврата из /home/eugene/tmp/rpm-tmp.9566 (%build)


eugene ~ $ rpm -qf /usr/include/linux/byteorder/little_endian.h
kernel-headers-std26-up-2.6.9-alt11

eugene ~ $ uname -r
2.6.9-std26-up-alt11

eugene ~ $ rpm -qa|grep kernel-headers
kernel-headers-common-1.1.5-alt1
kernel-headers-alsa-1.0.6a-alt2
kernel-headers-std26-up-2.6.9-alt11
kernel-headers-modules-std26-up-2.6.9-alt11

MPlayer-1.0-alt16.pre5.src.rpm, но и со сборкой предыдущих версий MPlayer
под 2.6.9 такое наблюдалось. Все собирается после заремливания строк, на
которые ругань в /usr/include/linux/byteorder/little_endian.h и
/usr/include/linux/byteorder/generic.h, но сдается мне, это не совсем
правильно. 

Где ошибка, в исходниках MPlayer или в kernel-headers-std26?

-- 
С уважением, Евгений                          mailto:eugvv@altlinux.ru


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

                 reply	other threads:[~2004-12-22 19:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20041222195658.GA19981@eugene-home.ikz.ru \
    --to=eugene@ikz.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