Back to the Vavoom Forum Archives


Forum

[Fixed] [SVN 3096] (Linux) Cmake build failure using Allegro

Wed, 30 Jan 2008 20:07:29

scen

Current SVN sources fail to compile the vavoom binary, exacly during liniking process, if i choose to use Allegro: Steps to reproduce the problem:
$ cmake -DCMAKE_VERBOSE_MAKEFILE=TRUE .
-- ASM prefix:
-- Using Allegro
-- Using LINUX CD-ROM API
-- Found OpenGL
-- Found OpenAL
-- Found PNG: /usr/lib64/libpng.so
-- Found JPEG: /usr/lib64/libjpeg.so
-- Found OggVorbis: /usr/lib64/libogg.so /usr/lib64/libvorbis.so
-- Found LibMAD: /usr/lib64/libmad.so
-- Found MIKMOD: -L/usr/lib;-lmikmod
-- Found FLAC: /usr/lib64/libFLAC.so /usr/lib64/libFLAC++.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/davide/src/svn/vavoom
davide@gondor ~/src/svn/vavoom $ make
/usr/bin/cmake -H/home/davide/src/svn/vavoom -B/home/davide/src/svn/vavoom --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/davide/src/svn/vavoom/CMakeFiles 100
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/home/davide/src/svn/vavoom'
...
...
...
Linking CXX executable ../vavoom.i686
cd /home/davide/src/svn/vavoom/source && /usr/bin/cmake -P CMakeFiles/vavoom.dir/cmake_clean_target.cmake
cd /home/davide/src/svn/vavoom/source && /usr/bin/c++      -fPIC "CMakeFiles/vavoom.dir/am_map.o" "CMakeFiles/vavoom.dir/args.o" "CMakeFiles/vavoom.dir/bitstream.o" "CMakeFiles/vavoom.dir/chat.o" "CMakeFiles/vavoom.dir/cheats.o" "CMakeFiles/vavoom.dir/cl_demo.o" "CMakeFiles/vavoom.dir/cl_input.o" "CMakeFiles/vavoom.dir/cl_main.o" "CMakeFiles/vavoom.dir/cl_parse.o" "CMakeFiles/vavoom.dir/cmd.o" "CMakeFiles/vavoom.dir/console.o" "CMakeFiles/vavoom.dir/crc.o" "CMakeFiles/vavoom.dir/cvar.o" "CMakeFiles/vavoom.dir/d_aclip.o" "CMakeFiles/vavoom.dir/d_alias.o" "CMakeFiles/vavoom.dir/d_data.o" "CMakeFiles/vavoom.dir/d_draw.o" "CMakeFiles/vavoom.dir/d_edge.o" "CMakeFiles/vavoom.dir/d_main.o" "CMakeFiles/vavoom.dir/d_part.o" "CMakeFiles/vavoom.dir/d_polyse.o" "CMakeFiles/vavoom.dir/d_scache.o" "CMakeFiles/vavoom.dir/d_span.o" "CMakeFiles/vavoom.dir/d_sprite.o" "CMakeFiles/vavoom.dir/d_surf.o" "CMakeFiles/vavoom.dir/d_tex.o" "CMakeFiles/vavoom.dir/debug.o" "CMakeFiles/vavoom.dir/decorate.o" "CMakeFiles/vavoom.dir/dehacked.o" "CMakeFiles/vavoom.dir/files.o" "CMakeFiles/vavoom.dir/finale.o" "CMakeFiles/vavoom.dir/fs_dir.o" "CMakeFiles/vavoom.dir/fs_wad.o" "CMakeFiles/vavoom.dir/fs_zip.o" "CMakeFiles/vavoom.dir/host.o" "CMakeFiles/vavoom.dir/iline.o" "CMakeFiles/vavoom.dir/imission.o" "CMakeFiles/vavoom.dir/in_input.o" "CMakeFiles/vavoom.dir/infostr.o" "CMakeFiles/vavoom.dir/l_glbsp.o" "CMakeFiles/vavoom.dir/l_glvis.o" "CMakeFiles/vavoom.dir/language.o" "CMakeFiles/vavoom.dir/level.o" "CMakeFiles/vavoom.dir/lockdefs.o" "CMakeFiles/vavoom.dir/mapinfo.o" "CMakeFiles/vavoom.dir/maths.o" "CMakeFiles/vavoom.dir/menu.o" "CMakeFiles/vavoom.dir/misc.o" "CMakeFiles/vavoom.dir/name.o" "CMakeFiles/vavoom.dir/net_channel.o" "CMakeFiles/vavoom.dir/net_channel_control.o" "CMakeFiles/vavoom.dir/net_channel_level.o" "CMakeFiles/vavoom.dir/net_channel_player.o" "CMakeFiles/vavoom.dir/net_channel_thinker.o" "CMakeFiles/vavoom.dir/net_connection.o" "CMakeFiles/vavoom.dir/net_context.o" "CMakeFiles/vavoom.dir/net_dgrm.o" "CMakeFiles/vavoom.dir/net_loop.o" "CMakeFiles/vavoom.dir/net_main.o" "CMakeFiles/vavoom.dir/net_message.o" "CMakeFiles/vavoom.dir/p_acs.o" "CMakeFiles/vavoom.dir/p_clip.o" "CMakeFiles/vavoom.dir/p_entity.o" "CMakeFiles/vavoom.dir/p_entity_world.o" "CMakeFiles/vavoom.dir/p_levelinfo.o" "CMakeFiles/vavoom.dir/p_nodebuild.o" "CMakeFiles/vavoom.dir/p_player.o" "CMakeFiles/vavoom.dir/p_playerreplicationinfo.o" "CMakeFiles/vavoom.dir/p_polyobj.o" "CMakeFiles/vavoom.dir/p_setup.o" "CMakeFiles/vavoom.dir/p_switch.o" "CMakeFiles/vavoom.dir/p_terrain.o" "CMakeFiles/vavoom.dir/p_thinker.o" "CMakeFiles/vavoom.dir/p_trace.o" "CMakeFiles/vavoom.dir/p_world.o" "CMakeFiles/vavoom.dir/p_worldinfo.o" "CMakeFiles/vavoom.dir/pr_cmds.o" "CMakeFiles/vavoom.dir/pr_exec.o" "CMakeFiles/vavoom.dir/r_bsp.o" "CMakeFiles/vavoom.dir/r_data.o" "CMakeFiles/vavoom.dir/r_light.o" "CMakeFiles/vavoom.dir/r_main.o" "CMakeFiles/vavoom.dir/r_model.o" "CMakeFiles/vavoom.dir/r_sky.o" "CMakeFiles/vavoom.dir/r_surf.o" "CMakeFiles/vavoom.dir/r_tex.o" "CMakeFiles/vavoom.dir/r_tex_automap.o" "CMakeFiles/vavoom.dir/r_tex_base.o" "CMakeFiles/vavoom.dir/r_tex_camera.o" "CMakeFiles/vavoom.dir/r_tex_flat.o" "CMakeFiles/vavoom.dir/r_tex_imgz.o" "CMakeFiles/vavoom.dir/r_tex_jpeg.o" "CMakeFiles/vavoom.dir/r_tex_multipatch.o" "CMakeFiles/vavoom.dir/r_tex_patch.o" "CMakeFiles/vavoom.dir/r_tex_pcx.o" "CMakeFiles/vavoom.dir/r_tex_png.o" "CMakeFiles/vavoom.dir/r_tex_raw.o" "CMakeFiles/vavoom.dir/r_tex_tga.o" "CMakeFiles/vavoom.dir/r_tex_warp.o" "CMakeFiles/vavoom.dir/r_things.o" "CMakeFiles/vavoom.dir/s_data.o" "CMakeFiles/vavoom.dir/s_qmus2mid.o" "CMakeFiles/vavoom.dir/s_sound.o" "CMakeFiles/vavoom.dir/s_streamplayer.o" "CMakeFiles/vavoom.dir/s_tmidty.o" "CMakeFiles/vavoom.dir/s_wav.o" "CMakeFiles/vavoom.dir/sbar.o" "CMakeFiles/vavoom.dir/sc_man.o" "CMakeFiles/vavoom.dir/screen.o" "CMakeFiles/vavoom.dir/str.o" "CMakeFiles/vavoom.dir/stream.o" "CMakeFiles/vavoom.dir/sv_main.o" "CMakeFiles/vavoom.dir/sv_save.o" "CMakeFiles/vavoom.dir/sv_tick.o" "CMakeFiles/vavoom.dir/sv_user.o" "CMakeFiles/vavoom.dir/sv_world.o" "CMakeFiles/vavoom.dir/text.o" "CMakeFiles/vavoom.dir/ui_actor.o" "CMakeFiles/vavoom.dir/ui_font.o" "CMakeFiles/vavoom.dir/ui_root.o" "CMakeFiles/vavoom.dir/ui_widget.o" "CMakeFiles/vavoom.dir/vclass.o" "CMakeFiles/vavoom.dir/vobject.o" "CMakeFiles/vavoom.dir/wad.o" "CMakeFiles/vavoom.dir/xml.o" "CMakeFiles/vavoom.dir/zipstream.o" "CMakeFiles/vavoom.dir/zone.o" "CMakeFiles/vavoom.dir/d_alleg.o" "CMakeFiles/vavoom.dir/in_alleg.o" "CMakeFiles/vavoom.dir/net_udp.o" "CMakeFiles/vavoom.dir/s_alleg.o" "CMakeFiles/vavoom.dir/s_allegm.o" "CMakeFiles/vavoom.dir/sys_lin.o" "CMakeFiles/vavoom.dir/cd_linux.o" "CMakeFiles/vavoom.dir/gl_draw.o" "CMakeFiles/vavoom.dir/gl_main.o" "CMakeFiles/vavoom.dir/gl_poly.o" "CMakeFiles/vavoom.dir/gl_tex.o" "CMakeFiles/vavoom.dir/gl_agl.o" "CMakeFiles/vavoom.dir/s_al.o" "CMakeFiles/vavoom.dir/s_vorbis.o" "CMakeFiles/vavoom.dir/s_mp3.o" "CMakeFiles/vavoom.dir/s_mikmod.o" "CMakeFiles/vavoom.dir/s_flac.o"   -o ../vavoom.i686 -rdynamic -L/home/davide/src/svn/vavoom/utils/glbsp -L/home/davide/src/svn/vavoom/utils/glvis -L/home/davide/src/svn/vavoom/source/timidity -L/lib64 -lFLAC++ -lFLAC -L/usr/lib -lmikmod -lmad -lvorbis -logg -ljpeg -lpng -lopenal -lagl -lGLU -lGL -lsh: --libs: invalid option
c++: invalid: No such file or directory
c++: option: No such file or directory
make[2]: *** [source/../vavoom.i686] Error 1
make[2]: Leaving directory `/home/davide/src/svn/vavoom'
make[1]: *** [source/CMakeFiles/vavoom.dir/all] Error 2
make[1]: Leaving directory `/home/davide/src/svn/vavoom'
make: *** [all] Error 2
If i choose SDL, all is ok. I've installed: [list:2roh0c8v] [*:2roh0c8v]Allegro 4.22[/*:m:2roh0c8v] [*:2roh0c8v]AllegroGL 0.4.3[/*:m:2roh0c8v][/list:u:2roh0c8v]
Wed, 30 Jan 2008 23:14:33

Janis Legzdinsh

Fixed.

Back to the Vavoom Forum Archives