[Pkg-ace-devel] Bug#367480: libtao-orbsvcs-dev: Cannot include file orbsvcs/orbsvcs/CosNamingC.h

Tommi Vainikainen thv+debian at iki.fi
Tue May 16 10:16:34 UTC 2006


Package: libtao-orbsvcs-dev
Version: 5.4.7-9
Severity: normal

cat > temp.c <<EOF
#include <orbsvcs/orbsvcs/CosNamingC.h>

int main(int argc, char *argv[])
{
    return 0;
}
EOF

g++ `pkg-config --cflags TAO_CosNaming` -c temp.c

prints very long error messages because compiler cannot find some
include files included from CosNamingC.h internally.

In file included from temp.c:1:
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:43:42: error: orbsvcs/Naming/naming_export.h: Tiedostoa tai hakemistoa ei ole
 --- some error messages removed ---
/usr/include/orbsvcs/orbsvcs/CosNamingC.h:316: error: forward declaration of ‘struct CosNaming::NamingContext’
/usr/include/orbsvcs/orbsvcs/CosNamingC.inl:42: confused by earlier errors, bailing out


If I understood correcly some mailing list posts, I should add
-I$ACE_ROOT/something to compiler options. However, I think this is a
bug because pkg-config --cflags should print all required include
paths et cetera.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)

Versions of packages libtao-orbsvcs-dev depends on:
ii  libtao-dev                    5.4.7-9    Development files for TAO, The ACE
ii  libtao-orbsvcs1.4.7c2a        5.4.7-9    The ACE ORB, an open-source implem

libtao-orbsvcs-dev recommends no packages.

-- no debconf information




More information about the Pkg-ace-devel mailing list