LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2003, 02:11 PM   #1
mep]-[isto
Member
 
Registered: Nov 2003
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
make problems with lbreakout2


hi, im trying to install a game called lbreakout2 and im getting some problems. im not sure where the problem lies, it doesnt seem like any libs or anything on my system that are missing or behaving incorrectly, it seems like it may be lbreakout's fault...am i right in saying this? heres the make output (configure runs through fine no errors)

Code:
mick@shuttle:~/downloads/lbreakout/lbreakout2-2.5beta-3$ make
make  all-recursive
make[1]: Entering directory `/home/mick/downloads/lbreakout/lbreakout2-2.5beta-3'
Making all in common
make[2]: Entering directory `/home/mick/downloads/lbreakout/lbreakout2-2.5beta-3/common'
gcc -DHAVE_CONFIG_H -DNETWORK_ENABLED      -g -O2 -Wall -I/usr/include/SDL -D_REENTRANT -c list.c
gcc -DHAVE_CONFIG_H -DNETWORK_ENABLED      -g -O2 -Wall -I/usr/include/SDL -D_REENTRANT -c net.c
gcc -DHAVE_CONFIG_H -DNETWORK_ENABLED      -g -O2 -Wall -I/usr/include/SDL -D_REENTRANT -c tools.c
gcc -DHAVE_CONFIG_H -DNETWORK_ENABLED      -g -O2 -Wall -I/usr/include/SDL -D_REENTRANT -c parser.c
rm -f libcommon.a
ar cru libcommon.a list.o net.o tools.o parser.o
ranlib libcommon.a
make[2]: Leaving directory `/home/mick/downloads/lbreakout/lbreakout2-2.5beta-3/common'
Making all in gui
make[2]: Entering directory `/home/mick/downloads/lbreakout/lbreakout2-2.5beta-3/gui'
gcc -DHAVE_CONFIG_H -DSRC_DIR=\"/usr/local/share/games/lbreakout2\" -DAUDIO_ENABLED     -g -O2 -Wall -I/usr/include/SDL -D_REENTRANT -c list.c
gcc -DHAVE_CONFIG_H -DSRC_DIR=\"/usr/local/share/games/lbreakout2\" -DAUDIO_ENABLED     -g -O2 -Wall -I/usr/include/SDL -D_REENTRANT -c stk.c
In file included from stk.c:22:
stk.h:23:25: SDL_mixer.h: No such file or directory
In file included from stk.c:22:
stk.h:442: syntax error before "Mix_Chunk"
stk.h:442: warning: no semicolon at end of struct or union
stk.h:446: syntax error before '}' token
stk.h:446: warning: type defaults to `int' in declaration of `StkSound'
stk.h:446: warning: data definition has no type or storage class
stk.h:463: syntax error before '*' token
stk.h:463: warning: type defaults to `int' in declaration of `stk_sound_load'
stk.h:463: warning: data definition has no type or storage class
stk.h:471: syntax error before '*' token
stk.h:478: syntax error before '*' token
stk.h:479: syntax error before '*' token
stk.h:486: syntax error before '*' token
stk.h:493: syntax error before '*' token
stk.c: In function `stk_audio_open':
stk.c:1222: `MIX_DEFAULT_FREQUENCY' undeclared (first use in this function)
stk.c:1222: (Each undeclared identifier is reported only once
stk.c:1222: for each function it appears in.)
stk.c:1223: `MIX_DEFAULT_FORMAT' undeclared (first use in this function)
stk.c:1226: warning: implicit declaration of function `Mix_OpenAudio'
stk.c: In function `stk_audio_close':
stk.c:1250: warning: implicit declaration of function `Mix_CloseAudio'
stk.c: In function `stk_audio_set_sound_volume':
stk.c:1296: warning: implicit declaration of function `Mix_Volume'
stk.c: In function `stk_audio_fade_out':
stk.c:1310: warning: implicit declaration of function `Mix_FadeOutChannel'
stk.c: At top level:
stk.c:1331: syntax error before '*' token
stk.c:1332: warning: return type defaults to `int'
stk.c: In function `stk_sound_load':
stk.c:1333: `sound' undeclared (first use in this function)
stk.c:1354: warning: implicit declaration of function `Mix_LoadWAV'
stk.c: At top level:
stk.c:1374: syntax error before '*' token
stk.c: In function `stk_sound_free':
stk.c:1376: `sound' undeclared (first use in this function)
stk.c:1379: warning: implicit declaration of function `Mix_FreeChunk'
stk.c: At top level:
stk.c:1390: syntax error before '*' token
stk.c: In function `stk_sound_set_volume':
stk.c:1394: `sound' undeclared (first use in this function)
stk.c: At top level:
stk.c:1396: syntax error before '*' token
stk.c: In function `stk_sound_set_channel':
stk.c:1401: `sound' undeclared (first use in this function)
stk.c: At top level:
stk.c:1409: syntax error before '*' token
stk.c: In function `stk_sound_play':
stk.c:1413: `sound' undeclared (first use in this function)
stk.c:1414: warning: implicit declaration of function `Mix_PlayChannel'
stk.c: At top level:
stk.c:1424: syntax error before '*' token
stk.c: In function `stk_sound_fade_out':
stk.c:1428: `sound' undeclared (first use in this function)
stk.c:1428: `ms' undeclared (first use in this function)
make[2]: *** [stk.o] Error 1
make[2]: Leaving directory `/home/mick/downloads/lbreakout/lbreakout2-2.5beta-3/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mick/downloads/lbreakout/lbreakout2-2.5beta-3'
make: *** [all-recursive-am] Error 2
something that may be interesting to note; the game has an optional requirement of SDL mixer (to have sound in the game), i first installed it fine but without SD mixer, once i found i couldnt have sound i removed lbreakout, installed SDL mixer (which went fine), then attempted to reinstall lbreakout (which is my current problem as it wont install). after installing DSL mixer i did ldconfig and rebooted for safe measures, also (if its any help), my ld.so.conf looks like this:

Code:
/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
/usr/lib/mozilla-1.4
SDL is there (i checked) and seems fine, so is this lbreakout's problem or SDL or something else?

thanks for any help anyone can give, and if its not to much trouble can you explain how you came to the conclusion that you did. once again, thanks!!
 
Old 11-24-2003, 03:24 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
SDL_mixer.h: No such file or directory
I suggest trying a
locate SDL_mixer\.h
to make sure it's installed (and installed properly).

If it is, maybe you'll have to tell lbreakout's
./configure script where to look for it? Try
./configure --help to see whether it allows
for that.

As for ldconfig ... I wouldn't have a clue
as to whether those path's are sufficient
on your machine, but you don't need to
reboot in any case, just run ldconfig as root
(if make install didn't do that for you already).



Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BASH problems: "configure, make, make install" commands don't work ditch* Linux - General 3 07-19-2005 05:37 PM
make and make install problems jabird Red Hat 1 10-11-2004 10:05 PM
no sound in lbreakout2 Goatdemon Linux - Software 3 07-27-2004 11:05 AM
make-problems stalemate Mandriva 10 09-20-2003 11:49 AM
make problems jayakrishnan Linux - General 1 09-13-2003 06:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration