The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 02, 2022, 04:41:04 am
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Compiling on ubuntu
« previous next »
Pages: [1] Print
Author Topic: Compiling on ubuntu  (Read 3078 times)
crazybus
Zebranky food
*
Offline Offline

Posts: 3



View Profile
Compiling on ubuntu
« on: January 24, 2007, 09:42:12 am »

I'm trying to compile The Ur-Quan Masters v0.6.2 on ubuntu linux 6.10 edgy eft.  However when following the compile directions I get errors.
I have put the .uqm packages into this folder sc2/content/packages
I also think I've installed all the correct dev packages
However when I type ./build.sh uqm I get the following errors.  Can anyone help?

  LINK     uqm-debug
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o: In function `moda_mmout_Init':
src/sc2code/libs/sound/decoders/modaud.c:109: undefined reference to `md_mode'
src/sc2code/libs/sound/decoders/modaud.c:109: undefined reference to `md_mode'
src/sc2code/libs/sound/decoders/modaud.c:110: undefined reference to `VC_Init'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o: In function `moda_mmout_Exit':
src/sc2code/libs/sound/decoders/modaud.c:116: undefined reference to `VC_Exit'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o: In function `moda_mmout_Update':
src/sc2code/libs/sound/decoders/modaud.c:126: undefined reference to `VC_WriteBytes'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o: In function `moda_InitModule':
src/sc2code/libs/sound/decoders/modaud.c:251: undefined reference to `MikMod_RegisterDriver'
src/sc2code/libs/sound/decoders/modaud.c:252: undefined reference to `MikMod_RegisterAllLoaders'
src/sc2code/libs/sound/decoders/modaud.c:256: undefined reference to `md_mode'
src/sc2code/libs/sound/decoders/modaud.c:257: undefined reference to `md_mixfreq'
src/sc2code/libs/sound/decoders/modaud.c:258: undefined reference to `md_reverb'
src/sc2code/libs/sound/decoders/modaud.c:262: undefined reference to `md_mode'
src/sc2code/libs/sound/decoders/modaud.c:263: undefined reference to `md_mixfreq'
src/sc2code/libs/sound/decoders/modaud.c:264: undefined reference to `md_reverb'
src/sc2code/libs/sound/decoders/modaud.c:268: undefined reference to `md_mode'
src/sc2code/libs/sound/decoders/modaud.c:269: undefined reference to `md_mixfreq'
src/sc2code/libs/sound/decoders/modaud.c:270: undefined reference to `md_reverb'
src/sc2code/libs/sound/decoders/modaud.c:273: undefined reference to `md_pansep'
src/sc2code/libs/sound/decoders/modaud.c:275: undefined reference to `MikMod_Init'
src/sc2code/libs/sound/decoders/modaud.c:277: undefined reference to `MikMod_errno'
src/sc2code/libs/sound/decoders/modaud.c:277: undefined reference to `MikMod_strerror'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o: In function `moda_TermModule':
src/sc2code/libs/sound/decoders/modaud.c:290: undefined reference to `MikMod_Exit'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o: In function `moda_Open':
src/sc2code/libs/sound/decoders/modaud.c:347: undefined reference to `Player_LoadGeneric'
src/sc2code/libs/sound/decoders/modaud.c:365: undefined reference to `md_mixfreq'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o: In function `moda_Close':
src/sc2code/libs/sound/decoders/modaud.c:380: undefined reference to `Player_Free'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o: In function `moda_Decode':
src/sc2code/libs/sound/decoders/modaud.c:391: undefined reference to `Player_Start'
src/sc2code/libs/sound/decoders/modaud.c:392: undefined reference to `Player_Active'
src/sc2code/libs/sound/decoders/modaud.c:396: undefined reference to `MikMod_Update'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o: In function `moda_Seek':
src/sc2code/libs/sound/decoders/modaud.c:406: undefined reference to `Player_Start'
src/sc2code/libs/sound/decoders/modaud.c:410: undefined reference to `Player_SetPosition'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x5c): undefined reference to `VC_SampleLoad'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x60): undefined reference to `VC_SampleUnload'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x64): undefined reference to `VC_SampleSpace'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x68): undefined reference to `VC_SampleLength'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x78): undefined reference to `VC_SetNumVoices'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x7c): undefined reference to `VC_PlayStart'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x80): undefined reference to `VC_PlayStop'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x8c): undefined reference to `VC_VoiceSetVolume'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x90): undefined reference to `VC_VoiceGetVolume'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x94): undefined reference to `VC_VoiceSetFrequency'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x98): undefined reference to `VC_VoiceGetFrequency'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0x9c): undefined reference to `VC_VoiceSetPanning'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0xa0): undefined reference to `VC_VoiceGetPanning'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0xa4): undefined reference to `VC_VoicePlay'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0xa8): undefined reference to `VC_VoiceStop'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0xac): undefined reference to `VC_VoiceStopped'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0xb0): undefined reference to `VC_VoiceGetPosition'
obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o:(.data+0xb4): undefined reference to `VC_VoiceRealVolume'
collect2: ld returned 1 exit status
make: *** [uqm-debug] Error 1
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Compiling on ubuntu
« Reply #1 on: January 24, 2007, 10:20:49 am »

Your MikMod library installation is broken (specifically, the library itself is missing or misplaced even though you have the headers). You probably need the libmikmod2 runtime package as well as the development package.

You can probably circumvent this by using the libmikmod included in UQM.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
crazybus
Zebranky food
*
Offline Offline

Posts: 3



View Profile
Re: Compiling on ubuntu
« Reply #2 on: January 25, 2007, 12:53:23 am »

How do I use the libmikmod included in UQM?
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Compiling on ubuntu
« Reply #3 on: January 25, 2007, 10:17:12 am »

How do I use the libmikmod included in UQM?
Remember the configuration prompt at the beginning of the build process? You can get back to it using:
Code:
./build.sh uqm config
Change the mikmod option there from external to internal and recompile.

You may need to remove the previously compiled version first; to do this use:
Code:
./build.sh uqm clean
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
crazybus
Zebranky food
*
Offline Offline

Posts: 3



View Profile
Re: Compiling on ubuntu
« Reply #4 on: January 27, 2007, 06:41:08 am »

Thanks.  It compiles properly now
Logged
FiddleMath
Zebranky food
*
Offline Offline

Posts: 1



View Profile
Re: Compiling on ubuntu
« Reply #5 on: January 28, 2008, 10:40:45 am »

For what it's worth, I experienced exactly this problem when compiling in Debian; exactly this solution worked.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!