Installation on Ubuntu 4.10
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
- szerencsefia
- Posts: 13
- Joined: Fri Mar 04, 2005 3:28 pm
Installation on Ubuntu 4.10
I have tried to install ZDoom on Ubuntu 4.10 by the install note. I got the next message and I don't know what is wrong. Could you help me?
---------
In file included from src/tarray.h:5,
from src/dobject.h:5,
from src/farchive.h:6,
from src/doomdef.h:29,
from src/am_map.cpp:26:
src/m_alloc.h:14:23: warning: no newline at end of file
In file included from src/am_map.cpp:27:
src/g_level.h:162:23: warning: no newline at end of file
In file included from src/actor.h:31,
from src/r_defs.h:36,
from src/r_data.h:27,
from src/r_local.h:33,
from src/p_local.h:27,
from src/am_map.cpp:31:
src/dthinker.h:121:24: warning: no newline at end of file
In file included from src/d_ticcmd.h:27,
from src/d_player.h:29,
from src/r_state.h:27,
from src/r_data.h:28,
from src/r_local.h:33,
from src/p_local.h:27,
from src/am_map.cpp:31:
src/d_protocol.h:157:26: warning: no newline at end of file
In file included from src/d_player.h:35,
from src/r_state.h:27,
from src/r_data.h:28,
from src/r_local.h:33,
from src/p_local.h:27,
from src/am_map.cpp:31:
src/d_items.h:83:23: warning: no newline at end of file
In file included from src/d_player.h:42,
from src/r_state.h:27,
from src/r_data.h:28,
from src/r_local.h:33,
from src/p_local.h:27,
from src/am_map.cpp:31:
src/d_netinf.h:39:28: warning: no newline at end of file
In file included from src/b_bot.h:11,
from src/d_player.h:45,
from src/r_state.h:27,
from src/r_data.h:28,
from src/r_local.h:33,
from src/p_local.h:27,
from src/am_map.cpp:31:
src/m_argv.h:64:22: warning: no newline at end of file
In file included from src/p_spec.h:28,
from src/p_local.h:430,
from src/am_map.cpp:31:
src/dsectoreffect.h:66:29: warning: no newline at end of file
In file included from src/am_map.cpp:32:
src/p_lnspec.h:313:24: warning: no newline at end of file
In file included from src/v_video.h:28,
from src/am_map.cpp:40:
src/m_bbox.h:66:22: warning: no newline at end of file
In file included from src/am_map.cpp:42:
src/v_text.h:47:22: warning: no newline at end of file
src/m_fixed.h: In function `void AM_activateNewScale()':
src/m_fixed.h:67: error: `asm' operand requires impossible reload
src/m_fixed.h:67: error: `asm' operand requires impossible reload
make: *** [src/linux/release/am_map.o] Error 1
Thu, E
---------
In file included from src/tarray.h:5,
from src/dobject.h:5,
from src/farchive.h:6,
from src/doomdef.h:29,
from src/am_map.cpp:26:
src/m_alloc.h:14:23: warning: no newline at end of file
In file included from src/am_map.cpp:27:
src/g_level.h:162:23: warning: no newline at end of file
In file included from src/actor.h:31,
from src/r_defs.h:36,
from src/r_data.h:27,
from src/r_local.h:33,
from src/p_local.h:27,
from src/am_map.cpp:31:
src/dthinker.h:121:24: warning: no newline at end of file
In file included from src/d_ticcmd.h:27,
from src/d_player.h:29,
from src/r_state.h:27,
from src/r_data.h:28,
from src/r_local.h:33,
from src/p_local.h:27,
from src/am_map.cpp:31:
src/d_protocol.h:157:26: warning: no newline at end of file
In file included from src/d_player.h:35,
from src/r_state.h:27,
from src/r_data.h:28,
from src/r_local.h:33,
from src/p_local.h:27,
from src/am_map.cpp:31:
src/d_items.h:83:23: warning: no newline at end of file
In file included from src/d_player.h:42,
from src/r_state.h:27,
from src/r_data.h:28,
from src/r_local.h:33,
from src/p_local.h:27,
from src/am_map.cpp:31:
src/d_netinf.h:39:28: warning: no newline at end of file
In file included from src/b_bot.h:11,
from src/d_player.h:45,
from src/r_state.h:27,
from src/r_data.h:28,
from src/r_local.h:33,
from src/p_local.h:27,
from src/am_map.cpp:31:
src/m_argv.h:64:22: warning: no newline at end of file
In file included from src/p_spec.h:28,
from src/p_local.h:430,
from src/am_map.cpp:31:
src/dsectoreffect.h:66:29: warning: no newline at end of file
In file included from src/am_map.cpp:32:
src/p_lnspec.h:313:24: warning: no newline at end of file
In file included from src/v_video.h:28,
from src/am_map.cpp:40:
src/m_bbox.h:66:22: warning: no newline at end of file
In file included from src/am_map.cpp:42:
src/v_text.h:47:22: warning: no newline at end of file
src/m_fixed.h: In function `void AM_activateNewScale()':
src/m_fixed.h:67: error: `asm' operand requires impossible reload
src/m_fixed.h:67: error: `asm' operand requires impossible reload
make: *** [src/linux/release/am_map.o] Error 1
Thu, E
- szerencsefia
- Posts: 13
- Joined: Fri Mar 04, 2005 3:28 pm
- Chris
- Posts: 3000
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
First, get the latest ZDoom sources (2.0.96) here: http://www.zdoom.org/files/lars/96src.rar
And the patch is here: http://forum.zdoom.org/viewtopic.php?t=5084
Extract the two archives into an empty directory, then apply the patch (patch -p0 < changes.diff). Assuming you have everything else needed, just run make.
And the patch is here: http://forum.zdoom.org/viewtopic.php?t=5084
Extract the two archives into an empty directory, then apply the patch (patch -p0 < changes.diff). Assuming you have everything else needed, just run make.
- szerencsefia
- Posts: 13
- Joined: Fri Mar 04, 2005 3:28 pm
Thank you so much, I'm gonna try later.Chris wrote:First, get the latest ZDoom sources (2.0.96) here: http://www.zdoom.org/files/lars/96src.rar
And the patch is here: http://forum.zdoom.org/viewtopic.php?t=5084
Extract the two archives into an empty directory, then apply the patch (patch -p0 < changes.diff). Assuming you have everything else needed, just run make.
E
- szerencsefia
- Posts: 13
- Joined: Fri Mar 04, 2005 3:28 pm
I did it and this is the result:Chris wrote: Extract the two archives into an empty directory, then apply the patch (patch -p0 < changes.diff). Assuming you have everything else needed, just run make.
In file included from src/oplsynth/opl_mus_player.cpp:9:
src/oplsynth/opl_mus_player.h:5:21: SDL/SDL.h: No file or directory
In file included from src/oplsynth/opl_mus_player.cpp:9:
src/oplsynth/opl_mus_player.h:35: error: syntax error before `*' token
^[OFsrc/oplsynth/opl_mus_player.cpp: In constructor `
OPLmusicBlock::OPLmusicBlock(FILE*, int, int, int)':
src/oplsynth/opl_mus_player.cpp:29: error: `ChipAccess' undeclared (first use
this function)
src/oplsynth/opl_mus_player.cpp:29: error: (Each undeclared identifier is
reported only once for each function it appears in.)
src/oplsynth/opl_mus_player.cpp:29: error: `SDL_CreateMutex' undeclared (first
use this function)
src/oplsynth/opl_mus_player.cpp: In destructor `OPLmusicBlock::~OPLmusicBlock()
':
src/oplsynth/opl_mus_player.cpp:78: error: `SDL_DestroyMutex' undeclared (first
use this function)
src/oplsynth/opl_mus_player.cpp: In member function `void
OPLmusicBlock::ResetChips()':
src/oplsynth/opl_mus_player.cpp:90: error: `SDL_mutexP' undeclared (first use
this function)
src/oplsynth/opl_mus_player.cpp:98: error: `SDL_mutexV' undeclared (first use
this function)
src/oplsynth/opl_mus_player.cpp: In member function `bool
OPLmusicBlock::ServiceStream(void*, int)':
src/oplsynth/opl_mus_player.cpp:134: error: `SDL_mutexP' undeclared (first use
this function)
src/oplsynth/opl_mus_player.cpp:191: error: `SDL_mutexV' undeclared (first use
this function)
make: *** [obj/opl_mus_player.o] Error 1
- szerencsefia
- Posts: 13
- Joined: Fri Mar 04, 2005 3:28 pm
- szerencsefia
- Posts: 13
- Joined: Fri Mar 04, 2005 3:28 pm
I have installed SDL-1.2.8 and later Zdoom, result:Chris wrote:Looks like SDL isn't installed. Can you confirm if it is?
---
/usr/src/fbo/zdoom $ make
g++ -DUSEASM=1 -MD -DSHARE_DIR="/usr/share/zdoom/" -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DM_TARGET_LINUX -Isrc -Isrc/sdl -Isrc/g_doom -Isrc/g_heretic -Isrc/g_hexen -Isrc/g_raven -Isrc/g_strife -Isrc/g_shared -Isrc/oplsynth -Isrc/sound -march=pentium -Wall -Wno-unused -O2 -fomit-frame-pointer -o obj/fmodsound.o -c src/sound/fmodsound.cpp
In file included from src/sound/fmodsound.cpp:46:
src/sound/fmodsound.h:5:18: fmod.h: No file or directory
In file included from src/sound/fmodsound.cpp:46:
src/sound/fmodsound.h:68: error: `FSOUND_SAMPLE' was not declared in this scope
src/sound/fmodsound.h:68: error: `sample' was not declared in this scope
src/sound/fmodsound.h:68: error: parse error before `*' token
src/sound/fmodsound.h:71: error: syntax error before `*' token
In file included from src/sound/fmodsound.cpp:53:
src/sound/sample_flac.h:1:18: fmod.h: No file or directory
src/sound/sample_flac.h:2:28: FLAC++/decoder.h: No file or directory
In file included from src/sound/fmodsound.cpp:53:
src/sound/sample_flac.h:6: error: `FLAC' is not a class or namespace
src/sound/sample_flac.h:6: error: `Decoder' is not a class or namespace
src/sound/sample_flac.h:7: error: `Stream' is not a class or namespace
src/sound/sample_flac.h:7: error: invalid base-class specification
src/sound/sample_flac.h:12: error: syntax error before `*' token
src/sound/sample_flac.h:18: error: ISO C++ forbids declaration of `
FLAC__StreamDecoderReadStatus' with no type
src/sound/sample_flac.h:18: error: invalid use of `::'
src/sound/sample_flac.h:18: error: `FLAC__StreamDecoderReadStatus' declared as
a `virtual' field
src/sound/sample_flac.h:18: error: parse error before `(' token
src/sound/sample_flac.h:19: error: ISO C++ forbids declaration of `
FLAC__StreamDecoderWriteStatus' with no type
src/sound/sample_flac.h:19: error: invalid use of `::'
src/sound/sample_flac.h:19: error: `FLAC__StreamDecoderWriteStatus' declared as
a `virtual' field
src/sound/sample_flac.h:19: error: parse error before `(' token
src/sound/sample_flac.h:20: error: parse error before `*' token
src/sound/sample_flac.h:21: error: `::FLAC__StreamDecoderErrorStatus'
undeclared (first use here)
src/sound/sample_flac.h:21: error: parse error before `)' token
src/sound/sample_flac.h:23: error: type specifier omitted for parameter `
FLAC__int32'
src/sound/sample_flac.h:23: error: parse error before `*' token
src/sound/sample_flac.h:7: warning: `class FLACSampleLoader' has virtual
functions but non-virtual destructor
src/sound/fmodsound.cpp: In function `char FModLog(char)':
src/sound/fmodsound.cpp:107: error: `FSOUND_GetError' undeclared (first use
this function)
src/sound/fmodsound.cpp:107: error: (Each undeclared identifier is reported
only once for each function it appears in.)
src/sound/fmodsound.cpp: At global scope:
src/sound/fmodsound.cpp:121: error: parse error before `*' token
src/sound/fmodsound.cpp:122: error: missing ';' before right brace
src/sound/fmodsound.cpp:125: error: ISO C++ forbids defining types within
return type
src/sound/fmodsound.cpp:125: error: semicolon missing after declaration of `
class FMODStreamCapsule'
src/sound/fmodsound.cpp: In function `int FMODStreamCapsule(void*, bool
(*)(SoundStream*, void*, int, void*))':
src/sound/fmodsound.cpp:125: error: only constructors take base initializers
src/sound/fmodsound.cpp:125: confused by earlier errors, bailing out
make: *** [obj/fmodsound.o] Error 1
---
So?
E
- szerencsefia
- Posts: 13
- Joined: Fri Mar 04, 2005 3:28 pm
Sorry for my stupidity but I thought I have installed FMOD & FLAC but it looks have not.Chris wrote:Since you're getting errors about FMOD and FLAC, I took the liberty of highlighting what you're probably missing.The post with the patch wrote:What you need:
- FMOD
- SDL
- FLAC(++)
- zlib
- Unpatched .96 ZDoom source
1. I have download FMOD but in the diretory I couldn't ./configure. How is that?
2. erno@PC:/usr/src/fbo/zdoom $ sudo apt-get install flac++
Reading packages ... Done
Build depedencies ... Done
flac is already the newest version.
How shall I continue?
E
- Chris
- Posts: 3000
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
For FMOD, it's not a source distribution. FMOD is closed source, so you just install the prebuilt libs.
As for FLAC, I'm not sure. Try to search your library directories for libFLAC++.so and libFLAC.so, and make sure they're in your library path (check /etc/ld.so.conf). Also don't forget to run ldconfig after installing new libs.
As for FLAC, I'm not sure. Try to search your library directories for libFLAC++.so and libFLAC.so, and make sure they're in your library path (check /etc/ld.so.conf). Also don't forget to run ldconfig after installing new libs.
- szerencsefia
- Posts: 13
- Joined: Fri Mar 04, 2005 3:28 pm
I have download it. Where should I put the unpacked folders? Is there some exatly place for it?Chris wrote:For FMOD, it's not a source distribution. FMOD is closed source, so you just install the prebuilt libs.
Result of search:Chris wrote:As for FLAC, I'm not sure. Try to search your library directories for libFLAC++.so and libFLAC.so, and make sure they're in your library path (check /etc/ld.so.conf). Also don't forget to run ldconfig after installing new libs.
libFLAC++.so.2 /usr/lib (broken)
libFLAC++.so.2.1.2 /usr/lib
---
libFLAC.so.4 /usr/lib (broken)
libFLAC.so.4.1.2 /usr/lib
Are these what we looking for? Either yes or no what is my next step?
Erno