project-navigation
Personal tools

Author Topic: Error compiling uforadiant on ubuntu 9.04  (Read 3160 times)

Offline Niggle

  • Cannon Fodder
  • **
  • Posts: 6
    • View Profile
Error compiling uforadiant on ubuntu 9.04
« on: October 06, 2009, 12:15:02 pm »
Hi all,

Using Ubuntu 9.04 64 bit.
Just done an "svn up" to get the latest revision (26514).
Can compile the game and maps OK, but get the following when trying to compile radiant...

Basically lots of errors relating to "create_menu_item_with_mnemonic" and similar named functions.

Code: [Select]
* [RAD] ... linking -rdynamic (-Wl,--export-dynamic -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lpangox-1.0 -lX11 -lxml2 -lgtksourceview-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lgthread-2.0 -lopenal   -lvorbisfile -lvorbis -logg)
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/brushmanip.o: In function `Brush_constructMenu(_GtkMenu*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1304: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1305: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1306: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1307: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1313: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/brushmanip.o:/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1314: more undefined references to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/brushmanip.o: In function `Brush_constructMenu(_GtkMenu*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1331: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1333: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1334: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/brushmodule.o: In function `LatchedValue<bool>::import(bool)':
brushmodule.cpp:(.text._ZN12LatchedValueIbE6importEb[LatchedValue<bool>::import(bool)]+0x37): undefined reference to `PreferencesDialog_restartRequired(char const*)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/colorscheme.o: In function `create_colours_menu()':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/colorscheme.cpp:171: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/colorscheme.cpp:172: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/colorscheme.cpp:173: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/colorscheme.cpp:174: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/colorscheme.cpp:178: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/colorscheme.o:/home/nigel/Public/ufoai/src/tools/radiant/radiant/colorscheme.cpp:179: more undefined references to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/filters.o: In function `Filters_constructMenu(_GtkMenu*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:174: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:176: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:178: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:180: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:182: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/filters.o:/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:184: more undefined references to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/filters.o: In function `Filters_constructMenu(_GtkMenu*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:212: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:214: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/grid.o: In function `Grid_constructMenu(_GtkMenu*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/grid.cpp:198: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/grid.cpp:199: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/grid.cpp:200: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/grid.cpp:201: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/grid.cpp:202: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/grid.o:/home/nigel/Public/ufoai/src/tools/radiant/radiant/grid.cpp:203: more undefined references to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/lastused.o: In function `MRU_constructMenu(_GtkMenu*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/lastused.cpp:203: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, char const*, Callback0<void> const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/lastused.cpp:208: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, char const*, Callback0<void> const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/lastused.cpp:213: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, char const*, Callback0<void> const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/lastused.cpp:218: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, char const*, Callback0<void> const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/lastused.o: In function `MRU_Activate':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/lastused.cpp:160: undefined reference to `Map_LoadFile(char const*)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/lastused.o: In function `LoadMRU::load()':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/lastused.cpp:187: undefined reference to `ConfirmModified(char const*)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/url.o: In function `OpenURL(char const*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/url.cpp:54: undefined reference to `gtk_MessageBox(_GtkWidget*, char const*, char const*, EMessageBoxType, EMessageBoxIcon)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/sidebar/texturebrowser.o: In function `TextureBrowser_constructToolsMenu':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/sidebar/texturebrowser.cpp:1139: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/sidebar/texturebrowser.o: In function `TextureBrowser_constructViewMenu':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/sidebar/texturebrowser.cpp:1122: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/sidebar/texturebrowser.cpp:1125: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/sidebar/texturebrowser.cpp:1126: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/sidebar/texturebrowser.cpp:1127: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/dialogs/findbrush.o: In function `FindBrushOrEntity()':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/dialogs/findbrush.cpp:99: undefined reference to `create_dialog_window(_GtkWindow*, char const*, void (*)(), void*, int, int)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/dialogs/findbrush.cpp:147: undefined reference to `create_dialog_button(char const*, void (*)(), void*)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/dialogs/findbrush.cpp:153: undefined reference to `create_dialog_button(char const*, void (*)(), void*)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/dialogs/light.o: In function `DoLightIntensityDlg(int*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/dialogs/light.cpp:39: undefined reference to `create_modal_dialog_window(_GtkWindow*, char const*, ModalDialog&, int, int)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/dialogs/light.cpp:70: undefined reference to `create_modal_dialog_button(char const*, ModalDialogButton&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/dialogs/light.cpp:76: undefined reference to `create_modal_dialog_button(char const*, ModalDialogButton&)'
collect2: ld returned 1 exit status
make: *** [radiant/uforadiant] Error 1

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Error compiling uforadiant on ubuntu 9.04
« Reply #1 on: October 06, 2009, 01:04:03 pm »
using the same system for developing, too

did you try to run make clean-uforadiant?

Offline Niggle

  • Cannon Fodder
  • **
  • Posts: 6
    • View Profile
Re: Error compiling uforadiant on ubuntu 9.04
« Reply #2 on: October 06, 2009, 01:45:17 pm »
Thanks, that fixed it.

I'd just done a "make clean". Didn't realise there was a separate clean target for radiant.