gcc 4.6 does not obtain modules from libraries unless the library  comes
later in the command, after the module that requires it.

This problem was present in 2 places:
1. In Makefile.in  hamfax_LDFLAGS must be after the hamfax .o files.
2. In configure QT_LIBS must be after the qt* test program.

Modifying the configure file may not be a correct fix, since it may
overwritten if autoconf or autoreconf is later used.


** Patch added: "move libs later in ld commands in configure & Makefile.in"
   
https://bugs.launchpad.net/ubuntu/+source/hamfax/+bug/770985/+attachment/2170602/+files/770985.patch

** Tags added: patch

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

Title:
  hamfax version 0.6.4-5.1 failed to build on amd64 with GCC-4.6/oneiric

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hamfax/+bug/770985/+subscriptions

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

Reply via email to