Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37127 - emerge visualboyadvance fails with compile errors related to zlib.
Summary: emerge visualboyadvance fails with compile errors related to zlib.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-03 11:22 UTC by Priit Laes (IRC: plaes)
Modified: 2011-09-14 20:38 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 Priit Laes (IRC: plaes) 2004-01-03 11:22:55 UTC
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7\" -DYYTEXT_POINTER=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBZ=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1  -I. -I.     -mcpu=pentium3 -march=pentium3 -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions -I/usr/include/SDL -D_REENTRANT -DSDL -DBKPT_SUPPORT -fno-exceptions -DC_CORE -DMMX -DDEV_VERSION -MT Util.o -MD -MP -MF ".deps/Util.Tpo" \
  -c -o Util.o `test -f 'Util.cpp' || echo './'`Util.cpp; \
then mv -f ".deps/Util.Tpo" ".deps/Util.Po"; \
else rm -f ".deps/Util.Tpo"; exit 1; \
fi
In file included from ../win32/include/zlib/zutil.h:16,
                 from memgzio.h:12,
                 from Util.cpp:43:
../win32/include/zlib/zlib.h:40:1: warning: "ZLIB_VERSION" redefined
In file included from Util.cpp:22:
/usr/include/zlib.h:40:1: warning: this is the location of the previous definition
In file included from ../win32/include/zlib/zutil.h:16,
                 from memgzio.h:12,
                 from Util.cpp:43:
../win32/include/zlib/zlib.h:68: error: redefinition of `struct z_stream_s'
/usr/include/zlib.h:84: error: previous definition of `struct z_stream_s'
../win32/include/zlib/zlib.h:704: error: declaration of C function `int
   gzwrite(void*, void*, unsigned int)' conflicts with
/usr/include/zlib.h:981: error: previous declaration `int gzwrite(void*, const
   void*, unsigned int)' here
make[2]: *** [Util.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/root/tmp/portage/visualboyadvance-1.7/work/VisualBoyAdvance-1.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/root/tmp/portage/visualboyadvance-1.7/work/VisualBoyAdvance-1.7/src'
make: *** [all-recursive] Error 1
 
!!! ERROR: games-emulation/visualboyadvance-1.7 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! emake failed
Comment 1 Priit Laes (IRC: plaes) 2004-01-03 11:23:38 UTC
Decoder root # emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.0)
=================================================================
System uname: 2.6.0 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -march=pentium3 -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -march=pentium3 -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions"
DISTDIR="/home/root/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/root/tmp"
PORTDIR="/home/root/portage"
PORTDIR_OVERLAY="/home/root/breakmygentoo"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib accessibility acl acpi alsa apache2 avi berkdb bindist bonobo cdr crypt cscope cups curl dga directfb divx dvd dvdr encode faad fastcgi fbcon flac flash foomaticdb freetds gatos gd gdbm gif ginac gnome gnomedb gphoto2 gpm gstreamer gtk2 gtkhtml guile imap imlib innodb ipv6 jack java jikes jpeg kde ladcca ldap libgda libwww mad mbox mcal mikmod mmx motif mozcalendar mozilla mozp3p mozsvg mozxmlterm mpeg mpi mysql nas ncurses nhc98 nls nptl offensive oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png pnp ppds prelude python qhull qt quicktime readline ruby samba sasl sdk sdl slang slp snmp spell sse ssl tcltk tcpd tetex tiff truetype trusted unicode usb wmf wxwindows x86 xinerama xml xml2 xosd xv xvid zlib video_cards_ati128"
Comment 2 Priit Laes (IRC: plaes) 2004-01-03 11:24:12 UTC
Decoder root # qpkg -I -v zlib
sys-libs/zlib-1.2.1-r2 *
Comment 3 SpanKY gentoo-dev 2004-01-03 11:29:43 UTC

*** This bug has been marked as a duplicate of 36515 ***
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:06:26 UTC
Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:38:55 UTC
clean up bug list after bugzilla update