Back to the Vavoom Forum Archives


Forum

Problem installing

Sat, 11 Jun 2005 02:22:27

CrustyPunk

Hey I'm running Ubuntu 5.04 Hoary and I'm having trouble compiling the source code. The following is the output after I "make" Any ideas what's wrong? I'm a bit of a *Nix Newbie. =\
root@ubuntu:/home/kevin/Desktop/vavoom-1.17 # make gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_alleg.o source/d_alleg.cpp source/d_alleg.cpp:28:21: allegro.h: No such file or directory source/d_alleg.cpp:29:38: allegro/internal/aintern.h: No such file or directory source/d_alleg.cpp:48: error: parse error before `COLOR_DEPTH_16' source/d_alleg.cpp:77: error: syntax error before `*' token source/d_alleg.cpp:79: error: parse error before `try' source/d_alleg.cpp:80: error: syntax error before `*' token source/d_alleg.cpp:81: error: syntax error before `*' token source/d_alleg.cpp:84: error: ISO C++ forbids declaration of `vtable' with no type source/d_alleg.cpp:84: error: `color_depth' was not declared in this scope source/d_alleg.cpp:84: error: `_get_vtable' was not declared in this scope source/d_alleg.cpp:85: error: parse error before `if' source/d_alleg.cpp:88: error: ISO C++ forbids declaration of `bitmap' with no type source/d_alleg.cpp:88: error: `BITMAP' was not declared in this scope source/d_alleg.cpp:88: error: parse error before `)' token source/d_alleg.cpp:92: error: syntax error before `->' token source/d_alleg.cpp:94: error: syntax error before `->' token source/d_alleg.cpp:95: error: syntax error before `->' token source/d_alleg.cpp:96: error: syntax error before `->' token source/d_alleg.cpp:97: error: syntax error before `->' token source/d_alleg.cpp:98: error: syntax error before `->' token source/d_alleg.cpp:99: error: syntax error before `->' token source/d_alleg.cpp:100: error: syntax error before `->' token source/d_alleg.cpp:101: error: syntax error before `->' token source/d_alleg.cpp:102: error: syntax error before `->' token source/d_alleg.cpp:103: error: syntax error before `->' token source/d_alleg.cpp:104: error: syntax error before `->' token source/d_alleg.cpp:106: error: syntax error before `->' token source/d_alleg.cpp:107: error: `height' was not declared in this scope source/d_alleg.cpp:107: error: parse error before `;' token source/d_alleg.cpp:107: error: syntax error before `++' token source/d_alleg.cpp: In member function `virtual bool VSoftwareDrawer::SetResolution(int, int, int)': source/d_alleg.cpp:136: error: `gamebitmap' undeclared (first use this function) source/d_alleg.cpp:136: error: (Each undeclared identifier is reported only once for each function it appears in.) source/d_alleg.cpp:143: error: `set_color_depth' undeclared (first use this function) source/d_alleg.cpp:144: error: `GFX_AUTODETECT_WINDOWED' undeclared (first use this function) source/d_alleg.cpp:145: error: `GFX_AUTODETECT' undeclared (first use this function) source/d_alleg.cpp:145: error: `set_gfx_mode' undeclared (first use this function) source/d_alleg.cpp:148: error: `allegro_error' undeclared (first use this function) source/d_alleg.cpp:152: error: `SCREEN_W' undeclared (first use this function) source/d_alleg.cpp:152: error: `SCREEN_H' undeclared (first use this function) source/d_alleg.cpp:156: error: `my_create_bitmap_ex' undeclared (first use this function) source/d_alleg.cpp:171: error: `_rgb_r_shift_15' undeclared (first use this function) source/d_alleg.cpp:172: error: `_rgb_g_shift_15' undeclared (first use this function) source/d_alleg.cpp:173: error: `_rgb_b_shift_15' undeclared (first use this function) source/d_alleg.cpp:177: error: `_rgb_r_shift_16' undeclared (first use this function) source/d_alleg.cpp:178: error: `_rgb_g_shift_16' undeclared (first use this function) source/d_alleg.cpp:179: error: `_rgb_b_shift_16' undeclared (first use this function) source/d_alleg.cpp:183: error: `_rgb_r_shift_32' undeclared (first use this function) source/d_alleg.cpp:184: error: `_rgb_g_shift_32' undeclared (first use this function) source/d_alleg.cpp:185: error: `_rgb_b_shift_32' undeclared (first use this function) source/d_alleg.cpp: In member function `void VSoftwareDrawer::SetPalette8(byte*)': source/d_alleg.cpp:223: error: `PALETTE' undeclared (first use this function) source/d_alleg.cpp:223: error: parse error before `;' token source/d_alleg.cpp:226: error: `pal' undeclared (first use this function) source/d_alleg.cpp:230: error: `set_palette' undeclared (first use this function) source/d_alleg.cpp: In member function `virtual void VSoftwareDrawer::Update() ': source/d_alleg.cpp:297: error: `screen' undeclared (first use this function) source/d_alleg.cpp:297: error: `blit' undeclared (first use this function) source/d_alleg.cpp: In member function `virtual void VSoftwareDrawer::Shutdown()': source/d_alleg.cpp:311: error: `GFX_TEXT' undeclared (first use this function) source/d_alleg.cpp:311: error: `set_gfx_mode' undeclared (first use this function) make: *** [obj/d_alleg.o] Error 1
Sat, 11 Jun 2005 03:24:21

CrustyPunk

root@ubuntu:/home/kevin/Desktop/vavoom-1.17 # make gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_alleg.o source/d_alleg.cpp source/d_alleg.cpp: In member function `virtual bool VSoftwareDrawer::SetResolution(int, int, int)': source/d_alleg.cpp:126: warning: argument `int Width' might be clobbered by `longjmp' or `vfork' source/d_alleg.cpp:126: warning: argument `int Height' might be clobbered by `longjmp' or `vfork' source/d_alleg.cpp:126: warning: argument `int bpp' might be clobbered by `longjmp' or `vfork' source/d_alleg.cpp: In member function `void VSoftwareDrawer::SetPalette8(byte*)': source/d_alleg.cpp:201: warning: argument `byte*palette' might be clobbered by `longjmp' or `vfork' gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/in_alleg.o source/in_alleg.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/net_bsd.o source/net_bsd.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/net_udp.o source/net_udp.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/s_alleg.o source/s_alleg.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/s_allegm.o source/s_allegm.cpp gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/sys_i386.o source/sys_i386.s gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/sys_lin.o source/sys_lin.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/am_map.o source/am_map.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/chat.o source/chat.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/cheats.o source/cheats.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/cl_demo.o source/cl_demo.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/cl_input.o source/cl_input.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/cl_main.o source/cl_main.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/cl_parse.o source/cl_parse.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/cl_poly.o source/cl_poly.cpp source/cl_poly.cpp: In function `void MovePolyobj(int, float, float)': source/cl_poly.cpp:86: warning: argument `float x' might be clobbered by `longjmp' or `vfork' source/cl_poly.cpp:86: warning: argument `float y' might be clobbered by `longjmp' or `vfork' source/cl_poly.cpp: In function `void IterFindPolySegs(TVec, seg_t**)': source/cl_poly.cpp:177: warning: argument `seg_t**segList' might be clobbered by `longjmp' or `vfork' gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/cl_trace.o source/cl_trace.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/cmd.o source/cmd.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/console.o source/console.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/crc.o source/crc.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/cvar.o source/cvar.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_aclip.o source/d_aclip.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_alias.o source/d_alias.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_data.o source/d_data.cpp source/d_data.cpp: In member function `virtual void VSoftwareDrawer::SetPalette(int)': source/d_data.cpp:244: warning: argument `int num' might be clobbered by `longjmp' or `vfork' gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_draw.o source/d_draw.cpp source/d_draw.cpp: In member function `virtual void VSoftwareDrawer::DrawLine(int, int, long unsigned int, int, int, long unsigned int)': source/d_draw.cpp:1214: warning: argument `dword color' might be clobbered by `longjmp' or `vfork' gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_edge.o source/d_edge.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_main.o source/d_main.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_part.o source/d_part.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_polyse.o source/d_polyse.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_scache.o source/d_scache.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_span.o source/d_span.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_sprite.o source/d_sprite.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_surf.o source/d_surf.cpp source/d_surf.cpp: In member function `surfcache_t* VSoftwareDrawer::CacheSkySurface(surface_t*, int, int, float, float)': source/d_surf.cpp:342: warning: argument `int texture1' might be clobbered by `longjmp' or `vfork' source/d_surf.cpp:342: warning: argument `int texture2' might be clobbered by `longjmp' or `vfork' gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_tex.o source/d_tex.cpp source/d_tex.cpp: In function `static void VSoftwareDrawer::DrawColumnInCache(column_t*, byte*, int, int, int, int, bool)': source/d_tex.cpp:248: warning: argument `column_t*column' might be clobbered by `longjmp' or `vfork' source/d_tex.cpp: In member function `virtual void VSoftwareDrawer::SetSkyTexture(int, bool)': source/d_tex.cpp:508: warning: argument `int tex' might be clobbered by `longjmp' or `vfork' source/d_tex.cpp: In member function `virtual void VSoftwareDrawer::SetFlat(int)': source/d_tex.cpp:579: warning: argument `int num' might be clobbered by `longjmp' or `vfork' source/d_tex.cpp: In member function `void VSoftwareDrawer::SetSpriteLump(int, long unsigned int, int)': source/d_tex.cpp:749: warning: argument `dword light' might be clobbered by `longjmp' or `vfork' gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d_aclipa.o source/d_aclipa.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d_aliasa.o source/d_aliasa.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d_edgea.o source/d_edgea.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d_polysa.o source/d_polysa.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d_varsa.o source/d_varsa.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d_zspan.o source/d_zspan.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d8_part.o source/d8_part.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d8_poly.o source/d8_poly.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d8_s16.o source/d8_s16.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d8_span.o source/d8_span.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d8_spr.o source/d8_spr.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d8_surf.o source/d8_surf.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d16_part.o source/d16_part.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d16_poly.o source/d16_poly.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d16_s16.o source/d16_s16.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d16_span.o source/d16_span.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d16_spr.o source/d16_spr.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d16_surf.o source/d16_surf.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d32_part.o source/d32_part.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d32_poly.o source/d32_poly.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d32_s16.o source/d32_s16.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d32_span.o source/d32_span.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d32_spr.o source/d32_spr.s gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/d32_surf.o source/d32_surf.s gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/debug.o source/debug.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/finale.o source/finale.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/files.o source/files.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/host.o source/host.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/iline.o source/iline.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/imission.o source/imission.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/in_input.o source/in_input.cpp source/in_input.cpp: In function `int IN_TranslateKey(int)': source/in_input.cpp:683: warning: argument `int ch' might be clobbered by `longjmp' or `vfork' gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/infostr.o source/infostr.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/l_glbsp.o source/l_glbsp.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/l_glvis.o source/l_glvis.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/level.o source/level.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/mapinfo.o source/mapinfo.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/maths.o source/maths.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/menu.o source/menu.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/message.o source/message.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/misc.o source/misc.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/name.o source/name.cpp source/name.cpp: In static member function `static void FName::StaticInit()': source/name.cpp:160: warning: comparison between signed and unsigned integer expressions gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/net_dgrm.o source/net_dgrm.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/net_loop.o source/net_loop.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/net_main.o source/net_main.cpp source/net_main.cpp: In function `qsocket_t* NET_Connect(char*)': source/net_main.cpp:581: warning: argument `char*host' might be clobbered by `longjmp' or `vfork' gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/net_null.o source/net_null.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/p_setup.o source/p_setup.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/pr_cmds.o source/pr_cmds.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/pr_exec.o source/pr_exec.cpp gcc -c -W -Wall -march=pentiumpro -x assembler-with-cpp -o obj/pr_execa.o source/pr_execa.s gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/r_bsp.o source/r_bsp.cpp source/r_bsp.cpp: In function `void RenderBSPNode(int, float*, int)': source/r_bsp.cpp:323: warning: argument `int clipflags' might be clobbered by `longjmp' or `vfork' source/r_bsp.cpp: In function `void DrawSurfaces(surface_t*, texinfo_t*, int, int)': source/r_bsp.cpp:102: warning: argument `surface_t*surfs' might be clobbered by `longjmp' or `vfork' gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/r_light.o source/r_light.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/r_main.o source/r_main.cpp gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/r_model.o source/r_model.cpp source/r_model.cpp:32:17: png.h: No such file or directory source/r_model.cpp:840: error: `png_structp' was not declared in this scope source/r_model.cpp:840: error: parse error before `,' token source/r_model.cpp: In function `void MyPNGReadFunc(...)': source/r_model.cpp:843: error: `png_ptr' undeclared (first use this function) source/r_model.cpp:843: error: (Each undeclared identifier is reported only once for each function it appears in.) source/r_model.cpp:843: error: `png_get_io_ptr' undeclared (first use this function) source/r_model.cpp:844: error: `data' undeclared (first use this function) source/r_model.cpp:844: error: `length' undeclared (first use this function) source/r_model.cpp: In function `void LoadPNG(const char*, void**)': source/r_model.cpp:867: error: `png_byte' undeclared (first use this function) source/r_model.cpp:867: error: parse error before `)' token source/r_model.cpp:877: error: `png_infop' undeclared (first use this function) source/r_model.cpp:877: error: parse error before `=' token source/r_model.cpp:878: error: `info_ptr' undeclared (first use this function) source/r_model.cpp:882: error: parse error before `=' token source/r_model.cpp:883: error: `end_info' undeclared (first use this function) source/r_model.cpp:887: error: `png_jmpbuf' undeclared (first use this function) source/r_model.cpp:892: error: `png_set_read_fn' undeclared (first use this function) source/r_model.cpp:895: error: `png_read_info' undeclared (first use this function) source/r_model.cpp:896: error: `png_get_image_width' undeclared (first use this function) source/r_model.cpp:897: error: `png_get_image_height' undeclared (first use this function) source/r_model.cpp:898: error: `png_get_bit_depth' undeclared (first use this function) source/r_model.cpp:899: error: `png_get_color_type' undeclared (first use this function) source/r_model.cpp:902: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use this function) source/r_model.cpp:903: error: `png_set_palette_to_rgb' undeclared (first use this function) source/r_model.cpp:904: error: `PNG_COLOR_TYPE_GRAY' undeclared (first use this function) source/r_model.cpp:905: error: `png_set_gray_1_2_4_to_8' undeclared (first use this function) source/r_model.cpp:906: error: `PNG_INFO_tRNS' undeclared (first use this function) source/r_model.cpp:906: error: `png_get_valid' undeclared (first use this function) source/r_model.cpp:907: error: `png_set_tRNS_to_alpha' undeclared (first use this function) source/r_model.cpp:909: error: `png_set_strip_16' undeclared (first use this function) source/r_model.cpp:911: error: `PNG_COLOR_TYPE_RGB' undeclared (first use this function) source/r_model.cpp:913: error: `PNG_FILLER_AFTER' undeclared (first use this function) source/r_model.cpp:913: error: `png_set_filler' undeclared (first use this function) source/r_model.cpp:915: error: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use this function) source/r_model.cpp:916: error: `png_set_gray_to_rgb' undeclared (first use this function) source/r_model.cpp:921: error: `png_bytep' undeclared (first use this function) source/r_model.cpp:921: error: `RowPtrs' undeclared (first use this function) source/r_model.cpp:921: error: parse error before `)' token source/r_model.cpp:924: error: `png_read_image' undeclared (first use this function) source/r_model.cpp:927: error: `png_read_end' undeclared (first use this function) source/r_model.cpp:928: error: `png_destroy_read_struct' undeclared (first use this function) make: *** [obj/r_model.o] Error 1
Sat, 11 Jun 2005 09:38:41

Janis Legzdinsh

I see you found out that you need to install Allegro. Now you must install development package of libpng.
Sat, 11 Jun 2005 15:04:04

CrustyPunk

root@ubuntu:/home/kevin/Desktop/vavoom-1.17 # make gcc -c -W -Wall -march=pentiumpro -ffast-math -O3 -fomit-frame-pointer -o obj/d_sdl.o source/d_sdl.cpp source/d_sdl.cpp:28:21: SDL/SDL.h: No such file or directory source/d_sdl.cpp:47: error: syntax error before `*' token source/d_sdl.cpp:48: error: syntax error before `=' token source/d_sdl.cpp: In member function `virtual bool VSoftwareDrawer::SetResolution(int, int, int)': source/d_sdl.cpp:76: error: `Uint32' undeclared (first use this function) source/d_sdl.cpp:76: error: (Each undeclared identifier is reported only once for each function it appears in.) source/d_sdl.cpp:76: error: parse error before `=' token source/d_sdl.cpp:86: error: `hw_screen' undeclared (first use this function) source/d_sdl.cpp:88: error: `SDL_FreeSurface' undeclared (first use this function) source/d_sdl.cpp:90: error: `hw_palette' undeclared (first use this function) source/d_sdl.cpp:105: error: `flags' undeclared (first use this function) source/d_sdl.cpp:105: error: `SDL_HWPALETTE' undeclared (first use this function) source/d_sdl.cpp:109: error: `SDL_FULLSCREEN' undeclared (first use this function) source/d_sdl.cpp:111: error: `SDL_HWSURFACE' undeclared (first use this function) source/d_sdl.cpp:113: error: `SDL_SetVideoMode' undeclared (first use this function) source/d_sdl.cpp:124: error: `SDL_Color' undeclared (first use this function) source/d_sdl.cpp:124: error: parse error before `)' token source/d_sdl.cpp: In member function `virtual void VSoftwareDrawer::Update()': source/d_sdl.cpp:191: error: `SDL_MUSTLOCK' undeclared (first use this function) source/d_sdl.cpp:193: error: `SDL_LockSurface' undeclared (first use this function) source/d_sdl.cpp:197: error: `SDL_SetColors' undeclared (first use this function) source/d_sdl.cpp:208: error: `SDL_UpdateRect' undeclared (first use this function) source/d_sdl.cpp:212: error: `SDL_UnlockSurface' undeclared (first use this function) source/d_sdl.cpp: In member function `virtual void VSoftwareDrawer::Shutdown() ': source/d_sdl.cpp:229: error: `SDL_FreeSurface' undeclared (first use this function) make: *** [obj/d_sdl.o] Error 1
Sun, 12 Jun 2005 18:22:57

CrustyPunk

Here's where I am now. I told it to compile without openGL... root@ubuntu:/home/kevin/Desktop/vavoom-1.17 # make gcc -Wall -s -o Vavoom obj/cd_linux.o obj/d_alleg.o obj/in_alleg.o obj/net_bsd.o obj/net_udp.o obj/s_alleg.o obj/s_allegm.o obj/sys_i386.o obj/sys_lin.o obj/am_map.o obj/chat.o obj/cheats.o obj/cl_demo.o obj/cl_input.o obj/cl_main.o obj/cl_parse.o obj/cl_poly.o obj/cl_trace.o obj/cmd.o obj/console.o obj/crc.o obj/cvar.o obj/d_aclip.o obj/d_alias.o obj/d_data.o obj/d_draw.o obj/d_edge.o obj/d_main.o obj/d_part.o obj/d_polyse.o obj/d_scache.o obj/d_span.o obj/d_sprite.o obj/d_surf.o obj/d_tex.o obj/d_aclipa.o obj/d_aliasa.o obj/d_edgea.o obj/d_polysa.o obj/d_varsa.o obj/d_zspan.o obj/d8_part.o obj/d8_poly.o obj/d8_s16.o obj/d8_span.o obj/d8_spr.o obj/d8_surf.o obj/d16_part.o obj/d16_poly.o obj/d16_s16.o obj/d16_span.o obj/d16_spr.o obj/d16_surf.o obj/d32_part.o obj/d32_poly.o obj/d32_s16.o obj/d32_span.o obj/d32_spr.o obj/d32_surf.o obj/debug.o obj/finale.o obj/files.o obj/host.o obj/iline.o obj/imission.o obj/in_input.o obj/infostr.o obj/l_glbsp.o obj/l_glvis.o obj/level.o obj/mapinfo.o obj/maths.o obj/menu.o obj/message.o obj/misc.o obj/name.o obj/net_dgrm.o obj/net_loop.o obj/net_main.o obj/net_null.o obj/p_setup.o obj/pr_cmds.o obj/pr_exec.o obj/pr_execa.o obj/r_bsp.o obj/r_light.o obj/r_main.o obj/r_model.o obj/r_sky.o obj/r_surf.o obj/r_tex.o obj/r_things.o obj/s_data.o obj/s_sound.o obj/sbar.o obj/sc_man.o obj/screen.o obj/sizebuf.o obj/sn_sonix.o obj/sv_acs.o obj/sv_ent.o obj/sv_main.o obj/sv_poly.o obj/sv_save.o obj/sv_sight.o obj/sv_swtch.o obj/sv_tick.o obj/sv_user.o obj/sv_world.o obj/text.o obj/ui_gc.o obj/ui_modal.o obj/ui_root.o obj/ui_win.o obj/vclass.o obj/vobject.o obj/wad.o obj/zone.o utils/glbsp/libglbsp.a utils/glvis/libglvis.a `allegro-config --libs` -lagl -lGLU -lXxf86dga -lpng -lz -lm -lstdc++ /usr/bin/ld: cannot find -lagl collect2: ld returned 1 exit status make: *** [Vavoom] Error 1 root@ubuntu:/home/kevin/Desktop/vavoom-1.17 # make gcc -Wall -s -o Vavoom obj/cd_linux.o obj/d_alleg.o obj/in_alleg.o obj/net_bsd.o obj/net_udp.o obj/s_alleg.o obj/s_allegm.o obj/sys_i386.o obj/sys_lin.o obj/am_map.o obj/chat.o obj/cheats.o obj/cl_demo.o obj/cl_input.o obj/cl_main.o obj/cl_parse.o obj/cl_poly.o obj/cl_trace.o obj/cmd.o obj/console.o obj/crc.o obj/cvar.o obj/d_aclip.o obj/d_alias.o obj/d_data.o obj/d_draw.o obj/d_edge.o obj/d_main.o obj/d_part.o obj/d_polyse.o obj/d_scache.o obj/d_span.o obj/d_sprite.o obj/d_surf.o obj/d_tex.o obj/d_aclipa.o obj/d_aliasa.o obj/d_edgea.o obj/d_polysa.o obj/d_varsa.o obj/d_zspan.o obj/d8_part.o obj/d8_poly.o obj/d8_s16.o obj/d8_span.o obj/d8_spr.o obj/d8_surf.o obj/d16_part.o obj/d16_poly.o obj/d16_s16.o obj/d16_span.o obj/d16_spr.o obj/d16_surf.o obj/d32_part.o obj/d32_poly.o obj/d32_s16.o obj/d32_span.o obj/d32_spr.o obj/d32_surf.o obj/debug.o obj/finale.o obj/files.o obj/host.o obj/iline.o obj/imission.o obj/in_input.o obj/infostr.o obj/l_glbsp.o obj/l_glvis.o obj/level.o obj/mapinfo.o obj/maths.o obj/menu.o obj/message.o obj/misc.o obj/name.o obj/net_dgrm.o obj/net_loop.o obj/net_main.o obj/net_null.o obj/p_setup.o obj/pr_cmds.o obj/pr_exec.o obj/pr_execa.o obj/r_bsp.o obj/r_light.o obj/r_main.o obj/r_model.o obj/r_sky.o obj/r_surf.o obj/r_tex.o obj/r_things.o obj/s_data.o obj/s_sound.o obj/sbar.o obj/sc_man.o obj/screen.o obj/sizebuf.o obj/sn_sonix.o obj/sv_acs.o obj/sv_ent.o obj/sv_main.o obj/sv_poly.o obj/sv_save.o obj/sv_sight.o obj/sv_swtch.o obj/sv_tick.o obj/sv_user.o obj/sv_world.o obj/text.o obj/ui_gc.o obj/ui_modal.o obj/ui_root.o obj/ui_win.o obj/vclass.o obj/vobject.o obj/wad.o obj/zone.o utils/glbsp/libglbsp.a utils/glvis/libglvis.a `allegro-config --libs` -lagl -lGLU -lXxf86dga -lpng -lz -lm -lstdc++ /usr/bin/ld: cannot find -lagl collect2: ld returned 1 exit status make: *** [Vavoom] Error 1
Sun, 12 Jun 2005 20:12:37

Janis Legzdinsh

You need AllegroGL library from [url:1g5bxju3]http://allegrogl.sourceforge.net

Back to the Vavoom Forum Archives