Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57368 - Neverball Fails to compile due to wrong include path
Summary: Neverball Fails to compile due to wrong include path
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-17 02:00 UTC by folken
Modified: 2004-07-20 17:09 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 folken 2004-07-17 02:00:17 UTC
root@project2506 portage # emerge neverball
Calculating dependencies ...done!
>>> emerge (1 of 1) games-puzzle/neverball-1.3.1 to /
>>> md5 src_uri ;-) neverball-1.3.1.tar.gz
>>> Unpacking source...
>>> Unpacking neverball-1.3.1.tar.gz to /var/tmp/portage/neverball-1.3.1/work
>>> Source unpacked.
gcc -Wall -Werror -mcpu=athlon-xp -O3 -pipe -ansi -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -Ishare -o share/vec3.o -c share/vec3.c
gcc -Wall -Werror -mcpu=athlon-xp -O3 -pipe -ansi -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -Ishare -o share/text.o -c share/text.c
share/text.c:16:21: SDL_ttf.h: No such file or directory
In file included from share/text.c:22:
share/image.h:5:21: SDL_ttf.h: No such file or directory
In file included from share/text.c:22:
share/image.h:18: error: syntax error before "TTF_Font"
share/text.c:45: error: syntax error before '*' token
share/text.c:45: warning: type defaults to `int' in declaration of `text_font'
share/text.c:45: warning: data definition has no type or storage class
share/text.c: In function `text_init':
share/text.c:55: warning: implicit declaration of function `TTF_Init'
share/text.c:59: warning: implicit declaration of function `TTF_OpenFont'
share/text.c:59: warning: assignment makes pointer from integer without a cast
share/text.c:60: warning: assignment makes pointer from integer without a cast
share/text.c:61: warning: assignment makes pointer from integer without a cast
share/text.c: In function `text_free':
share/text.c:80: warning: implicit declaration of function `TTF_CloseFont'
share/text.c:84: warning: implicit declaration of function `TTF_Quit'
share/text.c: In function `text_size':
share/text.c:96: warning: implicit decroot@project2506 portage # emerge neverball
Calculating dependencies ...done!
>>> emerge (1 of 1) games-puzzle/neverball-1.3.1 to /
>>> md5 src_uri ;-) neverball-1.3.1.tar.gz
>>> Unpacking source...
>>> Unpacking neverball-1.3.1.tar.gz to /var/tmp/portage/neverball-1.3.1/work
>>> Source unpacked.
gcc -Wall -Werror -mcpu=athlon-xp -O3 -pipe -ansi -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -Ishare -o share/vec3.o -c share/vec3.c
gcc -Wall -Werror -mcpu=athlon-xp -O3 -pipe -ansi -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT -Ishare -o share/text.o -c share/text.c
share/text.c:16:21: SDL_ttf.h: No such file or directory
In file included from share/text.c:22:
share/image.h:5:21: SDL_ttf.h: No such file or directory
In file included from share/text.c:22:
share/image.h:18: error: syntax error before "TTF_Font"
share/text.c:45: error: syntax error before '*' token
share/text.c:45: warning: type defaults to `int' in declaration of `text_font'
share/text.c:45: warning: data definition has no type or storage class
share/text.c: In function `text_init':
share/text.c:55: warning: implicit declaration of function `TTF_Init'
share/text.c:59: warning: implicit declaration of function `TTF_OpenFont'
share/text.c:59: warning: assignment makes pointer from integer without a cast
share/text.c:60: warning: assignment makes pointer from integer without a cast
share/text.c:61: warning: assignment makes pointer from integer without a cast
share/text.c: In function `text_free':
share/text.c:80: warning: implicit declaration of function `TTF_CloseFont'
share/text.c:84: warning: implicit declaration of function `TTF_Quit'
share/text.c: In function `text_size':
share/text.c:96: warning: implicit declaration of function `TTF_SizeText'
make: *** [share/text.o] Error 1

!!! ERROR: games-puzzle/neverball-1.3.1 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! emake failed
laration of function `TTF_SizeText'
make: *** [share/text.o] Error 1

!!! ERROR: games-puzzle/neverball-1.3.1 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! emake failed


Reproducible: Always
Steps to Reproduce:
1. emerge games-puzzle/neverball-1.3.1
2.
3.



Expected Results:  
Use the include path of sdl which is /usr/include/SDL/
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-07-17 02:07:16 UTC
what does "which sdl-config" give you?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-07-20 17:09:50 UTC
Seems to be a local config problem.