video_init.c:9:21: error: SDL/SDL.h: No such file or directory video_init.c:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token video_init.c: In function 'resize_display': video_init.c:23: error: 'SDL_OPENGL' undeclared (first use in this function) video_init.c:23: error: (Each undeclared identifier is reported only once video_init.c:23: error: for each function it appears in.) video_init.c:23: error: 'SDL_HWSURFACE' undeclared (first use in this function) video_init.c:23: error: 'SDL_FULLSCREEN' undeclared (first use in this function) video_init.c:24: error: 'SDL_RESIZABLE' undeclared (first use in this function) video_init.c:26: error: 'screen' undeclared (first use in this function) video_init.c:28: warning: incompatible implicit declaration of built-in function 'fprintf' video_init.c:28: error: 'stderr' undeclared (first use in this function) video_init.c:32: error: 'SDL_DISABLE' undeclared (first use in this function) video_init.c:32: error: 'SDL_ENABLE' undeclared (first use in this function) video_init.c: In function 'init_display': video_init.c:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token video_init.c:44: error: 'info' undeclared (first use in this function) video_init.c:49: error: 'SDL_INIT_VIDEO' undeclared (first use in this function) video_init.c:49: error: 'SDL_INIT_TIMER' undeclared (first use in this function) video_init.c:51: warning: incompatible implicit declaration of built-in function 'fprintf' video_init.c:51: error: 'stderr' undeclared (first use in this function) video_init.c:61: warning: incompatible implicit declaration of built-in function 'fprintf' video_init.c:76: error: 'SDL_GL_ALPHA_SIZE' undeclared (first use in this function) video_init.c:77: error: 'SDL_GL_DEPTH_SIZE' undeclared (first use in this function) video_init.c:78: error: 'SDL_GL_DOUBLEBUFFER' undeclared (first use in this function) video_init.c:81: error: 'SDL_OPENGL' undeclared (first use in this function) video_init.c:81: error: 'SDL_HWSURFACE' undeclared (first use in this function) video_init.c:81: error: 'SDL_RESIZABLE' undeclared (first use in this function) video_init.c:82: error: 'SDL_FULLSCREEN' undeclared (first use in this function) video_init.c:84: error: 'screen' undeclared (first use in this function) video_init.c:92: warning: incompatible implicit declaration of built-in function 'fprintf' make[3]: *** [video_init.o] Error 1 make[3]: *** Waiting for unfinished jobs.... main.c:39:21: error: SDL/SDL.h: No such file or directory main.c:40:28: error: SDL/SDL_thread.h: No such file or directory In file included from main.c:50: sdltoprojectM.h:28: error: expected ')' before 'event' sdltoprojectM.h:44: error: expected ')' before 'keysym' sdltoprojectM.h:144: error: expected ')' before 'mod' main.c:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token main.c:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token main.c:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token main.c:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'event' main.c:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token main.c: In function 'worker_func': main.c:168: error: 'SDL_TimerID' undeclared (first use in this function) main.c:168: error: (Each undeclared identifier is reported only once main.c:168: error: for each function it appears in.) main.c:168: error: expected ';' before 'title_timer' main.c:209: error: 'title_timer' undeclared (first use in this function) main.c:209: error: 'SDL_NewTimerCallback' undeclared (first use in this function) main.c:209: error: expected ')' before 'get_xmms_title' main.c:213: error: 'sem' undeclared (first use in this function) main.c:220: error: 'SDL_Event' undeclared (first use in this function) main.c:220: error: expected ';' before 'event' main.c:221: error: 'event' undeclared (first use in this function) main.c:230: error: 'SDLK_f' undeclared (first use in this function) main.c: In function 'projectM_xmms_init': main.c:290: error: 'mutex' undeclared (first use in this function) main.c:292: error: 'sem' undeclared (first use in this function) main.c:294: error: 'worker_thread' undeclared (first use in this function) main.c: In function 'projectM_cleanup': main.c:303: error: 'sem' undeclared (first use in this function) main.c:304: error: 'worker_thread' undeclared (first use in this function) main.c:308: error: 'mutex' undeclared (first use in this function) main.c: In function 'projectM_render_pcm': main.c:332: error: 'sem' undeclared (first use in this function) main.c:333: error: 'mutex' undeclared (first use in this function) make[3]: *** [main.o] Error 1 make[2]: *** [build] Error 2 make[1]: *** [build] Error 2 make: *** [build] Error 2 !!! ERROR: media-plugins/audacious-plugins-1.3.0_rc1 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3309: Called src_compile audacious-plugins-1.3.0_rc1.ebuild, line 100: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/media-plugins/audacious-plugins-1.3.0_rc1/temp/build.log'.