residualvm / residualvm

ResidualVM main repository
GNU General Public License v2.0
396 stars 110 forks source link

make error compiling residual #97

Closed Ezekiel000 closed 13 years ago

Ezekiel000 commented 13 years ago

I run Ubuntu 11.04 amd64 and since yesterday residual won't compile. Here is the terminal output: Running Residual configure... Looking for C++ compiler... g++ Checking for compiler version... 4.5.2, ok Checking for whether -Wglobal-constructors work... no Checking endianness... little Type with 1 byte... char Type with 2 bytes... short Type with 4 bytes... int Type with 8 bytes... long Target 64 bits... yes Compiling for x86... yes Checking hosttype... linux-gnu Alignment required... no Checking whether to have a verbose build... no Checking whether building plugins was requested... no Checking for Ogg Vorbis... yes Checking for Tremor... no (Ogg Vorbis/Tremor support is mutually exclusive) Checking for FLAC >= 1.0.1... no Checking for MAD... no Checking for ALSA >= 0.9... yes Checking for SEQ MIDI... yes Checking for TiMidity... yes Checking for zlib... yes Checking for libmpeg2 >= 0.3.2... no Checking for libfluidsynth... no Checking for readline... skipping (text console disabled) Checking for OpenGL... yes Checking for nasm... not found Building translation support... no Backend... sdl Looking for sdl-config... /usr/bin/sdl-config

Engines (builtin): Grim

Creating config.h Creating config.mk

C++      backends/platform/sdl/hardwarekeys.o
C++      backends/platform/sdl/main.o
C++      backends/platform/sdl/sdl.o
C++      backends/platform/sdl/posix/posix-main.o
C++      backends/platform/sdl/posix/posix.o
C++      base/main.o
C++      base/commandLine.o

base/commandLine.cpp: In function ‘Common::String Base::parseCommandLine(Common::StringMap&, int, const char* const)’: base/commandLine.cpp:315:4: warning: ignoring return value of ‘long int strtol(const char, char, int)’, declared with attribute warn_unused_result base/commandLine.cpp:324:4: warning: ignoring return value of ‘long int strtol(const char, char, int)’, declared with attribute warn_unusedresult base/commandLine.cpp:341:4: warning: ignoring return value of ‘long int strtol(const char, char__, int)’, declared with attribute warn_unusedresult base/commandLine.cpp:344:4: warning: ignoring return value of ‘long int strtol(const char, char, int)’, declared with attribute warn_unused_result base/commandLine.cpp:347:4: warning: ignoring return value of ‘long int strtol(const char, char, int)’, declared with attribute warn_unusedresult base/commandLine.cpp:350:4: warning: ignoring return value of ‘long int strtol(const char, char__, int)’, declared with attribute warn_unusedresult base/commandLine.cpp:439:4: warning: ignoring return value of ‘long int strtol(const char, char*_, int)’, declared with attribute warn_unused_result C++ base/plugins.o C++ engines/grim/imuse/imuse.o C++ engines/grim/imuse/imuse_mcmp_mgr.o C++ engines/grim/imuse/imuse_music.o C++ engines/grim/imuse/imuse_script.o C++ engines/grim/imuse/imuse_sndmgr.o C++ engines/grim/imuse/imuse_tables.o C++ engines/grim/imuse/imusetrack.o C++ engines/grim/lua/lapi.o C++ engines/grim/lua/lauxlib.o C++ engines/grim/lua/lbuffer.o C++ engines/grim/lua/lbuiltin.o C++ engines/grim/lua/ldo.o C++ engines/grim/lua/lfunc.o C++ engines/grim/lua/lgc.o C++ engines/grim/lua/liolib.o C++ engines/grim/lua/llex.o C++ engines/grim/lua/lmathlib.o C++ engines/grim/lua/lmem.o C++ engines/grim/lua/lobject.o C++ engines/grim/lua/lrestore.o engines/grim/lua/lrestore.cpp: In function ‘void Grim::restoreObjectValue(Grim::TObject, int32 ()(), uint32 ()())’: engines/grim/lua/lrestore.cpp:39:17: warning: dereferencing type-punned pointer will break strict-aliasing rules C++ engines/grim/lua/lsave.o engines/grim/lua/lsave.cpp: In function ‘void Grim::saveObjectValue(Grim::TObject, void ()(int32), void (_)(uint32))’: engines/grim/lua/lsave.cpp:91:20: warning: dereferencing type-punned pointer will break strict-aliasing rules C++ engines/grim/lua/lstate.o C++ engines/grim/lua/lstring.o C++ engines/grim/lua/lstrlib.o C++ engines/grim/lua/lstx.o C++ engines/grim/lua/ltable.o C++ engines/grim/lua/ltask.o C++ engines/grim/lua/ltm.o C++ engines/grim/lua/lundump.o engines/grim/lua/lundump.cpp: In function ‘float Grim::convfloat(const byte)’: engines/grim/lua/lundump.cpp:22:31: warning: dereferencing type-punned pointer will break strict-aliasing rules C++ engines/grim/lua/lvm.o C++ engines/grim/lua/lzio.o C++ engines/grim/smush/blocky8.o C++ engines/grim/smush/blocky16.o C++ engines/grim/smush/smush.o C++ engines/grim/smush/vima.o C++ engines/grim/actor.o C++ engines/grim/bitmap.o C++ engines/grim/costume.o engines/grim/costume.cpp: In member function ‘void Grim::Costume::loadEMI(Common::MemoryReadStream&, Grim::Costume_)’: engines/grim/costume.cpp:893:8: warning: unused variable ‘trackID’ engines/grim/costume.cpp:915:29: warning: statement has no effect C++ engines/grim/detection.o C++ engines/grim/font.o C++ engines/grim/gfx_base.o C++ engines/grim/gfx_opengl.o C++ engines/grim/gfx_tinygl.o C++ engines/grim/grim.o C++ engines/grim/keyframe.o C++ engines/grim/lab.o C++ engines/grim/lipsync.o C++ engines/grim/localize.o C++ engines/grim/lua_v1.o C++ engines/grim/lua_v1_actor.o C++ engines/grim/lua_v1_graphics.o C++ engines/grim/lua_v1_sound.o C++ engines/grim/lua_v1_text.o C++ engines/grim/lua_v2.o engines/grim/luav2.cpp:190:13: warning: ‘void Grim::stubWarning(const char)’ defined but not used C++ engines/grim/material.o C++ engines/grim/model.o C++ engines/grim/objectstate.o C++ engines/grim/primitives.o C++ engines/grim/registry.o C++ engines/grim/resource.o C++ engines/grim/savegame.o C++ engines/grim/scene.o C++ engines/grim/textobject.o C++ engines/grim/textsplit.o C++ engines/grim/object.o C++ engines/grim/walkplane.o AR engines/grim/libgrim.a RANLIB engines/grim/libgrim.a C++ gui/about.o C++ gui/chooser.o C++ gui/console.o C++ gui/debugger.o C++ gui/dialog.o C++ gui/error.o C++ gui/gui-manager.o C++ gui/launcher.o C++ gui/massadd.o C++ gui/message.o C++ gui/object.o C++ gui/options.o C++ gui/saveload.o C++ gui/themebrowser.o C++ gui/ThemeEngine.o C++ gui/ThemeEval.o C++ gui/ThemeLayout.o C++ gui/ThemeParser.o C++ gui/Tooltip.o C++ gui/widget.o C++ gui/widgets/editable.o C++ gui/widgets/edittext.o C++ gui/widgets/list.o C++ gui/widgets/popup.o C++ gui/widgets/scrollbar.o C++ gui/widgets/tab.o C++ gui/browser.o AR gui/libgui.a RANLIB gui/libgui.a C++ backends/modular-backend.o C++ backends/audiocd/default/default-audiocd.o C++ backends/events/default/default-events.o C++ backends/fs/abstract-fs.o C++ backends/fs/stdiostream.o C++ backends/keymapper/action.o C++ backends/keymapper/keymap.o C++ backends/keymapper/keymapper.o C++ backends/keymapper/remap-dialog.o C++ backends/log/log.o C++ backends/midi/alsa.o C++ backends/midi/dmedia.o C++ backends/midi/seq.o C++ backends/midi/stmidi.o C++ backends/midi/timidity.o C++ backends/saves/savefile.o C++ backends/saves/default/default-saves.o C++ backends/timer/default/default-timer.o C++ backends/vkeybd/image-map.o C++ backends/vkeybd/polygon.o C++ backends/vkeybd/virtual-keyboard.o C++ backends/vkeybd/virtual-keyboard-gui.o C++ backends/vkeybd/virtual-keyboard-parser.o C++ backends/audiocd/sdl/sdl-audiocd.o C++ backends/events/sdl/sdl-events.o C++ backends/graphics/sdl/sdl-graphics.o C++ backends/mixer/doublebuffersdl/doublebuffersdl-mixer.o C++ backends/mixer/sdl/sdl-mixer.o C++ backends/mutex/sdl/sdl-mutex.o C++ backends/plugins/sdl/sdl-provider.o C++ backends/timer/sdl/sdl-timer.o C++ backends/fs/posix/posix-fs.o C++ backends/fs/posix/posix-fs-factory.o C++ backends/plugins/posix/posix-provider.o C++ backends/saves/posix/posix-saves.o AR backends/libbackends.a RANLIB backends/libbackends.a C++ engines/advancedDetector.o C++ engines/dialogs.o C++ engines/engine.o C++ engines/game.o C++ engines/savestate.o AR engines/libengines.a RANLIB engines/libengines.a C++ video/mpeg_player.o C++ video/video_decoder.o AR video/libvideo.a RANLIB video/libvideo.a C++ graphics/cursorman.o C++ graphics/font.o C++ graphics/fontman.o C++ graphics/fonts/consolefont.o C++ graphics/fonts/newfont_big.o C++ graphics/fonts/newfont.o C++ graphics/fonts/scummfont.o C++ graphics/imagedec.o C++ graphics/primitives.o C++ graphics/surface.o C++ graphics/thumbnail.o C++ graphics/VectorRenderer.o C++ graphics/VectorRendererSpec.o C++ graphics/matrix3.o C++ graphics/matrix4.o C++ graphics/line3d.o C++ graphics/tinygl/api.o C++ graphics/tinygl/arrays.o C++ graphics/tinygl/clear.o C++ graphics/tinygl/clip.o C++ graphics/tinygl/get.o C++ graphics/tinygl/image_util.o C++ graphics/tinygl/init.o C++ graphics/tinygl/light.o C++ graphics/tinygl/list.o C++ graphics/tinygl/matrix.o C++ graphics/tinygl/memory.o C++ graphics/tinygl/misc.o C++ graphics/tinygl/select.o C++ graphics/tinygl/specbuf.o C++ graphics/tinygl/texture.o C++ graphics/tinygl/vertex.o C++ graphics/tinygl/zbuffer.o C++ graphics/tinygl/zline.o C++ graphics/tinygl/zmath.o C++ graphics/tinygl/ztriangle.o C++ graphics/tinygl/ztriangle_shadow.o AR graphics/libgraphics.a RANLIB graphics/libgraphics.a C++ audio/audiostream.o C++ audio/fmopl.o C++ audio/mididrv.o C++ audio/midiparser.o C++ audio/mixer.o C++ audio/mpu401.o C++ audio/musicplugin.o C++ audio/null.o C++ audio/timestamp.o C++ audio/decoders/flac.o C++ audio/decoders/mp3.o C++ audio/decoders/raw.o C++ audio/decoders/vorbis.o C++ audio/softsynth/adlib.o C++ audio/softsynth/cms.o C++ audio/softsynth/opl/dbopl.o C++ audio/softsynth/opl/dosbox.o C++ audio/softsynth/opl/mame.o C++ audio/softsynth/appleiigs.o C++ audio/softsynth/ym2612.o C++ audio/softsynth/fluidsynth.o C++ audio/softsynth/mt32.o C++ audio/softsynth/pcspk.o C++ audio/softsynth/sid.o C++ audio/softsynth/wave6581.o C++ audio/rate.o AR audio/libaudio.a RANLIB audio/libaudio.a C++ common/archive.o C++ common/config-file.o C++ common/config-manager.o C++ common/debug.o C++ common/error.o C++ common/EventDispatcher.o C++ common/EventRecorder.o C++ common/file.o C++ common/fs.o C++ common/hashmap.o C++ common/macresman.o C++ common/memorypool.o C++ common/md5.o C++ common/mutex.o C++ common/random.o C++ common/rational.o C++ common/str.o C++ common/stream.o C++ common/system.o C++ common/textconsole.o C++ common/tokenizer.o C++ common/translation.o C++ common/unzip.o C++ common/util.o C++ common/xmlparser.o C++ common/zlib.o AR common/libcommon.a RANLIB common/libcommon.a C++ base/version.o AR base/libbase.a RANLIB base/libbase.a LINK residual engines/grim/libgrim.a(lua_v1_actor.o): In function Grim::L1_SetActorVisibility()': lua_v1_actor.cpp:(.text+0x78e): undefined reference toGrim::getbool(int)' engines/grim/libgrim.a(lua_v1_actor.o): In function Grim::L1_SetActorRot()': lua_v1_actor.cpp:(.text+0xa93): undefined reference toGrim::getbool(int)' engines/grim/libgrim.a(lua_v1_actor.o): In function Grim::L1_PlayActorChore()': lua_v1_actor.cpp:(.text+0x1de5): undefined reference toGrim::pushbool(bool)' engines/grim/libgrim.a(lua_v1_actor.o): In function Grim::L1_CompleteActorChore()': lua_v1_actor.cpp:(.text+0x1eca): undefined reference toGrim::pushbool(bool)' engines/grim/libgrim.a(lua_v1_actor.o): In function Grim::L1_PlayActorChoreLooping()': lua_v1_actor.cpp:(.text+0x1fa5): undefined reference toGrim::pushbool(bool)' engines/grim/libgrim.a(lua_v1_actor.o): In function Grim::L1_SetActorChoreLooping()': lua_v1_actor.cpp:(.text+0x208a): undefined reference toGrim::getbool(int)' engines/grim/libgrim.a(lua_v1_actor.o): In function Grim::L1_IsActorChoring()': lua_v1_actor.cpp:(.text+0x2408): undefined reference toGrim::getbool(int)' lua_v1_actor.cpp:(.text+0x2444): undefined reference to Grim::pushbool(bool)' lua_v1_actor.cpp:(.text+0x248f): undefined reference toGrim::pushbool(bool)' engines/grim/libgrim.a(lua_v1_actor.o): In function Grim::L1_TurnActorTo()': lua_v1_actor.cpp:(.text+0x294c): undefined reference toGrim::pushbool(bool)' engines/grim/libgrim.a(lua_v1_actor.o): In function Grim::L1_PointActorAt()': lua_v1_actor.cpp:(.text+0x2b5f): undefined reference toGrim::pushbool(bool)' engines/grim/libgrim.a(lua_v1_actor.o): In function Grim::L1_IsActorTurning()': lua_v1_actor.cpp:(.text+0xba2): undefined reference toGrim::pushbool(bool)' engines/grim/libgrim.a(lua_v1_actor.o):lua_v1_actor.cpp:(.text+0x15d2): more undefined references to Grim::pushbool(bool)' follow engines/grim/libgrim.a(lua_v1_graphics.o): In functionGrim::L1_StartFullscreenMovie()': lua_v1_graphics.cpp:(.text+0x1cc): undefined reference to Grim::getbool(int)' engines/grim/libgrim.a(lua_v1_graphics.o): In functionGrim::L1_StartMovie()': lua_v1_graphics.cpp:(.text+0x26e): undefined reference to Grim::getbool(int)' engines/grim/libgrim.a(lua_v1_graphics.o): In functionGrim::L1_StartFullscreenMovie()': lua_v1_graphics.cpp:(.text+0x233): undefined reference to Grim::pushbool(bool)' engines/grim/libgrim.a(lua_v1_graphics.o): In functionGrim::L1_StartMovie()': lua_v1_graphics.cpp:(.text+0x30f): undefined reference to Grim::pushbool(bool)' engines/grim/libgrim.a(lua_v1_graphics.o): In functionGrim::L1_IsFullscreenMoviePlaying()': lua_v1_graphics.cpp:(.text+0x3a7): undefined reference to Grim::pushbool(bool)' engines/grim/libgrim.a(lua_v1_graphics.o): In functionGrim::L1_IsMoviePlaying()': lua_v1_graphics.cpp:(.text+0x3e0): undefined reference to Grim::pushbool(bool)' lua_v1_graphics.cpp:(.text+0x3fe): undefined reference toGrim::pushbool(bool)' engines/grim/libgrim.a(lua_v1_text.o):lua_v1_text.cpp:(.text+0x1acd): more undefined references to `Grim::pushbool(bool)' follow collect2: ld returned 1 exit status make: *\ [residual] Error 1

giucam commented 13 years ago

what platform?

Ezekiel000 commented 13 years ago

Platform: AMD64 Quad Core Phenom OS: Ubuntu 11.04 amd64 Linux

aquadran commented 13 years ago

fixed, should be compilable now