Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8269 - wxGTK-2.3.2-r2 doesn't compile
Summary: wxGTK-2.3.2-r2 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-23 15:11 UTC by Manolis Tzanidakis
Modified: 2003-02-04 19:42 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 Manolis Tzanidakis 2002-09-23 15:11:55 UTC
emerge fails with the following messages:

[quote]
c++ -c    -D_GNU_SOURCE    -D__WXGTK__ -D_REENTRANT -DGTK_NO_CHECK_CASTS
-fno-rtti -fno-exceptions -MMD -march=athlon-xp -pipe -fomit-frame-pointer
-m3dnow -mmmx -mfpmath=sse -O2 -I./lib/wx/include/gtk-2.3 -I./include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -Wall -fPIC -o fs_zip.o ./src/common/fs_zip.cpp
In file included from src/common/fs_zip.cpp:38:
src/common/unzip.h:130: syntax error before `(' token
src/common/unzip.h:143: syntax error before `(' token
src/common/unzip.h:154: syntax error before `(' token
src/common/unzip.h:161: syntax error before `(' token
src/common/unzip.h:169: syntax error before `(' token
src/common/unzip.h:182: syntax error before `(' token
src/common/unzip.h:188: syntax error before `(' token
src/common/unzip.h:195: syntax error before `(' token
src/common/unzip.h:208: syntax error before `(' token
src/common/unzip.h:234: syntax error before `(' token
src/common/unzip.h:240: syntax error before `(' token
src/common/unzip.h:247: syntax error before `(' token
src/common/unzip.h:261: syntax error before `(' token
src/common/unzip.h:266: syntax error before `(' token
src/common/unzip.h:271: syntax error before `(' token
src/common/fs_zip.cpp: In destructor `virtual 
   wxZipFSHandler::~wxZipFSHandler()':
src/common/fs_zip.cpp:61: `unzClose' undeclared (first use this function)
src/common/fs_zip.cpp:61: (Each undeclared identifier is reported only once for 
   each function it appears in.)
src/common/fs_zip.cpp: In member function `virtual wxString 
   wxZipFSHandler::FindFirst(const wxString&, int)':
src/common/fs_zip.cpp:138: `unzOpen' undeclared (first use this function)
src/common/fs_zip.cpp:144: `unzGoToFirstFile' undeclared (first use this 
   function)
src/common/fs_zip.cpp: In member function `wxString wxZipFSHandler::DoFind()':
src/common/fs_zip.cpp:181: `unzGetCurrentFileInfo' undeclared (first use this 
   function)
src/common/fs_zip.cpp:212: `unzGoToNextFile' undeclared (first use this 
   function)
make: *** [fs_zip.o] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -111, Exitcode 2
!!! make failed
[/quote]

From my /etc/make.conf :
USE="alsa -nls -avi tiff dga dvd xface mozilla -cups sse -gnome -svga"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -mmmx -mfpmath=sse"
Comment 1 SpanKY gentoo-dev 2002-09-23 16:41:53 UTC
what are your CFLAGS and CXXFLAGS ?
Comment 2 Manolis Tzanidakis 2002-09-24 03:26:34 UTC
C**FLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -mmmx
-mfpmath=sse"
Comment 3 Nick Hadaway 2002-09-24 08:54:56 UTC
This looks like wxGTK may have a dependancy on zip?

Please emerge zip and then try emerging wxGTK.  Let me know how things go for you.
Comment 4 Manolis Tzanidakis 2002-09-24 10:15:57 UTC
Re-emerging zip was the first thing I tried. However the problem is not
zip-centric since zip has no include files. It must gcc-3.2-based problem since
it doesn't work right with variables like (from src/common/unzip.h of wxGTK
source) :

[code]
extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1,
												 const char* fileName2,
												 int iCaseSensitivity));
[/code]

It takes them as syntax errors. All errors are like that.
Comment 5 Manolis Tzanidakis 2002-09-24 19:01:18 UTC
Check the #8270 bug. The problem is the same