Luz

Cannot build on Oneiric

Asked by Alexander Hunziker

I've been taking my first steps with Luz on Natty recently. I just upgraded to Oneiric Alpha 2 and now I cannot build Luz anymore, gcc chokes during the compilation process. I'll just paste the beginning of the output here:

hunzikea@AlexT400s:~/vcs/luz$ make
for dir in input-manager spectrum-analyzer; do make -C $dir all; done
make[1]: Entering directory `/home/hunzikea/vcs/luz/input-manager'
gcc -o input-manager -pthread -lcwiimote -lportmidi -lporttime -I/usr/include/libcwiimote `pkg-config gtkmm-2.4 unique-1.0 liblo sdl bluez --cflags --libs` *.cc
/tmp/cc6H9Cpf.o: In function `joystick_init()':
input-joystick.cc:(.text+0x5): undefined reference to `SDL_Quit'
input-joystick.cc:(.text+0xf): undefined reference to `SDL_Init'
/tmp/cc6H9Cpf.o: In function `joystick_count()':
input-joystick.cc:(.text+0x1a): undefined reference to `SDL_NumJoysticks'
/tmp/cc6H9Cpf.o: In function `joystick_open_by_index(int)':
input-joystick.cc:(.text+0x34): undefined reference to `operator new(unsigned long)'
input-joystick.cc:(.text+0x5b): undefined reference to `operator delete(void*)'
/tmp/cc6H9Cpf.o: In function `InputJoystick::InputJoystick(int)':
input-joystick.cc:(.text+0x99): undefined reference to `std::allocator<char>::allocator()'
input-joystick.cc:(.text+0xa3): undefined reference to `SDL_JoystickName'
input-joystick.cc:(.text+0xba): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
input-joystick.cc:(.text+0xc6): undefined reference to `std::allocator<char>::~allocator()'
input-joystick.cc:(.text+0xd0): undefined reference to `SDL_JoystickOpen'
input-joystick.cc:(.text+0xeb): undefined reference to `SDL_JoystickNumAxes'
input-joystick.cc:(.text+0x146): undefined reference to `SDL_JoystickNumButtons'
input-joystick.cc:(.text+0x180): undefined reference to `SDL_JoystickNumHats'
input-joystick.cc:(.text+0x1c0): undefined reference to `std::allocator<char>::~allocator()'
input-joystick.cc:(.text+0x1d5): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/tmp/cc6H9Cpf.o: In function `InputJoystick::device_name()':
input-joystick.cc:(.text+0x218): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'

And it goes on an on. If needed I can post the entire output. Does Oneiric no longer provide some functionality needed by Luz? How can I get it to build?

Question information

Language:
English Edit question
Status:
Answered
For:
Luz Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Rafał Cieślak (rafalcieslak256) said :
#2

This seems to be a bug (seems to be a very significant one), as I can confirm I get exacly the same errors when trying to compile on Ubuntu Oneric.

Revision history for this message
Ian McIntosh (ian-mcintosh) said :
#3

Luz has several problems on Ubuntu Oneric. See linked bug. Help with these issues would be most welcome. I'm still on 11.04.

Can you help with this problem?

Provide an answer of your own, or ask Alexander Hunziker for more information if necessary.

To post a message you must log in.