Bug#439117: libcommoncpp2-dev: common c++ cannot be used with gcc 4.2

Andreas Pakulat apaku at gmx.de
Wed Aug 22 13:13:02 UTC 2007


Package: libcommoncpp2-dev
Version: 1.5.7-1
Severity: normal

Hi,

I've got no idea wether this is solvable without rebuilding common C++
against gcc 4.2, anyway it should be noted that the common c++ package
that is shipped with debian unstable doesn't work with gcc 4.2.

The reason is config.h line 1088, it tries to #include <bits/atomic.h>
which doesn't exist in gcc 4.2 anymore. A workaround is to set a #undef
HAVE_GCC_BITS_ATOMIC and #undef HAVE_GCC_CXX_BITS_ATOMIC 3 lines above.

A real solution might be to configure the common c++ package to _not_
use bits/atomic at all while building it (don't know wether thats
possible).

Andreas

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'experimental'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.1
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libcommoncpp2-dev depends on:
ii  libcommoncpp2-1.5.3-0   1.5.7-1          A GNU package for creating portabl
ii  libgcrypt11-dev [libgcr 1.2.4-2          LGPL Crypto library - development 
ii  libgnutls-dev           1.6.3-1          the GNU TLS library - development 
ii  pkg-config              0.22-1           manage compile and link flags for 
ii  zlib1g-dev              1:1.2.3.3.dfsg-5 compression library - development

libcommoncpp2-dev recommends no packages.

-- no debconf information




More information about the Pkg-voip-maintainers mailing list