Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8270 - psi-0.8.6 doesn't compile
Summary: psi-0.8.6 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: Bart Verwilst
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-23 15:16 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:16:09 UTC
Emerge fails with following messages :

[quote]
g++ -c -march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -mmmx
-mfpmath=sse -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I/usr/X11R6/include -I/usr/qt/3/include -I/usr/qt/3/mkspecs/linux-g++ -o zip.o
zip.cpp
In file included from zip.cpp:7:
minizip/unzip.h:114: syntax error before `(' token
minizip/unzip.h:127: syntax error before `(' token
minizip/unzip.h:138: syntax error before `(' token
minizip/unzip.h:145: syntax error before `(' token
minizip/unzip.h:153: syntax error before `(' token
minizip/unzip.h:166: syntax error before `(' token
minizip/unzip.h:172: syntax error before `(' token
minizip/unzip.h:179: syntax error before `(' token
minizip/unzip.h:192: syntax error before `(' token
minizip/unzip.h:218: syntax error before `(' token
minizip/unzip.h:224: syntax error before `(' token
minizip/unzip.h:231: syntax error before `(' token
minizip/unzip.h:245: syntax error before `(' token
minizip/unzip.h:250: syntax error before `(' token
minizip/unzip.h:255: syntax error before `(' token
zip.cpp: In member function `bool UnZip::open()':
zip.cpp:46: `unzOpen' undeclared (first use this function)
zip.cpp:46: (Each undeclared identifier is reported only once for each function 
   it appears in.)
zip.cpp: In member function `void UnZip::close()':
zip.cpp:56: `unzClose' undeclared (first use this function)
zip.cpp: In member function `bool UnZip::getList()':
zip.cpp:71: `unzGetGlobalInfo' undeclared (first use this function)
zip.cpp:79: `unzGetCurrentFileInfo' undeclared (first use this function)
zip.cpp:86: `unzGoToNextFile' undeclared (first use this function)
zip.cpp: In member function `bool UnZip::readFile(const QString&, QByteArray*, 
   int)':
zip.cpp:99: `unzLocateFile' undeclared (first use this function)
zip.cpp:109: `unzOpenCurrentFile' undeclared (first use this function)
zip.cpp:116: `unzReadCurrentFile' undeclared (first use this function)
zip.cpp:118: `unzCloseCurrentFile' undeclared (first use this function)
make: *** [zip.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 8, Exitcode 2
!!! (no error message)
[/quote]

My C**FLAGS are shown on the first line. My USE conf is
USE="alsa -nls -avi tiff dga dvd xface mozilla -cups sse -gnome -svga"
Comment 1 Bart Verwilst 2002-09-24 13:59:24 UTC
Oki hi, i'm kinda in a hurry, so i'll fix this later. If you have the skills to implement it while you wait, this is it: to solve it, make sure you include /usr/include before /usr/X11R6/include... Sorry i can't fix it right now :$ Bye! 
Comment 2 Manolis Tzanidakis 2002-09-24 18:59:27 UTC
Thanx, this seems to solve it. I just added "-I/usr/include" on my CFLAGS on
/etc/make.conf (quick & dirty solution :). Please make it part of the ebuild.