Re: IPLIKE Installation Error
Hailu Meng <[email protected]>
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <[email protected]> |
I mean by modifying the configure file to have gcc pass hash-style=both or has-style=sysv. On Tue, May 10, 2011 at 3:32 PM, Hailu Meng <[email protected]> wrote: > Hi Benjamin, > > I found this: > > "On systems with new tool-chain set, gcc (especially v 4.1 onwards) passes > --hash-style=gnu to the linker, by default and hence the code generated > has just SHT_GNU_HASH section. And when this binary is run on older system, > it would fail to run, as the dynamic linker on those machine won't find > SHT_HASH section, it is looking for." > > Is there any way you can build a new patch for my problem? Thanks a lot for > your help. > > Lou > > > On Tue, May 10, 2011 at 3:01 PM, Hailu Meng <[email protected]> wrote: > >> 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 >> >> >> On Mon, May 9, 2011 at 3:22 PM, Hailu Meng <[email protected]> wrote: >> >>> 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 <[email protected]>wrote: >>> >>>> >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> On 5/9/11 3:24 PM, Hailu Meng wrote: >>>> > 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. >>>> >>>> You can wait for us to make a binary (which will be a while, CentOS has >>>> 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 Reed >>>> 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/ >>>> >>>> iD8DBQFNyEqCUu+jZtP2Zf4RAuJ5AJ4y2AC9MsTziBZxQt28084mGA21EgCdFtZB >>>> 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