Re: [Bug 1348945] Re: -lsensors doesn't link to libsensors

2014-07-29 Thread B. Joshua Rosen
No Fedora has a later version of gcc, /home/bjrosen> gcc --version gcc (GCC) 4.8.3 20140624 (Red Hat 4.8.3-1) gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 RHEL 6.5 has an older version gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4) There is no order sensitivity in Fedora 20 or RHEL (I use the Scientific Lin

[Bug 1348945] Re: -lsensors doesn't link to libsensors

2014-07-29 Thread Phillip Susi
Probably because redhat has an older version of gcc. -- 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:

Re: [Bug 1348945] Re: -lsensors doesn't link to libsensors

2014-07-29 Thread B. Joshua Rosen
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

[Bug 1348945] Re: -lsensors doesn't link to libsensors

2014-07-29 Thread Robie Basak
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_bas

[Bug 1348945] Re: -lsensors doesn't link to libsensors

2014-07-26 Thread B. Joshua Rosen
The source code for sys_basher is attached. ** Attachment added: "sys_basher-2.0.1.tar.gz" https://bugs.launchpad.net/ubuntu/+source/lm-sensors/+bug/1348945/+attachment/4163369/+files/sys_basher-2.0.1.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which