Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136555 - mplayer-1.0_pre8 does not compile on amd64
Summary: mplayer-1.0_pre8 does not compile on amd64
Status: RESOLVED DUPLICATE of bug 130200
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Lowest major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-12 10:18 UTC by deathlove
Modified: 2006-06-12 10:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description deathlove 2006-06-12 10:18:42 UTC
Hi,

On my Notebook does compile:
---
 * Make
./version.sh `cc -dumpversion`
iconv -f `cat help/help_mp-de.h.charset` -t UTF-8 "help/help_mp-de.h" >> help_mp.h
Adding untranslated messages to help_mp.h
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -mcpu=k8 -mtune=k8 -O2 -pipe -D__STDC_LIMIT_MACROS -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I.      -I/usr/include/freetype2  -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o mplayer.o mplayer.c
In file included from mplayer.c:183:
libmpdemux/demuxer.h:104: Fehler: Feld 
Comment 1 deathlove 2006-06-12 10:18:42 UTC
Hi,

On my Notebook does compile:
---
 * Make
./version.sh `cc -dumpversion`
iconv -f `cat help/help_mp-de.h.charset` -t UTF-8 "help/help_mp-de.h" >> help_mp.h
Adding untranslated messages to help_mp.h
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -mcpu=k8 -mtune=k8 -O2 -pipe -D__STDC_LIMIT_MACROS -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I.      -I/usr/include/freetype2  -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o mplayer.o mplayer.c
In file included from mplayer.c:183:
libmpdemux/demuxer.h:104: Fehler: Feld »get_current« als Funktion deklariert
mplayer.c: In Funktion »mp_property_tv_color«:
mplayer.c:2076: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
mplayer.c:2078: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
mplayer.c:2081: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
mplayer.c:2086: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
mplayer.c: In Funktion »main«:
mplayer.c:2739: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
mplayer.c:2775: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
mplayer.c:3464: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
mplayer.c:4790: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite
make: *** [mplayer.o] Fehler 1
---

if i under /var/tmp/portage/mplayer-1.0_pre8/work/MPlayer-1.0pre8
./configure and make works fine:
./version.sh `cc -dumpversion`
iconv -f `cat help/help_mp-en.h.charset` -t UTF-8 "help/help_mp-en.h" >> help_mp.h
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -D__STDC_LIMIT_MACROS -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.      -I/usr/include/freetype2  -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o mplayer.o mplayer.c
In Datei, eingefügt von libmpdemux/dvbin.h:11,
                 von mplayer.c:117:
libmpdemux/dvb_defaults.h:73:3: Warnung: #warning No DVB-T country defined in dvb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
mplayer.c: In Funktion »mp_property_tv_color«:
mplayer.c:2076: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
mplayer.c:2078: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
mplayer.c:2081: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
mplayer.c:2086: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -D__STDC_LIMIT_MACROS -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.      -I/usr/include/freetype2  -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o m_property.o m_property.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -D__STDC_LIMIT_MACROS -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.      -I/usr/include/freetype2  -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o mp_msg.o mp_msg.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -D__STDC_LIMIT_MACROS -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.      -I/usr/include/freetype2  -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o asxparser.o asxparser.c
cc  -I. codec-cfg.c -o codec-cfg \
-DCODECS2HTML -Wl,-z,noexecstack  
---

---
emerge --info
Portage 2.1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Turion(tm) 64 Mobile Technology MT-34
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mcpu=k8 -mtune=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mcpu=k8 -mtune=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://85.25.128.62 ftp://gentoo.inode.at/source/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa asf avi bitmap-fonts bzip2 cdparanoia cdr crypt curl custom-cflags dga dri dv dvd dvdr dvdread encode exif ffmpeg flac gif gpm gtk gtk2 imagemagick imlib imlib2 isdnlog ithreads java jpeg jpeg2k lcms lzo lzw mad mng motif mp3 mp4 mpeg ncurses nls no-old-linux nptl nptlonly ogg on-the-fly-crypt opengl pam pcre perl png pppd python qt quicktime readline reflection reiser4 rtc sdl session spell spl ssl sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis wxwindows x264 xml xml2 xorg xpm xv xvid zlib elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-12 10:23:52 UTC
Set your locales to C when reporting bugs, please.
Comment 3 deathlove 2006-06-12 10:35:31 UTC
ok sorry:

./version.sh `cc -dumpversion`
iconv -f `cat help/help_mp-de.h.charset` -t UTF-8 "help/help_mp-de.h" >> help_mp.h
Adding untranslated messages to help_mp.h
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -mcpu=k8 -mtune=k8 -O2 -pipe -D__STDC_LIMIT_MACROS -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I.      -I/usr/include/freetype2  -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o mplayer.o mplayer.c
In file included from mplayer.c:183:
libmpdemux/demuxer.h:104: error: field 'get_current' declared as a function
mplayer.c: In function 'mp_property_tv_color':
mplayer.c:2076: warning: cast from pointer to integer of different size
mplayer.c:2078: warning: cast from pointer to integer of different size
mplayer.c:2081: warning: cast from pointer to integer of different size
mplayer.c:2086: warning: cast from pointer to integer of different size
mplayer.c: In function 'main':
mplayer.c:2739: warning: cast to pointer from integer of different size
mplayer.c:2775: warning: cast to pointer from integer of different size
mplayer.c:3464: warning: cast to pointer from integer of different size
mplayer.c:4790: warning: cast to pointer from integer of different size
make: *** [mplayer.o] Error 1
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-06-12 10:49:20 UTC
Thanks. Dupe of Bug 130200.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-06-12 10:49:32 UTC

*** This bug has been marked as a duplicate of 130200 ***