Link failure in FreeBSD 10.0

maxmax
edited 2014 Mar 3 in Technical Support
Hi,
I'm trying to update the FreeBSD doomsday port from 1.12.2 to 1.13.2. I'm getting errors when linking the client:
--- doomsday ---
c++ -lm -Wl,-O1 -pthread -Wl,-rpath,/usr/local/lib/qt4 -o doomsday lzss.o  dd_uinit.o  joystick.o  api_uri.o  audiodriver.o  audiodriver_music.o  m_mus2midi.o  s_cache.o  s_environ.o  s_logic.o  s_main.o  s_mus.o  s_sfx.o  s_wav.o  sys_audiod_dummy.o  busymode.o  cl_frame.o  cl_infine.o  cl_main.o  cl_mobj.o  cl_player.o  cl_sound.o  cl_world.o  clientapp.o  color.o  con_bar.o  con_config.o  con_data.o  con_main.o  dd_help.o  dd_loop.o  dd_main.o  dd_pinit.o  dd_plugin.o  dd_wad.o  def_data.o  def_main.o  def_read.o  dualstring.o  edit_bias.o  face.o  file.o  filehandle.o  fileid.o  fs_main.o  fs_scheme.o  fs_util.o  lumpindex.o  manifest.o  searchpath.o  sys_direc.o  game.o  games.o  dgl_common.o  dgl_draw.o  gl_defer.o  gl_deferredapi.o  gl_draw.o  gl_drawvectorgraphic.o  gl_main.o  gl_tex.o  gl_texmanager.o  texturecontent.o  svg.o  sys_opengl.o  hedge.o  library.o  m_decomp64.o  m_misc.o  m_nodepile.o  main_client.o  mesh.o  masterserver.o  monitor.o  net_buf.o  net_demo.o  net_event.o  net_main.o  net_msg.o  net_ping.o  serverlink.o  sys_network.o  ui_mpi.o  r_util.o  api_render.o  biasdigest.o  biasillum.o  biassource.o  biassurface.o  biastracker.o  billboard.o  blockmapvisual.o  cameralensfx.o  consoleeffect.o  decoration.o  drawlist.o  drawlists.o  colorfilter.o  lensflares.o  postprocessing.o  vignette.o  huecirclevisual.o  lightdecoration.o  lightgrid.o  lumobj.o  projector.o  r_draw.o  r_fakeradio.o  r_main.o  r_things.o  rend_clip.o  rend_dynlight.o  rend_fakeradio.o  rend_font.o  rend_halo.o  rend_main.o  rend_model.o  rend_particle.o  rend_shadow.o  rendpoly.o  rendersystem.o  shadowedge.o  sky.o  skyfixedge.o  surfacedecorator.o  trianglestripbuilder.o  viewports.o  vissprite.o  vlight.o  vr.o  walledge.o  wallspec.o  abstractfont.o  animgroup.o  api_material.o  api_resource.o  bitmapfont.o  colorpalette.o  compositebitmapfont.o  compositetexture.o  fontmanifest.o  fontscheme.o  hq2x.o  image.o  material.o  materialanimation.o  materialarchive.o  materialmanifest.o  materialscheme.o  materialsnapshot.o  materialvariant.o  model.o  patch.o  patchname.o  pcx.o  resourcesystem.o  sprite.o  texture.o  texturemanifest.o  texturescheme.o  texturevariant.o  tga.o  wad.o  zip.o  settingsregister.o  sys_system.o  tab_tables.o  b_command.o  b_context.o  b_device.o  b_main.o  b_util.o  busyvisual.o  clientwindow.o  dd_input.o  aboutdialog.o  audiosettingsdialog.o  coloradjustmentdialog.o  inputdialog.o  inputsettingsdialog.o  messagedialog.o  networksettingsdialog.o  videosettingsdialog.o  vrsettingsdialog.o  renderersettingsdialog.o  rendererappearanceeditor.o  fi_main.o  finaleinterpreter.o  commandaction.o  childwidgetorganizer.o  data.o  dialogcontentstylist.o  fontlinewrapping.o  gltextcomposer.o  gridlayout.o  guirootwidget.o  guiwidget.o  item.o  listdata.o  margins.o  proceduralimage.o  sequentiallayout.o  signalaction.o  textdrawable.o  widgetactions.o  inputsystem.o  mouse_qt.o  nativeui.o  p_control.o  style.o  styledlogsinkformatter.o  sys_input.o  ui2_main.o  ui_main.o  ui_panel.o  vrwindowtransform.o  blurwidget.o  busywidget.o  buttonwidget.o  choicewidget.o  commandwidget.o  compositorwidget.o  consolecommandwidget.o  consolewidget.o  cvarchoicewidget.o  cvarsliderwidget.o  cvartogglewidget.o  dialogwidget.o  documentwidget.o  foldpanelwidget.o  gameselectionwidget.o  gamewidget.o  gameuiwidget.o  gridpopupwidget.o  keygrabberwidget.o  labelwidget.o  lineeditwidget.o  logwidget.o  menuwidget.o  notificationwidget.o  panelwidget.o  popupmenuwidget.o  popupwidget.o  profilepickerwidget.o  progresswidget.o  scriptcommandwidget.o  scrollareawidget.o  sliderwidget.o  taskbarwidget.o  togglewidget.o  variabletogglewidget.o  windowsystem.o  windowtransform.o  zonedebug.o  downloaddialog.o  processcheckdialog.o  updateavailabledialog.o  updater.o  updatersettings.o  updatersettingsdialog.o  uri.o  api_map.o  api_mapedit.o  blockmap.o  convexsubspace.o  hplane.o  linesegment.o  partitioner.o  superblockmap.o  bspleaf.o  bspnode.o  contact.o  contactspreader.o  dmuargs.o  entitydatabase.o  entitydef.o  generators.o  grabbable.o  hand.o  huecircle.o  interceptor.o  line.o  lineblockmap.o  linesighttest.o  map.o  mapelement.o  mapobject.o  maputil.o  p_mobj.o  p_particle.o  p_players.o  p_ticker.o  plane.o  polyobj.o  propertyvalue.o  reject.o  sector.o  sectorcluster.o  surface.o  thinkers.o  vertex.o  world.o  sys_audiod_sdlmixer.o  moc_clientapp.o  moc_masterserver.o  moc_serverlink.o  moc_clientwindow.o  moc_aboutdialog.o  moc_audiosettingsdialog.o  moc_coloradjustmentdialog.o  moc_inputsettingsdialog.o  moc_networksettingsdialog.o  moc_renderersettingsdialog.o  moc_videosettingsdialog.o  moc_vrsettingsdialog.o  moc_rendererappearanceeditor.o  moc_signalaction.o  moc_choicewidget.o  moc_commandwidget.o  moc_consolewidget.o  moc_cvarchoicewidget.o  moc_cvarsliderwidget.o  moc_cvartogglewidget.o  moc_dialogwidget.o  moc_foldpanelwidget.o  moc_lineeditwidget.o  moc_logwidget.o  moc_menuwidget.o  moc_notificationwidget.o  moc_panelwidget.o  moc_popupwidget.o  moc_profilepickerwidget.o  moc_scrollareawidget.o  moc_sliderwidget.o  moc_taskbarwidget.o  moc_togglewidget.o  moc_updater.o  moc_downloaddialog.o  moc_updateavailabledialog.o  moc_updatersettingsdialog.o    -L/usr/local/lib/qt4 -L/usr/local/lib -lm -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_mixer -lz -L/tmp/doomsday/work/.build/client/../libdeng2 -ldeng2 -L/tmp/doomsday/work/.build/client/../libshell -ldeng_shell -L/tmp/doomsday/work/.build/client/../libgui -ldeng_gui -L/tmp/doomsday/work/.build/client/../libdeng1 -ldeng1 -lQtOpenGL -L/usr/local/lib/qt4 -lQtGui -lQtNetwork -lQtCore -lGL
dgl_common.o: In function `GL_ModulateTexture(int)':
../../doomsday-1.13.2/doomsday/client/src/gl/dgl_common.cpp:(.text+0xd7): undefined reference to `de::GLInfo::extensions()'
dgl_common.o: In function `envAddColoredAlpha(int, unsigned int)':
../../doomsday-1.13.2/doomsday/client/src/gl/dgl_common.cpp:(.text+0x709): undefined reference to `de::GLInfo::extensions()'
../../doomsday-1.13.2/doomsday/client/src/gl/dgl_common.cpp:(.text+0x74c): undefined reference to `de::GLInfo::extensions()'
../../doomsday-1.13.2/doomsday/client/src/gl/dgl_common.cpp:(.text+0x804): undefined reference to `de::GLInfo::extensions()'
dgl_common.o: In function `DGL_SetScissor':
../../doomsday-1.13.2/doomsday/client/src/gl/dgl_common.cpp:(.text+0x976): undefined reference to `de::GLState::current()'
dgl_common.o: In function `DGL_GetIntegerv(int, int*)':
../../doomsday-1.13.2/doomsday/client/src/gl/dgl_common.cpp:(.text+0xa8d): undefined reference to `de::GLState::current()'
../../doomsday-1.13.2/doomsday/client/src/gl/dgl_common.cpp:(.text+0xaa7): undefined reference to `de::GLInfo::extensions()'
../../doomsday-1.13.2/doomsday/client/src/gl/dgl_common.cpp:(.text+0xab4): undefined reference to `de::GLInfo::extensions()'
dgl_common.o: In function `DGL_PopState()':
../../doomsday-1.13.2/doomsday/client/src/gl/dgl_common.cpp:(.text+0xd1a): undefined reference to `de::GLState::current()'
And many more similar error messages.
Both clang 3.3 and gcc 4.6 fail in the same place with the same errors.
Any idea of what the problem might be?

Thanks,
Max.

Comments

Sign In or Register to comment.