Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ebuild Compile Error - emerge visualboyadvance
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kaput
Apprentice
Apprentice


Joined: 23 May 2003
Posts: 197

PostPosted: Fri Dec 26, 2003 5:38 am    Post subject: Ebuild Compile Error - emerge visualboyadvance Reply with quote

Upon attempting to emerge and compile visualboyadvance, I get the following error:

Code:

In file included from ../win32/include/zlib/zutil.h:16,
                 from memgzio.h:12,
                 from Util.cpp:84:
../win32/include/zlib/zlib.h:40:1: warning: "ZLIB_VERSION" redefined
In file included from Util.cpp:63:
/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:84:
../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 `/var/tmp/portage/visualboyadvance-1.6a/work/VisualBoyAdvance-1.6a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/visualboyadvance-1.6a/work/VisualBoyAdvance-1.6a/src'
make: *** [all-recursive] Error 1
 
!!! ERROR: games-emulation/visualboyadvance-1.6a failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! (no error message)


Anyone have any ideas?
Back to top
View user's profile Send private message
kaput
Apprentice
Apprentice


Joined: 23 May 2003
Posts: 197

PostPosted: Fri Dec 26, 2003 11:26 am    Post subject: Hrmm Reply with quote

I found a proposed ebuild for Visual Boy Advance at bugs.gentoo.org. However, I found that I encountered the exact same problem with that ebuild as well. So, I'm assuming that I have a system bug.

If anyone has any suggestions, that'd be great!
Back to top
View user's profile Send private message
kaput
Apprentice
Apprentice


Joined: 23 May 2003
Posts: 197

PostPosted: Fri Dec 26, 2003 2:16 pm    Post subject: Reply with quote

Well. Kind of fixed it. Had to downgrade to zlib-1.1.4r4 to get it work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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