project-navigation
Personal tools

Author Topic: Linker error with dev-cpp  (Read 2870 times)

Vla

  • Guest
Linker error with dev-cpp
« on: July 24, 2006, 04:36:04 am »
Hello!
I'm currently trying to get UFO:AI svn compiled under windows (can't use it with ilnux because the open source ati r300 drivers f*ck up the graphics).
So far ref_gl.dll builds just fine.
But with ufo[.dev] I recieve following linker error in the end:


Code: [Select]
g++.exe ports/win32/cd_win.o client/cl_actor.o client/cl_basemanagement.o client/cl_campaign.o client/cl_fx.o client/cl_input.o client/cl_le.o client/cl_main.o client/cl_menu.o client/cl_parse.o client/cl_particle.o client/cl_research.o client/cl_scrn.o client/cl_sequence.o client/cl_team.o client/cl_ufopedia.o client/cl_view.o qcommon/cmd.o qcommon/cmodel.o qcommon/common.o ports/win32/conproc.o client/console.o qcommon/crc.o qcommon/cvar.o qcommon/files.o ports/win32/in_win.o client/keys.o qcommon/md4.o qcommon/net_chan.o ports/win32/net_wins.o game/q_shared.o ports/win32/q_shwin.o qcommon/scripts.o client/snd_dma.o client/snd_mem.o client/snd_mix.o ports/win32/snd_win.o server/sv_ccmds.o server/sv_game.o server/sv_init.o server/sv_main.o server/sv_send.o server/sv_user.o server/sv_world.o ports/win32/sys_win.o ports/win32/vid_dll.o client/x86.o client/cl_shader.o client/cl_market.o ufo_private.res -o "..\..\trunk\ufo.exe" -L"f:/dev-cpp/lib" -L"C:/Dev-Cpp/lib" -mwindows -lvorbisfile -lvorbis -logg -lwinmm  -lwsock32  -lkernel32  -luser32  -lgdi32  -lgmon win32/intl.lib  -lSDL -lSDL_ttf win32/libjpeg.lib  -march=athlon-xp -mmmx

client/cl_basemanagement.o:cl_basemanagement.c:(.text+0x2ba9): undefined reference to `CL_AircraftSelect'
client/cl_campaign.o:cl_campaign.c:(.text+0x9d1): undefined reference to `CL_NewAircraft'

client/cl_campaign.o:cl_campaign.c:(.text+0x1514): undefined reference to `CL_AircraftSelect'
client/cl_campaign.o:cl_campaign.c:(.text+0x16f3): undefined reference to `CL_AircraftSelect'
client/cl_campaign.o:cl_campaign.c:(.text+0x17d5): undefined reference to `CL_AircraftStatusToName'
client/cl_campaign.o:cl_campaign.c:(.text+0x188b): undefined reference to `numAircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x18a4): undefined reference to `aircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x18c1): undefined reference to `aircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x1951): undefined reference to `aircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x196d): undefined reference to `aircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x23a5): undefined reference to `CL_AircraftStatusToName'
client/cl_campaign.o:cl_campaign.c:(.text+0x27c3): undefined reference to `CL_CampaignRunAircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x2c2d): undefined reference to `numAircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x2c34): undefined reference to `aircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x2c4d): undefined reference to `aircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x2c70): undefined reference to `numAircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x35b6): undefined reference to `CL_CheckAircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x477f): undefined reference to `CL_AircraftReturnToBase_f'

client/cl_campaign.o:cl_campaign.c:(.text+0x51c9): undefined reference to `numAircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x51f8): undefined reference to `numAircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x51fe): undefined reference to `aircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x522f): undefined reference to `numAircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x5236): undefined reference to `aircraft'
client/cl_campaign.o:cl_campaign.c:(.text+0x5797): undefined reference to `CL_AircraftInit'
client/cl_campaign.o:cl_campaign.c:(.text+0x6282): undefined reference to `CL_AircraftInit'
client/cl_campaign.o:cl_campaign.c:(.text+0x6793): undefined reference to `CL_AircraftInit'
client/cl_campaign.o:cl_campaign.c:(.data+0x4): undefined reference to `CL_AircraftStart_f'
client/cl_campaign.o:cl_campaign.c:(.data+0xc): undefined reference to `CL_ListAircraft_f'
client/cl_campaign.o:cl_campaign.c:(.data+0x14): undefined reference to `CL_AircraftSelect'
client/cl_campaign.o:cl_campaign.c:(.data+0x1c): undefined reference to `CL_AircraftInit'
client/cl_campaign.o:cl_campaign.c:(.data+0x24): undefined reference to `CL_AircraftEquipmenuMenuInit_f'
client/cl_campaign.o:cl_campaign.c:(.data+0x2c): undefined reference to `CL_AircraftEquipmenuMenuWeaponsClick_f'
client/cl_campaign.o:cl_campaign.c:(.data+0x34): undefined reference to `CL_AircraftEquipmenuMenuShieldsClick_f'
client/cl_campaign.o:cl_campaign.c:(.data+0x3c): undefined reference to `MN_NextAircraft_f'
client/cl_campaign.o:cl_campaign.c:(.data+0x44): undefined reference to `MN_PrevAircraft_f'
client/cl_campaign.o:cl_campaign.c:(.data+0x4c): undefined reference to `CL_NewAircraft_f'
client/cl_campaign.o:cl_campaign.c:(.data+0x54): undefined reference to `CL_AircraftReturnToBase_f'
client/cl_research.o:cl_research.c:(.text+0x2a74): undefined reference to `numAircraft'
client/cl_research.o:cl_research.c:(.text+0x2a7e): undefined reference to `aircraft'
client/cl_research.o:cl_research.c:(.text+0x2ab0): undefined reference to `numAircraft'

client/cl_team.o:cl_team.c:(.text+0x25ad): undefined reference to `CL_NewAircraft'
client/cl_ufopedia.o:cl_ufopedia.c:(.text+0x936): undefined reference to `CL_GetAircraft'
client/cl_market.o:cl_market.c:(.text+0x430): undefined reference to `numAircraft'
client/cl_market.o:cl_market.c:(.text+0x43e): undefined reference to `aircraft'
client/cl_market.o:cl_market.c:(.text+0x626): undefined reference to `numAircraft'
client/cl_market.o:cl_market.c:(.text+0xa44): undefined reference to `numAircraft'
client/cl_market.o:cl_market.c:(.text+0xa68): undefined reference to `aircraft'
collect2: ld returned 1 exit status

make.exe: *** [../../trunk/ufo.exe] Error 1


Am I doing sth. wrong?

Vla

  • Guest
Linker error with dev-cpp
« Reply #1 on: July 24, 2006, 01:58:46 pm »
Seems this has been fixed during the last hours. Thank you very much!