Can't compile MESS64 - svn 10059

10.6.6, latest xcode, clean compile.

Code:
Compiling src/version.c...
Linking MESS64...
Undefined symbols:
  "_drivers", referenced from:
      cli_info_listdevices(_core_options*, char const*)in libemu.a(clifront.o)
      cli_info_listfull(_core_options*, char const*)in libemu.a(clifront.o)
      cli_info_listroms(_core_options*, char const*)in libemu.a(clifront.o)
      cli_info_listcrc(_core_options*, char const*)in libemu.a(clifront.o)
      cli_info_listclones(_core_options*, char const*)in libemu.a(clifront.o)
      cli_info_listxml(_core_options*, char const*)in libemu.a(clifront.o)
      match_roms(_core_options*, char const*, int, int*)in libemu.a(clifront.o)
      match_roms(_core_options*, char const*, int, int*)in libemu.a(clifront.o)
      info_verifysamples(_core_options*, char const*)in libemu.a(clifront.o)
      info_verifyroms(_core_options*, char const*)in libemu.a(clifront.o)
      info_listsoftware(_core_options*, char const*)in libemu.a(clifront.o)
      cli_info_listsource(_core_options*, char const*)in libemu.a(clifront.o)
      cli_execute(int, char**, osd_interface&, _options_entry const*)in libemu.a(clifront.o)
      cli_info_listbrothers(_core_options*, char const*)in libemu.a(clifront.o)
      info_listmedia(_core_options*, char const*)in libemu.a(clifront.o)
      cli_info_listsamples(_core_options*, char const*)in libemu.a(clifront.o)
      driver_get_name(char const*)in libemu.a(driver.o)
      driver_get_clone(game_driver const*) in libemu.a(driver.o)
      driver_get_compatible(game_driver const*) in libemu.a(driver.o)
      driver_get_compatible(game_driver const*) in libemu.a(driver.o)
      menu_select_game(running_machine*, _ui_menu*, void*, void*)in libemu.a(uimenu.o)
      menu_select_game(running_machine*, _ui_menu*, void*, void*)in libemu.a(uimenu.o)
      warnings_string(running_machine*, astring&)      in libemu.a(ui.o)
      validate_driver(machine_config const&, tagmap_t<game_driver const*>&, tagmap_t<game_driver const*>&)in libemu.a(validity.o)
      mame_validitychecks(game_driver const*) in libemu.a(validity.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [MESS64] Error 1