Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72395 - media-sound/amarok-1.1.1 fails to build
Summary: media-sound/amarok-1.1.1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-24 14:21 UTC by Karl Trygve Kalleberg (RETIRED)
Modified: 2005-01-30 13:39 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 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-11-24 14:21:51 UTC
Here is the log:

-----------
make[5]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok/src/vis/libvisual'
make[5]: Entering directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok/src/vis/libvisual'
g++ -DHAVE_CONFIG_H -I. -I. -I../../../..   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i586 -mcpu=i686 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o libvisual.o `test -f 'libvisual.cpp' || echo './'`libvisual.cpp
In file included from libvisual.cpp:4:
libvisual.h:8:21: SDL/SDL.h: No such file or directory
In file included from libvisual.cpp:4:
libvisual.h:15: error: syntax error before `*' token
libvisual.h:16: error: syntax error before `[' token
libvisual.h: In function `void SDL::lock()':
libvisual.h:22: error: `screen' undeclared (first use this function)
libvisual.h:22: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
libvisual.h:22: error: `SDL_MUSTLOCK' undeclared (first use this function)
libvisual.h:22: error: `SDL_TRUE' undeclared (first use this function)
libvisual.h:22: error: `SDL_LockSurface' undeclared (first use this function)
libvisual.h: In function `void SDL::unlock()':
libvisual.h:23: error: `SDL_MUSTLOCK' undeclared (first use this function)
libvisual.h:23: error: `SDL_UnlockSurface' undeclared (first use this function)
libvisual.h: In function `void SDL::toggleFullscreen()':
libvisual.h:28: error: `SDL_WM_ToggleFullScreen' undeclared (first use this
   function)
libvisual.h:29: error: `SDL_FULLSCREEN' undeclared (first use this function)
libvisual.h:29: error: `SDL_DISABLE' undeclared (first use this function)
libvisual.h:29: error: `SDL_ENABLE' undeclared (first use this function)
libvisual.h:29: error: `SDL_ShowCursor' undeclared (first use this function)
libvisual.cpp: In function `int main(int, char**)':
libvisual.cpp:35: warning: suggest parentheses around assignment used as truth
   value
libvisual.cpp: In function `void SDL::init()':
libvisual.cpp:148: error: `SDL_INIT_VIDEO' undeclared (first use this function)
libvisual.cpp:148: error: `SDL_Init' undeclared (first use this function)
libvisual.cpp:150: error: `SDL_GetError' undeclared (first use this function)
libvisual.cpp: In function `void SDL::quit()':
libvisual.cpp:164: error: `SDL_FreeSurface' undeclared (first use this
   function)
libvisual.cpp:165: error: `SDL_Quit' undeclared (first use this function)
libvisual.cpp: In function `void SDL::set_pal()':
libvisual.cpp:173: error: `pal' undeclared in namespace `SDL'
libvisual.cpp:174: error: `pal' undeclared in namespace `SDL'
libvisual.cpp:175: error: `pal' undeclared in namespace `SDL'
libvisual.cpp:178: error: `pal' undeclared in namespace `SDL'
libvisual.cpp:178: error: `SDL_SetColors' undeclared (first use this function)
libvisual.cpp: In function `void SDL::create(int, int)':
libvisual.cpp:184: error: `SDL_FreeSurface' undeclared (first use this
   function)
libvisual.cpp:188: error: ISO C++ forbids declaration of `SDL_VideoInfo' with
   no type
libvisual.cpp:188: error: uninitialized const `SDL_VideoInfo'
libvisual.cpp:188: error: parse error before `*' token
libvisual.cpp:190: error: `videoinfo' undeclared (first use this function)
libvisual.cpp:197: error: `SDL_OPENGL' undeclared (first use this function)
libvisual.cpp:197: error: `SDL_GL_DOUBLEBUFFER' undeclared (first use this
   function)
libvisual.cpp:197: error: `SDL_HWPALETTE' undeclared (first use this function)
libvisual.cpp:197: error: `SDL_RESIZABLE' undeclared (first use this function)
libvisual.cpp:198: error: `SDL_HWSURFACE' undeclared (first use this function)
libvisual.cpp:198: error: `SDL_SWSURFACE' undeclared (first use this function)
libvisual.cpp:200: error: `SDL_HWACCEL' undeclared (first use this function)
libvisual.cpp:202: error: `SDL_GL_SetAttribute' undeclared (first use this
   function)
libvisual.cpp:204: error: `SDL_SetVideoMode' undeclared (first use this
   function)
libvisual.cpp:188: warning: unused variable `const int SDL_VideoInfo'
libvisual.cpp: In function `bool SDL::event_handler()':
libvisual.cpp:215: error: `SDL_Event' undeclared (first use this function)
libvisual.cpp:215: error: parse error before `;' token
libvisual.cpp:218: error: `event' undeclared (first use this function)
libvisual.cpp:218: error: `SDL_PollEvent' undeclared (first use this function)
libvisual.cpp:224: error: `SDL_KEYUP' undeclared (first use this function)
libvisual.cpp:228: error: `SDL_KEYDOWN' undeclared (first use this function)
libvisual.cpp:234: error: `SDLK_F11' undeclared (first use this function)
libvisual.cpp:235: error: `SDLK_TAB' undeclared (first use this function)
libvisual.cpp:239: error: `SDLK_LEFT' undeclared (first use this function)
libvisual.cpp:243: error: `SDLK_RIGHT' undeclared (first use this function)
libvisual.cpp:248: warning: deprecated conversion from string constant to `
   char*'
libvisual.cpp:252: error: `SDL_WM_SetCaption' undeclared (first use this
   function)
libvisual.cpp:261: error: `SDL_VIDEORESIZE' undeclared (first use this
   function)
libvisual.cpp:265: error: `SDL_MOUSEMOTION' undeclared (first use this
   function)
libvisual.cpp:269: error: `SDL_MOUSEBUTTONDOWN' undeclared (first use this
   function)
libvisual.cpp:273: error: `SDL_MOUSEBUTTONUP' undeclared (first use this
   function)
libvisual.cpp:277: error: `SDL_QUIT' undeclared (first use this function)
libvisual.cpp: In function `void LibVisual::init(int&, char**&)':
libvisual.cpp:346: error: `SDL_WM_SetCaption' undeclared (first use this
   function)
libvisual.cpp: In function `uint LibVisual::render()':
libvisual.cpp:382: error: `SDL_GetTicks' undeclared (first use this function)
libvisual.cpp:388: error: `SDL_GL_SwapBuffers' undeclared (first use this
   function)
libvisual.cpp:402: error: `SDL_Flip' undeclared (first use this function)
make[5]: *** [libvisual.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok/src/vis/libvisual'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok/src/vis'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amarok-1.1.1/work/amarok-1.1.1'
make: *** [all] Error 2
-----------

Apparently, there's a hidden dependency on SDL somewhere; Portage does not require it to be installed.

(emerge info for my system can be found in #70565).

After installing libsdl, it compiles nicely.
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-30 13:39:36 UTC
added missing dependency. thanks for your report.