Re: IPLIKE Installation Error
2011-05-10 20:01:18 GMT
Searched a little bit and found out the --hash-style=gnu passed by gcc to linker doesn't work. The linker in the RHEL 5 doesn't recognize it. I tried to modify the --hash-style=gnu as --hash-style=both in configure file but the gcc still pass the --hash-style=gnu to linker. This is really frustrating.
Lou
Thanks Benjamin. I guess it should be the compiler issue. I have RHEL 5 not 6. The new 2.0.2 version gave me the same error. I looked at the config.log and found the reason it caused the error:
/usr/bin/ld: unrecognized option '--hash-style=gnu'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
I checked ld. It's under /usr/bin. The hash-style=gnu could be the reason why it doesn't work. But I haven't figured out why it doesn't work.On Mon, May 9, 2011 at 3:11 PM, Benjamin Reed <ranger <at> opennms.org> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 5/9/11 3:24 PM, Hailu Meng wrote:You can wait for us to make a binary (which will be a while, CentOS has
> Thanks Benjamin. I ran the rpmbuild but got error below:
>
> checking for i686-redhat-linux-gnu-gcc... no
> checking for gcc... gcc
> checking for C compiler default output file name... configure: error: C
compiler cannot create executables
> See `config.log' for more details.
>
>
> I checked my RHEL5. It has gcc and g++ under /usr/bin. Should I
uninstall these built-in compiler and reinstall them? Thanks a lot for
your help.
not yet updated to RHEL6), or continue to attempt to build yourself. If
you have gcc on your RHEL6 system, then I'm not sure why that would be
failing. You'll have to find the config.log file (probably somewhere in
/usr/src/redhat/BUILD/) and see what errors it says.
Also, I've just released a new version of iplike that fixes some
installation issues. You can get it here:
http://sourceforge.net/projects/opennms/files/IPLIKE/stable-2.0/iplike-2.0.2.tar.gz
- --Benjamin ReediD8DBQFNyEqCUu+jZtP2Zf4RAuJ5AJ4y2AC9MsTziBZxQt28084mGA21EgCdFtZB
The OpenNMS Group
http://www.opennms.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
j9xUW7qaabZb4SgEO3OO57s=
=sdUS-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-install mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-install mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-install
RSS Feed