Thanks, that fixed it. But I don't see why Debian systems are order 
sensitive and Redhat systems aren't.

Josh

On 07/29/2014 05:44 AM, Robie Basak wrote:
> You must put libraries after the objects that need them. See:
> https://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
>
> So you probably want: gcc -O2 -Wuninitialized -Wall -D_FORTIFY_SOURCE=2
> -Wformat -Wno-multichar -Wreturn-type -Wswitch -Wunused-variable -g
> -pthread -o sys_basher sys_main.o sys_utils.o sys_disk.o sys_kernel.o
> sys_fp.o sys_int.o sys_mem.o lin_utils.o sys_sensors3.o -lsensors -lm
>
> Since this is not a bug in Ubuntu, I'm marking this as Invalid. If you
> disagree, please explain and set back to New.
>
> See http://www.ubuntu.com/support/community if you need further
> community support.
>
> ** Changed in: lm-sensors (Ubuntu)
>         Status: New => Invalid
>


-- 
B. Joshua Rosen, President
Polybus Systems Corp
23 Providence Rd
Westford, MA 01886 USA
P (978) 692-4828
M (978) 828-0944

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

Title:
  -lsensors doesn't link to libsensors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lm-sensors/+bug/1348945/+subscriptions

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

Reply via email to