Topic: Problem with compiling OpenSonic/OpenSurge on Ubuntu Oneiric

Hi! I wanted to compile Open Sonic on the newest Ubuntu Oneiric release. Unfortunately, I got the error with the following output:

szymon@szymon-VirtualBox:~$ cd Pobrane/opensnc-src-0.1.4
szymon@szymon-VirtualBox:~/Pobrane/opensnc-src-0.1.4$ ./configure
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
Open Sonic version 0.1.4
Using CFLAGS=' '

WARNING: your Allegro version is 4.4.2. The recommended version is 4.4.1.
         Open Sonic may not compile properly!.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/szymon/Pobrane/opensnc-src-0.1.4
szymon@szymon-VirtualBox:~/Pobrane/opensnc-src-0.1.4$ make
Scanning dependencies of target opensonic
[  0%] Building C object CMakeFiles/opensonic.dir/src/core/2xsai/2xsai.c.o
[  1%] Building C object CMakeFiles/opensonic.dir/src/core/nanoparser/nanoparser.c.o
[  2%] Building C object CMakeFiles/opensonic.dir/src/core/audio.c.o
[  3%] Building C object CMakeFiles/opensonic.dir/src/core/commandline.c.o
[  4%] Building C object CMakeFiles/opensonic.dir/src/core/engine.c.o
[  5%] Building C object CMakeFiles/opensonic.dir/src/core/image.c.o
[  6%] Building C object CMakeFiles/opensonic.dir/src/core/input.c.o
[  7%] Building C object CMakeFiles/opensonic.dir/src/core/lang.c.o
[  8%] Building C object CMakeFiles/opensonic.dir/src/core/logfile.c.o
[  9%] Building C object CMakeFiles/opensonic.dir/src/core/osspec.c.o
[  9%] Building C object CMakeFiles/opensonic.dir/src/core/preferences.c.o
[ 10%] Building C object CMakeFiles/opensonic.dir/src/core/quest.c.o
[ 11%] Building C object CMakeFiles/opensonic.dir/src/core/resourcemanager.c.o
[ 12%] Building C object CMakeFiles/opensonic.dir/src/core/scene.c.o
[ 13%] Building C object CMakeFiles/opensonic.dir/src/core/screenshot.c.o
[ 14%] Building C object CMakeFiles/opensonic.dir/src/core/soundfactory.c.o
[ 15%] Building C object CMakeFiles/opensonic.dir/src/core/sprite.c.o
[ 16%] Building C object CMakeFiles/opensonic.dir/src/scenes/stageselect.c.o
[ 17%] Building C object CMakeFiles/opensonic.dir/src/core/storyboard.c.o
[ 18%] Building C object CMakeFiles/opensonic.dir/src/core/stringutil.c.o
[ 18%] Building C object CMakeFiles/opensonic.dir/src/core/timer.c.o
[ 19%] Building C object CMakeFiles/opensonic.dir/src/core/util.c.o
[ 20%] Building C object CMakeFiles/opensonic.dir/src/core/v2d.c.o
[ 21%] Building C object CMakeFiles/opensonic.dir/src/core/video.c.o
[ 22%] Building C object CMakeFiles/opensonic.dir/src/scenes/util/editorgrp.c.o
[ 23%] Building C object CMakeFiles/opensonic.dir/src/scenes/util/grouptree.c.o
[ 24%] Building C object CMakeFiles/opensonic.dir/src/scenes/confirmbox.c.o
[ 25%] Building C object CMakeFiles/opensonic.dir/src/scenes/credits.c.o
[ 26%] Building C object CMakeFiles/opensonic.dir/src/scenes/endofdemo.c.o
[ 27%] Building C object CMakeFiles/opensonic.dir/src/scenes/gameover.c.o
[ 27%] Building C object CMakeFiles/opensonic.dir/src/scenes/intro.c.o
[ 28%] Building C object CMakeFiles/opensonic.dir/src/scenes/langselect.c.o
[ 29%] Building C object CMakeFiles/opensonic.dir/src/scenes/level.c.o
[ 30%] Building C object CMakeFiles/opensonic.dir/src/scenes/menu.c.o
[ 31%] Building C object CMakeFiles/opensonic.dir/src/scenes/options.c.o
[ 32%] Building C object CMakeFiles/opensonic.dir/src/scenes/pause.c.o
[ 33%] Building C object CMakeFiles/opensonic.dir/src/scenes/quest.c.o
[ 34%] Building C object CMakeFiles/opensonic.dir/src/scenes/questover.c.o
[ 35%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/base/objectbasicmachine.c.o
[ 36%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/base/objectdecorator.c.o
[ 36%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/add_rings.c.o
[ 37%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/add_to_score.c.o
[ 38%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/attach_to_player.c.o
[ 39%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/audio.c.o
[ 40%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/bounce_player.c.o
[ 41%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/bullet_trajectory.c.o
[ 42%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/enemy.c.o
[ 43%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/change_closest_object_state.c.o
[ 44%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/children.c.o
[ 45%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/clear_level.c.o
[ 45%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/create_item.c.o
[ 46%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/destroy.c.o
[ 47%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/elliptical_trajectory.c.o
[ 48%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/gravity.c.o
[ 49%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/jump.c.o
[ 50%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/lock_camera.c.o
[ 51%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/look.c.o
[ 52%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/mosquito_movement.c.o
[ 53%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/move_player.c.o
[ 54%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/on_event.c.o
[ 54%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/hit_player.c.o
[ 55%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/player_movement.c.o
[ 56%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/player_action.c.o
[ 57%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/set_alpha.c.o
[ 58%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/set_animation.c.o
[ 59%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/set_obstacle.c.o
[ 60%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/set_player_speed.c.o
[ 61%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/set_player_animation.c.o
[ 62%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/set_player_position.c.o
[ 63%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/dialog_box.c.o
[ 63%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/walk.c.o
[ 64%] Building C object CMakeFiles/opensonic.dir/src/entities/object_decorators/observe_player.c.o
[ 65%] Building C object CMakeFiles/opensonic.dir/src/entities/items/util/itemutil.c.o
[ 66%] Building C object CMakeFiles/opensonic.dir/src/entities/items/animal.c.o
[ 67%] Building C object CMakeFiles/opensonic.dir/src/entities/items/animalprison.c.o
[ 68%] Building C object CMakeFiles/opensonic.dir/src/entities/items/bigring.c.o
[ 69%] Building C object CMakeFiles/opensonic.dir/src/entities/items/bluering.c.o
[ 70%] Building C object CMakeFiles/opensonic.dir/src/entities/items/bumper.c.o
[ 71%] Building C object CMakeFiles/opensonic.dir/src/entities/items/checkpointorb.c.o
[ 72%] Building C object CMakeFiles/opensonic.dir/src/entities/items/crushedbox.c.o
[ 72%] Building C object CMakeFiles/opensonic.dir/src/entities/items/danger.c.o
[ 73%] Building C object CMakeFiles/opensonic.dir/src/entities/items/dangpower.c.o
[ 74%] Building C object CMakeFiles/opensonic.dir/src/entities/items/dnadoor.c.o
[ 75%] Building C object CMakeFiles/opensonic.dir/src/entities/items/door.c.o
[ 76%] Building C object CMakeFiles/opensonic.dir/src/entities/items/endsign.c.o
[ 77%] Building C object CMakeFiles/opensonic.dir/src/entities/items/explosion.c.o
[ 78%] Building C object CMakeFiles/opensonic.dir/src/entities/items/falglasses.c.o
[ 79%] Building C object CMakeFiles/opensonic.dir/src/entities/items/fireball.c.o
[ 80%] Building C object CMakeFiles/opensonic.dir/src/entities/items/flyingtext.c.o
[ 81%] Building C object CMakeFiles/opensonic.dir/src/entities/items/goalsign.c.o
[ 81%] Building C object CMakeFiles/opensonic.dir/src/entities/items/icon.c.o
[ 82%] Building C object CMakeFiles/opensonic.dir/src/entities/items/itembox.c.o
[ 83%] Building C object CMakeFiles/opensonic.dir/src/entities/items/loop.c.o
[ 84%] Building C object CMakeFiles/opensonic.dir/src/entities/items/ring.c.o
[ 85%] Building C object CMakeFiles/opensonic.dir/src/entities/items/spikes.c.o
[ 86%] Building C object CMakeFiles/opensonic.dir/src/entities/items/spring.c.o
[ 87%] Building C object CMakeFiles/opensonic.dir/src/entities/items/switch.c.o
[ 88%] Building C object CMakeFiles/opensonic.dir/src/entities/items/teleporter.c.o
[ 89%] Building C object CMakeFiles/opensonic.dir/src/entities/actor.c.o
[ 90%] Building C object CMakeFiles/opensonic.dir/src/entities/background.c.o
[ 90%] Building C object CMakeFiles/opensonic.dir/src/entities/boss.c.o
[ 91%] Building C object CMakeFiles/opensonic.dir/src/entities/brick.c.o
[ 92%] Building C object CMakeFiles/opensonic.dir/src/entities/camera.c.o
[ 93%] Building C object CMakeFiles/opensonic.dir/src/entities/enemy.c.o
[ 94%] Building C object CMakeFiles/opensonic.dir/src/entities/object_compiler.c.o
[ 95%] Building C object CMakeFiles/opensonic.dir/src/entities/object_vm.c.o
[ 96%] Building C object CMakeFiles/opensonic.dir/src/entities/font.c.o
[ 97%] Building C object CMakeFiles/opensonic.dir/src/entities/item.c.o
[ 98%] Building C object CMakeFiles/opensonic.dir/src/entities/player.c.o
[ 99%] Building C object CMakeFiles/opensonic.dir/src/main.c.o
[100%] Building C object CMakeFiles/opensonic.dir/src/misc/iconlin.c.o
Linking C executable opensonic
CMakeFiles/opensonic.dir/src/misc/iconlin.c.o: In function `_set_allegro_icon':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/misc/iconlin.c:416: undefined reference to `allegro_icon'
CMakeFiles/opensonic.dir/src/core/2xsai/2xsai.c.o: In function `Init_2xSaI':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:61: undefined reference to `makecol'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:63: undefined reference to `makecol'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:65: undefined reference to `makecol'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:68: undefined reference to `makecol_depth'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:68: undefined reference to `makecol_depth'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:68: undefined reference to `makecol_depth'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:70: undefined reference to `makecol_depth'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:70: undefined reference to `makecol_depth'
CMakeFiles/opensonic.dir/src/core/2xsai/2xsai.c.o:/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:70: more undefined references to `makecol_depth' follow
CMakeFiles/opensonic.dir/src/core/2xsai/2xsai.c.o: In function `Super2xSaI':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:231: undefined reference to `stretch_blit'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:237: undefined reference to `create_sub_bitmap'
CMakeFiles/opensonic.dir/src/core/2xsai/2xsai.c.o: In function `SuperEagle':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:485: undefined reference to `stretch_blit'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:491: undefined reference to `create_sub_bitmap'
CMakeFiles/opensonic.dir/src/core/2xsai/2xsai.c.o: In function `Super2xSaI':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:242: undefined reference to `destroy_bitmap'
CMakeFiles/opensonic.dir/src/core/2xsai/2xsai.c.o: In function `SuperEagle':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/2xsai/2xsai.c:496: undefined reference to `destroy_bitmap'
CMakeFiles/opensonic.dir/src/core/audio.c.o: In function `music_pause':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/audio.c:178: undefined reference to `voice_stop'
CMakeFiles/opensonic.dir/src/core/audio.c.o: In function `music_resume':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/audio.c:192: undefined reference to `voice_start'
CMakeFiles/opensonic.dir/src/core/audio.c.o: In function `music_set_volume':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/audio.c:208: undefined reference to `voice_set_volume'
CMakeFiles/opensonic.dir/src/core/audio.c.o: In function `sound_load':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/audio.c:263: undefined reference to `load_sample'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/audio.c:264: undefined reference to `allegro_error'
CMakeFiles/opensonic.dir/src/core/audio.c.o: In function `sound_destroy':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/audio.c:310: undefined reference to `destroy_sample'
CMakeFiles/opensonic.dir/src/core/audio.c.o: In function `sound_play_ex':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/audio.c:343: undefined reference to `play_sample'
CMakeFiles/opensonic.dir/src/core/audio.c.o: In function `sound_is_playing':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/audio.c:368: undefined reference to `voice_check'
CMakeFiles/opensonic.dir/src/core/audio.c.o: In function `setup_voices':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/audio.c:440: undefined reference to `reserve_voices'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/audio.c:441: undefined reference to `install_sound'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/audio.c:449: undefined reference to `allegro_error'
CMakeFiles/opensonic.dir/src/core/audio.c.o: In function `sound_stop':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/audio.c:357: undefined reference to `stop_sample'
CMakeFiles/opensonic.dir/src/core/commandline.c.o: In function `desktop_color_depth':
/usr/include/allegro/inline/system.inl:38: undefined reference to `system_driver'
/usr/include/allegro/inline/system.inl:38: undefined reference to `system_driver'
CMakeFiles/opensonic.dir/src/core/engine.c.o: In function `init_basic_stuff':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/engine.c:158: undefined reference to `_install_allegro_version_check'
CMakeFiles/opensonic.dir/src/core/engine.c.o: In function `release_basic_stuff':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/engine.c:271: undefined reference to `allegro_exit'
CMakeFiles/opensonic.dir/src/core/image.c.o: In function `image_save':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:148: undefined reference to `save_bitmap'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:123: undefined reference to `get_palette'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:136: undefined reference to `create_bitmap'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:140: undefined reference to `getb'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:140: undefined reference to `getg'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:140: undefined reference to `getr'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:140: undefined reference to `makeacol'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:143: undefined reference to `save_bitmap'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:144: undefined reference to `destroy_bitmap'
CMakeFiles/opensonic.dir/src/core/image.c.o: In function `image_create':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:163: undefined reference to `create_bitmap'
CMakeFiles/opensonic.dir/src/core/image.c.o: In function `image_rgb':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:248: undefined reference to `makecol'
CMakeFiles/opensonic.dir/src/core/image.c.o: In function `image_destroy':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:184: undefined reference to `destroy_bitmap'
CMakeFiles/opensonic.dir/src/core/image.c.o: In function `image_color2rgb':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:258: undefined reference to `getr'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:259: undefined reference to `getg'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:260: undefined reference to `getb'
CMakeFiles/opensonic.dir/src/core/image.c.o: In function `image_load':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:59: undefined reference to `load_bitmap'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:61: undefined reference to `allegro_error'
CMakeFiles/opensonic.dir/src/core/image.c.o: In function `image_draw_scaled':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:321: undefined reference to `stretch_blit'
CMakeFiles/opensonic.dir/src/core/image.c.o: In function `ftofix':
/usr/include/allegro/inline/fmaths.inl:32: undefined reference to `allegro_errno'
/usr/include/allegro/inline/fmaths.inl:32: undefined reference to `allegro_errno'
/usr/include/allegro/inline/fmaths.inl:32: undefined reference to `allegro_errno'
/usr/include/allegro/inline/fmaths.inl:32: undefined reference to `allegro_errno'
/usr/include/allegro/inline/fmaths.inl:32: undefined reference to `allegro_errno'
CMakeFiles/opensonic.dir/src/core/image.c.o:/usr/include/allegro/inline/fmaths.inl:32: more undefined references to `allegro_errno' follow
CMakeFiles/opensonic.dir/src/core/image.c.o: In function `image_draw_trans':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:364: undefined reference to `set_trans_blender'
CMakeFiles/opensonic.dir/src/core/image.c.o: In function `image_pixelperfect_collision':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:392: undefined reference to `_getpixel16'
CMakeFiles/opensonic.dir/src/core/image.c.o: In function `image_rgb':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:248: undefined reference to `makecol'
CMakeFiles/opensonic.dir/src/core/image.c.o: In function `image_blit':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/image.c:280: undefined reference to `blit'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0x80): undefined reference to `_getpixel'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0x84): undefined reference to `_getpixel16'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0x88): undefined reference to `_getpixel16'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0x8c): undefined reference to `_getpixel16'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0x90): undefined reference to `_getpixel16'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0x94): undefined reference to `_getpixel16'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0x98): more undefined references to `_getpixel16' follow
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0xc0): undefined reference to `_getpixel24'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0xc4): undefined reference to `_getpixel16'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0xc8): undefined reference to `_getpixel16'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0xcc): undefined reference to `_getpixel16'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0xd0): undefined reference to `_getpixel16'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0xd4): undefined reference to `_getpixel16'
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0xd8): more undefined references to `_getpixel16' follow
CMakeFiles/opensonic.dir/src/core/image.c.o:(.rodata+0xe0): undefined reference to `_getpixel32'
CMakeFiles/opensonic.dir/src/core/input.c.o: In function `input_init':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:76: undefined reference to `install_keyboard'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:78: undefined reference to `install_mouse'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:87: undefined reference to `install_joystick'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:88: undefined reference to `num_joysticks'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:88: undefined reference to `joy'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:88: undefined reference to `joy'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:88: undefined reference to `joy'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:77: undefined reference to `allegro_error'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:78: undefined reference to `install_mouse'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:79: undefined reference to `allegro_error'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:111: undefined reference to `allegro_error'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:96: undefined reference to `joy'
CMakeFiles/opensonic.dir/src/core/input.c.o: In function `input_update':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:126: undefined reference to `keyboard_needs_poll'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:129: undefined reference to `mouse_needs_poll'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:185: undefined reference to `joy'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:186: undefined reference to `joy'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:187: undefined reference to `joy'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:188: undefined reference to `joy'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:189: undefined reference to `joy'
CMakeFiles/opensonic.dir/src/core/input.c.o:/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:190: more undefined references to `joy' follow
CMakeFiles/opensonic.dir/src/core/input.c.o: In function `input_update':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:220: undefined reference to `key'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:224: undefined reference to `key'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:227: undefined reference to `key'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:227: undefined reference to `key'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:157: undefined reference to `key'
CMakeFiles/opensonic.dir/src/core/input.c.o:/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:199: more undefined references to `key' follow
CMakeFiles/opensonic.dir/src/core/input.c.o: In function `input_update':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:201: undefined reference to `joy'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:202: undefined reference to `joy'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:203: undefined reference to `joy'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:204: undefined reference to `joy'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:205: undefined reference to `joy'
CMakeFiles/opensonic.dir/src/core/input.c.o:/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:206: more undefined references to `joy' follow
CMakeFiles/opensonic.dir/src/core/input.c.o: In function `get_mouse_mickeys_ex':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:594: undefined reference to `get_mouse_mickeys'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:597: undefined reference to `mouse_z'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:598: undefined reference to `mouse_z'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:599: undefined reference to `mouse_z'
CMakeFiles/opensonic.dir/src/core/input.c.o: In function `input_update':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:163: undefined reference to `mouse_x'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:164: undefined reference to `mouse_y'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:165: undefined reference to `mouse_z'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:170: undefined reference to `mouse_b'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:171: undefined reference to `mouse_b'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:172: undefined reference to `mouse_b'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:133: undefined reference to `poll_joystick'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:130: undefined reference to `poll_mouse'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/input.c:127: undefined reference to `poll_keyboard'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `fix_case_path_backtrack':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:424: undefined reference to `al_findfirst'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:434: undefined reference to `al_findnext'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:435: undefined reference to `al_findclose'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:446: undefined reference to `al_findfirst'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:454: undefined reference to `al_findnext'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:455: undefined reference to `al_findclose'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `filepath_exists':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:167: undefined reference to `exists'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `fix_case_path':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:481: undefined reference to `fix_filename_slashes'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `directory_exists':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:179: undefined reference to `file_exists'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `absolute_filepath':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:192: undefined reference to `is_relative_filename'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:211: undefined reference to `fix_filename_slashes'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:212: undefined reference to `canonicalize_filename'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:201: undefined reference to `replace_filename'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `home_filepath':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:229: undefined reference to `fix_filename_slashes'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:230: undefined reference to `canonicalize_filename'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `filepath_exists':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:167: undefined reference to `exists'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `osspec_init':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:138: undefined reference to `get_executable_name'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `resource_filepath':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:264: undefined reference to `is_relative_filename'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:296: undefined reference to `al_findfirst'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `filepath_exists':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:167: undefined reference to `exists'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `resource_filepath':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:309: undefined reference to `delete_file'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:298: undefined reference to `al_findclose'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `filepath_exists':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:167: undefined reference to `exists'
CMakeFiles/opensonic.dir/src/core/osspec.c.o: In function `basename':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/osspec.c:391: undefined reference to `get_filename'
CMakeFiles/opensonic.dir/src/core/sprite.c.o: In function `sprite_init':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/sprite.c:74: undefined reference to `for_each_file_ex'
CMakeFiles/opensonic.dir/src/scenes/stageselect.c.o: In function `load_stage_list':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/scenes/stageselect.c:294: undefined reference to `for_each_file_ex'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/scenes/stageselect.c:298: undefined reference to `for_each_file_ex'
CMakeFiles/opensonic.dir/src/core/timer.c.o: In function `timer_init':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/timer.c:79: undefined reference to `install_timer'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/timer.c:80: undefined reference to `allegro_error'
CMakeFiles/opensonic.dir/src/core/util.c.o: In function `fatal_error':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/util.c:181: undefined reference to `set_gfx_mode'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/util.c:182: undefined reference to `allegro_message'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `get_desktop_resolution':
/usr/include/allegro/inline/system.inl:49: undefined reference to `system_driver'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `video_changemode':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:176: undefined reference to `set_gfx_mode'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `video_get_color_depth':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:434: undefined reference to `get_color_depth'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `video_changemode':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:177: undefined reference to `allegro_error'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `video_get_color_depth':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:434: undefined reference to `get_color_depth'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `setup_color_depth':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:616: undefined reference to `set_color_depth'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:621: undefined reference to `set_color_conversion'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `video_init':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:98: undefined reference to `set_close_button_callback'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `set_window_title':
/usr/include/allegro/inline/system.inl:29: undefined reference to `system_driver'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `video_init':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:103: undefined reference to `set_display_switch_mode'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:104: undefined reference to `set_display_switch_callback'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:107: undefined reference to `set_display_switch_callback'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `setup_color_depth':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:619: undefined reference to `set_color_conversion'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `draw_to_screen':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:584: undefined reference to `screen'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:584: undefined reference to `blit'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `video_render':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:335: undefined reference to `makecol'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:335: undefined reference to `makecol'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:335: undefined reference to `font'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:335: undefined reference to `textprintf_right_ex'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `video_get_color_depth':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:434: undefined reference to `get_color_depth'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `video_render':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:330: undefined reference to `makecol'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:330: undefined reference to `makecol'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:330: undefined reference to `font'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:330: undefined reference to `text_height'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:330: undefined reference to `font'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:330: undefined reference to `textout_ex'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `video_get_color_depth':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:434: undefined reference to `get_color_depth'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `video_render':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:293: undefined reference to `drawing_mode'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:294: undefined reference to `set_trans_blender'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:296: undefined reference to `solid_mode'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `fast2x_blit':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:559: undefined reference to `stretch_blit'
CMakeFiles/opensonic.dir/src/core/video.c.o: In function `video_get_color_depth':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:434: undefined reference to `get_color_depth'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/core/video.c:434: undefined reference to `get_color_depth'
CMakeFiles/opensonic.dir/src/scenes/langselect.c.o: In function `load_lang_list':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/scenes/langselect.c:239: undefined reference to `for_each_file_ex'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/scenes/langselect.c:243: undefined reference to `for_each_file_ex'
CMakeFiles/opensonic.dir/src/scenes/menu.c.o: In function `load_quest_list':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/scenes/menu.c:474: undefined reference to `for_each_file_ex'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/scenes/menu.c:478: undefined reference to `for_each_file_ex'
CMakeFiles/opensonic.dir/src/scenes/menu.c.o: In function `sort_cmp':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/scenes/menu.c:530: undefined reference to `file_time'
/home/szymon/Pobrane/opensnc-src-0.1.4/src/scenes/menu.c:530: undefined reference to `file_time'
CMakeFiles/opensonic.dir/src/entities/enemy.c.o: In function `objects_init':
/home/szymon/Pobrane/opensnc-src-0.1.4/src/entities/enemy.c:90: undefined reference to `for_each_file_ex'
/usr/lib/liblogg.a(logg.c.o): In function `logg_open_file_for_streaming':
(.text+0x10b): undefined reference to `allegro_error'
/usr/lib/liblogg.a(logg.c.o): In function `logg_open_file_for_streaming':
(.text+0x151): undefined reference to `allegro_error'
/usr/lib/liblogg.a(logg.c.o): In function `logg_open_file_for_streaming':
(.text+0x15a): undefined reference to `uszprintf'
/usr/lib/liblogg.a(logg.c.o): In function `logg_load':
(.text+0x30f): undefined reference to `_al_malloc'
/usr/lib/liblogg.a(logg.c.o): In function `logg_load':
(.text+0x360): undefined reference to `_al_malloc'
/usr/lib/liblogg.a(logg.c.o): In function `logg_load':
(.text+0x413): undefined reference to `allegro_error'
/usr/lib/liblogg.a(logg.c.o): In function `logg_load':
(.text+0x447): undefined reference to `allegro_error'
/usr/lib/liblogg.a(logg.c.o): In function `logg_load':
(.text+0x44c): undefined reference to `uszprintf'
/usr/lib/liblogg.a(logg.c.o): In function `logg_update_stream':
(.text+0x48f): undefined reference to `get_audio_stream_buffer'
/usr/lib/liblogg.a(logg.c.o): In function `logg_update_stream':
(.text+0x4cc): undefined reference to `free_audio_stream_buffer'
/usr/lib/liblogg.a(logg.c.o): In function `logg_stop_stream':
(.text+0x51f): undefined reference to `stop_audio_stream'
/usr/lib/liblogg.a(logg.c.o): In function `logg_destroy_stream':
(.text+0x563): undefined reference to `stop_audio_stream'
/usr/lib/liblogg.a(logg.c.o): In function `logg_play_stream':
(.text+0x61c): undefined reference to `play_audio_stream'
/usr/lib/libjpgalleg.a(init.c.o): In function `load_datafile_jpg':
(.text+0x53): undefined reference to `pack_fread'
/usr/lib/libjpgalleg.a(init.c.o): In function `jpgalleg_init':
(.text+0xab): undefined reference to `register_datafile_object'
/usr/lib/libjpgalleg.a(init.c.o): In function `jpgalleg_init':
(.text+0xc7): undefined reference to `register_bitmap_file_type'
/usr/lib/libjpgalleg.a(init.c.o): In function `destroy_datafile_jpg':
(.text+0x9): undefined reference to `destroy_bitmap'
/usr/lib/libjpgalleg.a(decode.c.o): In function `_jpeg_c_ycbcr2rgb':
(.text+0x59d): undefined reference to `_rgb_r_shift_24'
/usr/lib/libjpgalleg.a(decode.c.o): In function `_jpeg_c_ycbcr2rgb':
(.text+0x5b2): undefined reference to `_rgb_g_shift_24'
/usr/lib/libjpgalleg.a(decode.c.o): In function `_jpeg_c_ycbcr2rgb':
(.text+0x5bb): undefined reference to `_rgb_b_shift_24'
/usr/lib/libjpgalleg.a(decode.c.o): In function `do_decode':
(.text+0x14bb): undefined reference to `create_bitmap_ex'
/usr/lib/libjpgalleg.a(decode.c.o): In function `do_decode':
(.text+0x1983): undefined reference to `_color_load_depth'
/usr/lib/libjpgalleg.a(decode.c.o): In function `do_decode':
(.text+0x19b8): undefined reference to `_fixup_loaded_bitmap'
/usr/lib/libjpgalleg.a(decode.c.o): In function `do_decode':
(.text+0x19cf): undefined reference to `generate_332_palette'
/usr/lib/libjpgalleg.a(decode.c.o): In function `do_decode':
(.text+0x1cd2): undefined reference to `destroy_bitmap'
/usr/lib/libjpgalleg.a(decode.c.o): In function `do_decode':
(.text+0x2e56): undefined reference to `_color_load_depth'
/usr/lib/libjpgalleg.a(decode.c.o): In function `load_jpg_ex':
(.text+0x2f16): undefined reference to `file_size_ex'
/usr/lib/libjpgalleg.a(decode.c.o): In function `load_jpg_ex':
(.text+0x2f53): undefined reference to `pack_fopen'
/usr/lib/libjpgalleg.a(decode.c.o): In function `load_jpg_ex':
(.text+0x2f6e): undefined reference to `pack_fread'
/usr/lib/libjpgalleg.a(decode.c.o): In function `load_jpg_ex':
(.text+0x2f76): undefined reference to `pack_fclose'
/usr/lib/libjpgalleg.a(encode.c.o): In function `_jpeg_c_rgb2ycbcr':
(.text+0xc5): undefined reference to `_rgb_r_shift_32'
/usr/lib/libjpgalleg.a(encode.c.o): In function `_jpeg_c_rgb2ycbcr':
(.text+0xdb): undefined reference to `_rgb_g_shift_32'
/usr/lib/libjpgalleg.a(encode.c.o): In function `_jpeg_c_rgb2ycbcr':
(.text+0xed): undefined reference to `_rgb_b_shift_32'
/usr/lib/libjpgalleg.a(encode.c.o): In function `_jpeg_c_rgb2ycbcr':
(.text+0x157): undefined reference to `_rgb_g_shift_32'
/usr/lib/libjpgalleg.a(encode.c.o): In function `_jpeg_c_rgb2ycbcr':
(.text+0x169): undefined reference to `_rgb_b_shift_32'
/usr/lib/libjpgalleg.a(encode.c.o): In function `do_encode':
(.text+0x1751): undefined reference to `create_bitmap_ex'
/usr/lib/libjpgalleg.a(encode.c.o): In function `do_encode':
(.text+0x176e): undefined reference to `select_palette'
/usr/lib/libjpgalleg.a(encode.c.o): In function `do_encode':
(.text+0x17ac): undefined reference to `blit'
/usr/lib/libjpgalleg.a(encode.c.o): In function `do_encode':
(.text+0x17b1): undefined reference to `unselect_palette'
/usr/lib/libjpgalleg.a(encode.c.o): In function `do_encode':
(.text+0x17ff): undefined reference to `blit'
/usr/lib/libjpgalleg.a(encode.c.o): In function `do_encode':
(.text+0x1855): undefined reference to `blit'
/usr/lib/libjpgalleg.a(encode.c.o): In function `do_encode':
(.text+0x194b): undefined reference to `destroy_bitmap'
/usr/lib/libjpgalleg.a(encode.c.o): In function `do_encode':
(.text+0x1a0e): undefined reference to `destroy_bitmap'
/usr/lib/libjpgalleg.a(encode.c.o): In function `do_encode':
(.text+0x1a65): undefined reference to `blit'
/usr/lib/libjpgalleg.a(encode.c.o): In function `do_encode':
(.text+0x1ad8): undefined reference to `destroy_bitmap'
/usr/lib/libjpgalleg.a(encode.c.o): In function `save_jpg_ex':
(.text+0x1b92): undefined reference to `pack_fopen'
/usr/lib/libjpgalleg.a(encode.c.o): In function `save_jpg_ex':
(.text+0x1bd8): undefined reference to `pack_fclose'
/usr/lib/libjpgalleg.a(encode.c.o): In function `save_jpg_ex':
(.text+0x1c01): undefined reference to `pack_fwrite'
/usr/lib/libloadpng.a(regpng.c.o): In function `load_datafile_png':
(.text+0x53): undefined reference to `pack_fread'
/usr/lib/libloadpng.a(regpng.c.o): In function `register_png_file_type':
(.text+0xab): undefined reference to `register_bitmap_file_type'
/usr/lib/libloadpng.a(regpng.c.o): In function `register_png_datafile_object':
(.text+0xdb): undefined reference to `register_datafile_object'
/usr/lib/libloadpng.a(regpng.c.o): In function `destroy_datafile_png':
(.text+0x9): undefined reference to `destroy_bitmap'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x1a): undefined reference to `png_read_info'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x71): undefined reference to `png_get_IHDR'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x79): undefined reference to `png_set_packing'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0xaa): undefined reference to `png_get_valid'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0xfc): undefined reference to `png_set_interlace_handling'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x10e): undefined reference to `png_read_update_info'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x14b): undefined reference to `png_get_PLTE'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x1dc): undefined reference to `png_get_rowbytes'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x214): undefined reference to `_color_load_depth'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x23a): undefined reference to `create_bitmap_ex'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x26d): undefined reference to `makecol_depth'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x284): undefined reference to `png_set_bgr'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x2bb): undefined reference to `png_get_sRGB'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x2dd): undefined reference to `png_set_gamma'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x2ea): undefined reference to `generate_332_palette'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x305): undefined reference to `_color_load_depth'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x32b): undefined reference to `create_bitmap_ex'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x377): undefined reference to `png_read_row'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x3ab): undefined reference to `_fixup_loaded_bitmap'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x3bd): undefined reference to `png_read_end'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x3e9): undefined reference to `png_get_gAMA'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x40c): undefined reference to `png_set_gamma'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x429): undefined reference to `png_set_tRNS_to_alpha'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x43f): undefined reference to `png_set_strip_16'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x457): undefined reference to `png_set_gray_to_rgb'
/usr/lib/libloadpng.a(loadpng.c.o): In function `really_load_png':
(.text+0x49d): undefined reference to `png_set_expand'
/usr/lib/libloadpng.a(loadpng.c.o): In function `read_data_memory':
(.text+0x4cb): undefined reference to `png_get_io_ptr'
/usr/lib/libloadpng.a(loadpng.c.o): In function `read_data_memory':
(.text+0x4e9): undefined reference to `png_error'
/usr/lib/libloadpng.a(loadpng.c.o): In function `user_error_fn':
(.text+0x52b): undefined reference to `png_get_error_ptr'
/usr/lib/libloadpng.a(loadpng.c.o): In function `read_data':
(.text+0x55f): undefined reference to `png_get_io_ptr'
/usr/lib/libloadpng.a(loadpng.c.o): In function `read_data':
(.text+0x56f): undefined reference to `pack_fread'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_png_pf':
(.text+0x5fa): undefined reference to `pack_fread'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_png_pf':
(.text+0x63c): undefined reference to `png_sig_cmp'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_png_pf':
(.text+0x664): undefined reference to `png_create_read_struct'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_png_pf':
(.text+0x677): undefined reference to `png_create_info_struct'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_png_pf':
(.text+0x6c1): undefined reference to `png_set_error_fn'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_png_pf':
(.text+0x6e0): undefined reference to `png_set_read_fn'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_png_pf':
(.text+0x6f7): undefined reference to `png_set_sig_bytes'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_png_pf':
(.text+0x732): undefined reference to `png_destroy_read_struct'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_png_pf':
(.text+0x760): undefined reference to `png_destroy_read_struct'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_png_pf':
(.text+0x784): undefined reference to `png_destroy_read_struct'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_png':
(.text+0x7bd): undefined reference to `pack_fopen'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_png':
(.text+0x7dd): undefined reference to `pack_fclose'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_memory_png':
(.text+0x832): undefined reference to `png_sig_cmp'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_memory_png':
(.text+0x85e): undefined reference to `png_create_read_struct'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_memory_png':
(.text+0x875): undefined reference to `png_create_info_struct'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_memory_png':
(.text+0x8bf): undefined reference to `png_set_error_fn'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_memory_png':
(.text+0x908): undefined reference to `png_set_read_fn'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_memory_png':
(.text+0x91f): undefined reference to `png_set_sig_bytes'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_memory_png':
(.text+0x95d): undefined reference to `png_destroy_read_struct'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_memory_png':
(.text+0x9a0): undefined reference to `png_destroy_read_struct'
/usr/lib/libloadpng.a(loadpng.c.o): In function `load_memory_png':
(.text+0x9c3): undefined reference to `png_destroy_read_struct'
/usr/lib/libloadpng.a(loadpng.c.o): In function `read_data':
(.text+0x593): undefined reference to `png_error'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x75): undefined reference to `png_create_write_struct'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x8f): undefined reference to `png_create_info_struct'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0xe5): undefined reference to `png_destroy_write_struct'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x126): undefined reference to `png_set_error_fn'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x14d): undefined reference to `png_set_write_fn'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x181): undefined reference to `png_set_compression_level'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x1d0): undefined reference to `png_set_IHDR'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x1ea): undefined reference to `png_write_info'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x223): undefined reference to `png_destroy_write_struct'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x2be): undefined reference to `_rgb_r_shift_32'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x2c8): undefined reference to `_rgb_g_shift_32'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x2d4): undefined reference to `_rgb_b_shift_32'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x2e1): undefined reference to `_rgb_a_shift_32'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x307): undefined reference to `png_write_row'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x396): undefined reference to `_rgb_r_shift_24'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x3a0): undefined reference to `_rgb_g_shift_24'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x3ac): undefined reference to `_rgb_b_shift_24'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x3d2): undefined reference to `png_write_row'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x417): undefined reference to `png_write_row'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x436): undefined reference to `png_write_end'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x450): undefined reference to `png_destroy_write_struct'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x486): undefined reference to `_rgb_r_shift_15'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x490): undefined reference to `_rgb_g_shift_15'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x49a): undefined reference to `_rgb_scale_5'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x4a6): undefined reference to `_rgb_b_shift_15'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x4b0): undefined reference to `_rgb_scale_5'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x4bc): undefined reference to `_rgb_scale_5'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x4fe): undefined reference to `_rgb_r_shift_16'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x508): undefined reference to `_rgb_g_shift_16'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x512): undefined reference to `_rgb_scale_5'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x51e): undefined reference to `_rgb_b_shift_16'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x528): undefined reference to `_rgb_scale_6'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x534): undefined reference to `_rgb_scale_5'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x564): undefined reference to `png_set_compression_level'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x5b7): undefined reference to `png_set_IHDR'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x5ce): undefined reference to `_rgb_scale_6'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x5db): undefined reference to `_rgb_scale_6'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x5ec): undefined reference to `_rgb_scale_6'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x620): undefined reference to `png_set_PLTE'
/usr/lib/libloadpng.a(savepng.c.o): In function `really_save_png':
(.text+0x6ca): undefined reference to `png_write_row'
/usr/lib/libloadpng.a(savepng.c.o): In function `write_data':
(.text+0x71f): undefined reference to `png_get_io_ptr'
/usr/lib/libloadpng.a(savepng.c.o): In function `write_data':
(.text+0x72f): undefined reference to `pack_fwrite'
/usr/lib/libloadpng.a(savepng.c.o): In function `user_error_fn':
(.text+0x77b): undefined reference to `png_get_error_ptr'
/usr/lib/libloadpng.a(savepng.c.o): In function `save_png':
(.text+0x7b3): undefined reference to `pack_fopen'
/usr/lib/libloadpng.a(savepng.c.o): In function `save_png':
(.text+0x7ee): undefined reference to `pack_fclose'
/usr/lib/libloadpng.a(savepng.c.o): In function `write_data':
(.text+0x753): undefined reference to `png_error'
collect2: ld returned 1 exit status
make[2]: *** [opensonic] Błąd 1
make[1]: *** [CMakeFiles/opensonic.dir/all] Błąd 2
make: *** [all] Błąd 2
szymon@szymon-VirtualBox:~/Pobrane/opensnc-src-0.1.4$ 

It looks like some problem with the libraries, but I don't know what exactly is causing this issue. What is more interesting, I didn't have the similar problem on previous Ubuntu releases and on Debian Wheezy with the same package versions (cmake, allegro etc.) as on Oneiric.

Do you have any suggestions about solving this?

Re: Problem with compiling OpenSonic/OpenSurge on Ubuntu Oneiric

Hello SzynaW,

what does the $ allegro-config --libs command return?

can you compile the latest bleeding edge?

Re: Problem with compiling OpenSonic/OpenSurge on Ubuntu Oneiric

The same problem with the bleeding edge.

szymon@szymon-VirtualBox:~$ allegro-config --libs
-L/usr/lib -lalleg

Re: Problem with compiling OpenSonic/OpenSurge on Ubuntu Oneiric

Can you compile the Allegro examples and demos?

What do you have in your /usr/lib folder? Is there a liballeg.so.<version_number> in it?

Re: Problem with compiling OpenSonic/OpenSurge on Ubuntu Oneiric

Files liballeg.so, liballeg.so.4.4, liballeg.so.4.4.2 are present in /usr/lib.
Example and demos compile properly during the library compilation.

Re: Problem with compiling OpenSonic/OpenSurge on Ubuntu Oneiric

Since allegro-config --libs gives you -L/usr/lib -lalleg, perhaps you want to create, in /usr/lib, a symbolic link called liballeg.so pointing to liballeg.so.4.4.2 . Please let me know if it works.

Re: Problem with compiling OpenSonic/OpenSurge on Ubuntu Oneiric

I`ve builded it on amd64 on kubuntu 11.10. What steps I`ve made:
1. install from this repo http://www.ubuntuupdates.org/ppa/getdeb … st=oneiric allegro 4.4
2. other packages (but libalfont) was in default repos.
3. So I`ve tried to compile  libalfont, but got some problems (cause of amd64). Then I find RPM here http://sisyphus.ru/ru/srpm/Sisyphus/libalfont/get
and replace (without uninstalling previuos fail libalfont) libalfont.so.2.0.9 with libalfont.so.2.0.6.
And succes smile