The undefined reference is certainly link stage; can you show me a
cut&paste from the terminal showing the exact compile line and sequence
of errors.

One difference from 10.04 is that the linker is more touchy about the
order of link options, so make sure the -lrt is after the .o which
requires it.

Dave

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/882954

Title:
  gcc fails to compile legal code

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/882954/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to