UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #111 undefined references to `MSG_WriteByte'
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Engine
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/111 Item 111] imported from sourceforge.net tracker on 2013-01-28 18:11:52

Updated to revision 1577.
~/waste/ufoai$ cd src/
~/waste/ufoai/src$ make
* [UFO] ../debugi386/client/cl_actor.o
* [UFO] ../debugi386/client/cl_basemanagement.o
* [UFO] ../debugi386/client/cl_campaign.o
client/cl_campaign.c: In function 'CL_GameSave':
client/cl_campaign.c:1629: warning: unused variable
'message'
* [UFO] ../debugi386/client/cl_main.o
* [UFO] ../debugi386/client/cl_menu.o
* [UFO] ../debugi386/client/common.o
* [UFO] ../debugi386/client/q_shared.o
* [UFO] ...linking
../debugi386/client/cl_team.o: In function
`CL_SendTeamInfo':
client/cl_team.c:989: undefined reference to
`MSG_WriteByte'
client/cl_team.c:990: undefined reference to
`MSG_WriteByte'
client/cl_team.c:1003: undefined reference to
`MSG_WriteByte'
client/cl_team.c:1007: undefined reference to
`MSG_WriteByte'
client/cl_team.c:1020: undefined reference to
`MSG_WriteByte'
../debugi386/client/sv_ccmds.o:server/sv_ccmds.c:446:
more undefined references to `MSG_WriteByte' follow
collect2: ld returned 1 exit status
make[1]: *** [../debugi386/ufo] Error 1
make: *** [build_debug] Error 2

===== Comments Ported from Sourceforge =====

====== hoehrer (2006-06-18 21:38:39) ======

Logged In: YES
user_id=1434318

What happends if you do a

make clean

before the comile? This looks like a header has been
updated/changed, which is not recognized by a simple make.
So a "make clean" is needed basically everytime a *.h file
has been changed.

Please post your results here.

Werner
====== nobody (2006-06-19 08:23:04) ======

Logged In: NO

which rev? debug build?
====== mikonmimuw (2006-06-19 13:00:24) ======

Logged In: YES
user_id=1323456

That was easy. After make clean everything works fine. :)

~/waste/ufoai$ svn switch
https://svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_2
.
At revision 1587.
~/waste/ufoai/src$ make

* [UFO] ../debugi386/client/cl_actor.o

* [UFO] ../debugi386/client/cl_basemanagement.o

* [UFO] ../debugi386/client/cl_research.o

* [UFO] ../debugi386/client/cl_market.o

client/cl_market.c: In function 'AIR_GetStorageSupplyCount':

client/cl_market.c:88: warning: value computed is not used

* [UFO] ../debugi386/client/cl_campaign.o

client/cl_campaign.c: In function 'CL_GameSave':

client/cl_campaign.c:1629: warning: unused variable 'message'

* [UFO] ../debugi386/client/cl_fx.o

* [UFO] ../debugi386/client/cl_input.o

* [UFO] ../debugi386/client/cl_le.o

* [UFO] ../debugi386/client/cl_main.o

* [UFO] ../debugi386/client/cl_menu.o

* [UFO] ../debugi386/client/cl_parse.o

* [UFO] ../debugi386/client/cl_particle.o

* [UFO] ../debugi386/client/cl_shader.o

* [UFO] ../debugi386/client/cl_scrn.o

* [UFO] ../debugi386/client/cl_sequence.o

* [UFO] ../debugi386/client/cl_team.o

* [UFO] ../debugi386/client/cl_inventory.o

* [UFO] ../debugi386/client/cl_ufopedia.o

* [UFO] ../debugi386/client/cl_view.o

* [UFO] ../debugi386/client/console.o

* [UFO] ../debugi386/client/keys.o

* [UFO] ../debugi386/client/snd_dma.o

* [UFO] ../debugi386/client/snd_mem.o

* [UFO] ../debugi386/client/snd_mix.o

* [UFO] ../debugi386/client/cmd.o

* [UFO] ../debugi386/client/cmodel.o

* [UFO] ../debugi386/client/common.o

* [UFO] ../debugi386/client/crc.o

* [UFO] ../debugi386/client/cvar.o

* [UFO] ../debugi386/client/files.o

* [UFO] ../debugi386/client/md4.o

* [UFO] ../debugi386/client/net_chan.o

* [UFO] ../debugi386/client/scripts.o

* [UFO] ../debugi386/client/sv_ccmds.o

* [UFO] ../debugi386/client/sv_game.o

* [UFO] ../debugi386/client/sv_init.o

* [UFO] ../debugi386/client/sv_main.o

* [UFO] ../debugi386/client/sv_send.o

* [UFO] ../debugi386/client/sv_user.o

* [UFO] ../debugi386/client/sv_world.o

* [UFO] ../debugi386/client/q_shared.o

* [OPT] ../debugi386/client/q_shlinux.o

* [UFO] ../debugi386/client/vid_so.o

* [UFO] ../debugi386/client/sys_linux.o

* [UFO] ../debugi386/client/glob.o

* [UFO] ../debugi386/client/net_udp.o

* [UFO] ../debugi386/client/snd_linux.o

* [UFO] ../debugi386/client/snd_oss.o

* [UFO] ../debugi386/client/snd_sdl.o

* [UFO] ../debugi386/client/cd_sdl.o

* [UFO] ../debugi386/client/snd_alsa.o

* [UFO] ...linking

* [LIB] ../debugi386/game/q_shared.o

* [LIB] ../debugi386/game/g_ai.o

* [LIB] ../debugi386/game/g_client.o

* [LIB] ../debugi386/game/g_cmds.o

* [LIB] ../debugi386/game/g_main.o

* [LIB] ../debugi386/game/g_spawn.o

* [LIB] ../debugi386/game/g_svcmds.o

* [LIB] ../debugi386/game/g_utils.o

* [LIB] ...linking

* [DED] ../debugi386/ded/cmd.o

* [DED] ../debugi386/ded/cmodel.o

* [DED] ../debugi386/ded/common.o

* [DED] ../debugi386/ded/crc.o

* [DED] ../debugi386/ded/cvar.o

* [DED] ../debugi386/ded/files.o

* [DED] ../debugi386/ded/md4.o

* [DED] ../debugi386/ded/net_chan.o

* [DED] ../debugi386/ded/scripts.o

* [DED] ../debugi386/ded/sv_ccmds.o

* [DED] ../debugi386/ded/sv_game.o

* [DED] ../debugi386/ded/sv_init.o

* [DED] ../debugi386/ded/sv_main.o

* [DED] ../debugi386/ded/sv_send.o

* [DED] ../debugi386/ded/sv_user.o

* [DED] ../debugi386/ded/sv_world.o

* [DED] ../debugi386/ded/q_shared.o

* [DED] ../debugi386/ded/cl_null.o

* [DED] ../debugi386/ded/cd_null.o

* [DED] ../debugi386/ded/q_shlinux.o

* [DED] ../debugi386/ded/sys_linux.o

* [DED] ../debugi386/ded/glob.o

* [DED] ../debugi386/ded/net_udp.o

* [DED] ...linking

* [REF] ../debugi386/ref_gl/gl_anim.o

* [REF] ../debugi386/ref_gl/gl_draw.o

* [REF] ../debugi386/ref_gl/gl_font.o

* [REF] ../debugi386/ref_gl/gl_image.o

* [REF] ../debugi386/ref_gl/gl_light.o

* [REF] ../debugi386/ref_gl/gl_mesh.o

* [REF] ../debugi386/ref_gl/gl_model.o

* [REF] ../debugi386/ref_gl/gl_rmain.o

* [REF] ../debugi386/ref_gl/gl_rmisc.o

* [REF] ../debugi386/ref_gl/gl_rsurf.o

* [REF] ../debugi386/ref_gl/gl_warp.o

* [REF] ../debugi386/ref_gl/gl_particle.o

* [REF] ../debugi386/ref_gl/gl_arb_shader.o

* [REF] ../debugi386/ref_gl/gl_shadows.o

* [REF] ../debugi386/ref_gl/qgl_linux.o

* [REF] ../debugi386/ref_gl/q_shared.o

* [REF] ../debugi386/ref_gl/q_shlinux.o

* [REF] ../debugi386/ref_gl/glob.o

* [REF] ../debugi386/ref_gl/gl_glx.o

* [GLX] ...linking

* [REF] ../debugi386/ref_gl/gl_sdl.o

* [SDL] ...linking

* [MAP] ../debugi386/tools/ufo2map/ufo2map.o

* [MAP] ../debugi386/tools/ufo2map/qrad3.o

* [MAP] ../debugi386/tools/ufo2map/qbsp3.o

* [MAP] ../debugi386/tools/ufo2map/brushbsp.o

* [MAP] ../debugi386/tools/ufo2map/csg.o

* [MAP] ../debugi386/tools/ufo2map/faces.o

* [MAP] ../debugi386/tools/ufo2map/glfile.o

* [MAP] ../debugi386/tools/ufo2map/levels.o

* [MAP] ../debugi386/tools/ufo2map/lightmap.o

* [MAP] ../debugi386/tools/ufo2map/map.o

* [MAP] ../debugi386/tools/ufo2map/nodraw.o

* [MAP] ../debugi386/tools/ufo2map/patches.o

* [MAP] ../debugi386/tools/ufo2map/portals.o

* [MAP] ../debugi386/tools/ufo2map/routing.o

* [MAP] ../debugi386/tools/ufo2map/textures.o

* [MAP] ../debugi386/tools/ufo2map/tree.o

* [MAP] ../debugi386/tools/ufo2map/writebsp.o

* [MAP] ../debugi386/tools/ufo2map/common/bspfile.o

* [MAP] ../debugi386/tools/ufo2map/common/cmdlib.o

* [MAP] ../debugi386/tools/ufo2map/common/l3dslib.o

* [MAP] ../debugi386/tools/ufo2map/common/lbmlib.o

* [MAP] ../debugi386/tools/ufo2map/common/mathlib.o

* [MAP] ../debugi386/tools/ufo2map/common/polylib.o

* [MAP] ../debugi386/tools/ufo2map/common/scriplib.o

* [MAP] ../debugi386/tools/ufo2map/common/threads.o

* [MAP] ../debugi386/tools/ufo2map/common/trace.o

* [MAP] ../debugi386/tools/ufo2map/common/trilib.o

* [MAP] ...linking



CFLAGS

-----------------------

-Wall -pipe -Dstricmp=strcasecmp -D_BSD_SOURCE
-D_XOPEN_SOURCE -std=c89 -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -DUSE_SDL -DUSE_ALSA -DHAVE_VIDMODE
-DHAVE_GETTEXT -g -O0 -D_FORTIFY_SOURCE=2 -DDEBUG -fweb
-DPARANOID



LDFLAGS

-----------------------

-ldl -lm -lvorbisfile -lvorbis -lasound -L/usr/lib -lSDL
-lpthread -lasound



Options

-----------------------

BUILD_SDLUFO = YES

BUILD_GLX = YES

BUILD_DEDICATED = YES

BUILD_ALSA = YES

BUILD_WITH_SHADER = NO

HAVE_IPV6 = NO

HAVE_GETTEXT = YES

BUILD_WITH_DGA = NO

BUILD_WITH_VIDMODE = YES

BUILD_WITH_MMX = NO

BUILD_FOR_PROFILING = NO

BUILD_COMPILETOOLS = YES

BUILD_PARANOID = YES



Note

-----------------------

This is the debug version.

For better performace type 'make release' to build optimzed
binaries.

To debug this version type 'gdb ufo'

Enter 'run +set vid_fullscreen 0 +set vid_grabmouse 0'

After a crash type 'bt' to gdb console



Gettext

-----------------------

Type 'make lang' to compile the gettext translation files.
Type 'make update-po' in src/po to update with newest strings



Maps

-----------------------

Type 'make' in base/maps to compile the maps



cp ../debugi386/ufoded ../ufoded

cp ../debugi386/ufo ../ufo

cp ../debugi386/ufo2map ../ufo2map

cp ../debugi386/ref_sdl.so ../ref_glx.so

cp ../debugi386/ref_glx.so ../ref_sdl.so

cp ../debugi386/game.so ../base/game.so

====== hoehrer (2006-06-19 14:21:18) ======

Logged In: YES
user_id=1434318

Ok, then i'm closing this 'bug' :)

Werner
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif