Public bug reported:

When I compile a open source software
"2HDMC"(http://2hdmc.hepforge.org/) on my computer,  it occurs
"SM.cpp:(.text+0x4d8): undefined reference to `gsl_matrix_set'".

platform: Ubuntu12.04LST

The compiler:  g++ version 4.6.3)

flags :   -lgsl -lgslcblas -Llib -l2HDMC


when I use flags:  -Llib -l2HDMC   -lgsl -lgslcblas, it works!

when I user g++-4.4 , the makefile also works!

So, it must be wrong on the flag orders of g++-4.6.3

** Affects: gcc-4.6 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  compiler flags order bug

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to