Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[DosBox] Compilation echouée (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
pknzeta
n00b
n00b


Joined: 22 Sep 2008
Posts: 22

PostPosted: Thu Feb 05, 2009 11:19 pm    Post subject: [DosBox] Compilation echouée (résolu) Reply with quote

Bonjour le forum,
quelqu'un se donnerais t-il la peine de régler ce malencontreux problème;
J'ai DosBox qui refuse de compiler pour les motifs suivants:
Code:

memory.cpp: In constructor ‘MEMORY::MEMORY(Section*)’:
memory.cpp:545: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘Bitu’
In file included from ../../include/dos_inc.h:25,
                 from ../../include/programs.h:26,
                 from mixer.cpp:51:
../../include/dos_system.h:132: warning: ‘typedef’ was ignored in this declaration
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=athlon64 -O3 -pipe -DPIC -s -fomit-frame-pointer   -c -o pcspeaker.o `test -f 'pcspeaker.cpp' || echo './'`pcspeaker.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=athlon64 -O3 -pipe -DPIC -s -fomit-frame-pointer   -c -o pic.o `test -f 'pic.cpp' || echo './'`pic.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=athlon64 -O3 -pipe -DPIC -s -fomit-frame-pointer   -c -o sblaster.o `test -f 'sblaster.cpp' || echo './'`sblaster.cpp
pic.cpp: In function ‘void write_data(Bitu, Bitu, Bitu)’:
pic.cpp:205: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘Bitu’
pic.cpp:206: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘Bitu’
pic.cpp: At global scope:
pic.cpp:531: error: expected identifier before numeric constant
pic.cpp:531: error: expected unqualified-id before numeric constant
make[4]: *** [pic.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from ../../include/dos_inc.h:25,
                 from ../../include/programs.h:26,
                 from ../../include/shell.h:29,
                 from sblaster.cpp:33:
../../include/dos_system.h:132: warning: ‘typedef’ was ignored in this declaration
make[4]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/hardware'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/hardware'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72'
make: *** [all] Error 2
 *
 * ERROR: games-emulation/dosbox-0.72 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2499:  Called games_src_compile
 *             environment, line 1470:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed"
 *  The die message:
 *   emake failed

Je joint aussi mon emerge --info dans l'éspoir que ça serve a l'un d'entre vous;
Code:

$ emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-glibc2.2.5
Timestamp of tree: Thu, 05 Feb 2009 12:15:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -DPIC -s -fomit-frame-pointer "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -DPIC -s -fomit-frame-pointer "
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org ftp.tiscali.nl/pub/mirror/gentoo/distfiles/ ftp.uoi.gr/mirror/OS/gentoo/distfiles/ http://de-mirror.org/distro/gentoo/distfiles/ http://gentoo.mirrors.tds.net/gentoo/distfiles/ ftp://gentoo.imj.fr/pub/gentoo/distfiles"
LANG="en_US.UTF8"
LDFLAGS="-O3 -z combreloc"
LINGUAS="eng"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --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="7zip X a52 aac aalib acl aften alsa amd64 amr ao app-office/openoffice async audiofile avahi bash-completion berkdb bzip2 cairo cdda cddb cdio cdparanoia cdrom cli contrib cracklib crypt cursors custom-optimization cvs cxx daap dbus devhelp devil dga dhcp divx doc dri dts dv dvd dvdr dvdread dvi dynamic editor encode equalizer examples exif fastbuild ffmpeg firefox flac flash fortran ftp gcrypt gd gdbm gif gimp glade glib glitz glut gnutls gpm gstreamer gtk gzip-el hal hardcoded-tables hardened iconv id3 id3tag image imagemagick imlib infowidget inherit-graph ipfilter ipv6 isdnlog jabber javascript joystick jpeg jpeg2k lame ldap libcaca libnotify libsamplerate logviewer lvm lzo mad matroska md5sum mdnsresponder-compat menu-plugin midi mikmod mime mmx mmxext modplug mono mp2 mp3 mp3rtp mp4 mp4live mpeg mpeg2 mplayer msn mtp mudflap multilib musepack musicbrainz mysql ncurses net network nls nocd nptl nptlonly ogg openal opengl openmp pam pcap pch pci pcre pdf perl plugins png pppd python qt4 quicktime rar readline reflection rss rtsp ruby samba sasl scanfolder sdl sdl-image sdl-sound search session smi speech speex spell spl sse sse2 ssl ssse3 stream subversion svg sysfs tagwriting tcpd theora threads trayicon truetype unicode upnp vorbis wav wmp x264 xcb xchatdccserver xfce xml xorg xosd xulrunner xv xvid yahoo zeroconf zip zlib" ALSA_CARDS="cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="eng" USERLAND="GNU" VIDEO_CARDS="fbdev nv vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


des idées? remarques? suggéstions?

merci beaucoup...


Last edited by pknzeta on Thu Feb 05, 2009 11:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 8075
Location: ~Brussels - Belgique

PostPosted: Thu Feb 05, 2009 11:30 pm    Post subject: Reply with quote

Chez moi ça a été compilé le 17/1/2009 sans souci.
Code:
 emerge -av dosbox
[ebuild   R   ] games-emulation/dosbox-0.72  USE="alsa opengl -debug -hardened" 0 kB

_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 8075
Location: ~Brussels - Belgique

PostPosted: Thu Feb 05, 2009 11:31 pm    Post subject: Reply with quote

ton "-D PIC" dans le CFLAGS est plus que suspect :!:
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
pknzeta
n00b
n00b


Joined: 22 Sep 2008
Posts: 22

PostPosted: Thu Feb 05, 2009 11:58 pm    Post subject: Reply with quote

Perfecto! ça m'a réglé le problème, merci beaucoup pour ta réponse rapide.
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 8075
Location: ~Brussels - Belgique

PostPosted: Fri Feb 06, 2009 8:56 am    Post subject: Reply with quote

Je te conseille vivement de tout recompiler : emerge -v world
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum