Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make fails with --enable-testcover option #1893

Open
mohandev2 opened this issue Aug 17, 2015 · 1 comment
Open

make fails with --enable-testcover option #1893

mohandev2 opened this issue Aug 17, 2015 · 1 comment

Comments

@mohandev2
Copy link
Collaborator

When we try to build the openhpi code with --enable-testcover option during configuration, it fails with below erros:

Configured as: ./configure --disable-ipmi --enable-testcover --enable-oa_soap --enable-ilo2_ribcl

Errors:

penhpiutils.so -lgcrypt -lgmodule-2.0 /home/praveen/C/ssl/.libs/libopenhpi_ssl.so -lcrypto ../marshal/.libs/libopenhpimarshal.so ../transport/.libs/libopenhpitransport.so -lstdc++ -lssl -lgthread-2.0 -lglib-2.0 -lm -lpthread -pthread
/usr/bin/ld: .libs/openhpid: hidden symbol atexit' in /usr/lib/x86_64-linux-gnu/libc_nonshared.a(atexit.oS) is referenced by DSO /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status make[3]: *** [openhpid] Error 1 make[3]: Leaving directory /home/praveen/C/openhpid'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/praveen/C/openhpid' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/praveen/C'
make: *** [all] Error 2
root@ubuntu1304:/home/praveen/C#

Some more information:

root@ubuntu1304:/home/praveen/C# dpkg -l | grep gcc
ii gcc 4:4.7.3-1ubuntu10 amd64 GNU C compiler
ii gcc-4.7 4.7.3-1ubuntu1 amd64 GNU C compiler
ii gcc-4.7-base:amd64 4.7.3-1ubuntu1 amd64 GCC, the GNU Compiler Collection (base package)
ii libgcc-4.7-dev:amd64 4.7.3-1ubuntu1 amd64 GCC support library (development files)
ii libgcc1:amd64 1:4.7.3-1ubuntu1 amd64 GCC support library
root@ubuntu1304:/home/praveen/C#

  1. root@ubuntu1304:/home/praveen/C# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 13.04
    Release: 13.04
    Codename: raring
    root@ubuntu1304:/home/praveen/C#

The above metioned erros goes off, when we include CXXFLAGS="--coverage" while configuration as

./configure --disable-ipmi --enable-testcover --enable-oa_soap --enable-ilo2_ribcl CXXFLAGS="--coverage"

Reported by: erpraveenk

Original Ticket: openhpi/bugs/1893

@mohandev2
Copy link
Collaborator Author

  • 3.6.0: 3.6.0 --> Future

Original comment by: mohandev2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants