[Kde-bindings] [Bug 74711] New: dcopperl/DCOP.cpp compile fails with C++ linkage errors.

steve at earth.ox.ac.uk steve at earth.ox.ac.uk
Mon Feb 9 14:11:26 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=74711      
           Summary: dcopperl/DCOP.cpp compile fails with C++ linkage errors.
           Product: bindings
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings at mail.kde.org
        ReportedBy: steve at earth.ox.ac.uk


Version:            (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3.1 
OS:          Solaris

Compilation of dcopperl/DCOP.cpp fails with syntax errors in included headers:-

gcc -c  -I/usr/local/kde-3.2.0/qt/include -I/usr/local/kde-3.2.0/include -x c++ -O4 -mcpu=supersparc   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/local/lib/perl5/5.6.1/sun4-solaris-thread-multi/CORE"   DCOP.cpp
In file included from /usr/local/lib/perl5/5.6.1/sun4-solaris-thread-multi/CORE/perl.h:2821,
                 from DCOP.xs:3:
/usr/local/lib/perl5/5.6.1/sun4-solaris-thread-multi/CORE/perl.h:538: error: previous
   declaration of `void* Perl_malloc(unsigned int)' with C++ linkage
/usr/local/lib/perl5/5.6.1/sun4-solaris-thread-multi/CORE/proto.h:28: error: conflicts
   with new declaration with C linkage
/usr/local/lib/perl5/5.6.1/sun4-solaris-thread-multi/CORE/perl.h:539: error: previous
   declaration of `void* Perl_calloc(unsigned int, unsigned int)' with C++ 
   linkage
/usr/local/lib/perl5/5.6.1/sun4-solaris-thread-multi/CORE/proto.h:29: error: conflicts
   with new declaration with C linkage
/usr/local/lib/perl5/5.6.1/sun4-solaris-thread-multi/CORE/perl.h:540: error: previous
   declaration of `void* Perl_realloc(void*, unsigned int)' with C++ linkage
/usr/local/lib/perl5/5.6.1/sun4-solaris-thread-multi/CORE/proto.h:30: error: conflicts
   with new declaration with C linkage
/usr/local/lib/perl5/5.6.1/sun4-solaris-thread-multi/CORE/perl.h:543: error: previous
   declaration of `void Perl_mfree(void*)' with C++ linkage
/usr/local/lib/perl5/5.6.1/sun4-solaris-thread-multi/CORE/proto.h:31: error: conflicts
   with new declaration with C linkage
gmake[2]: *** [DCOP.o] Error 1
gmake[2]: Leaving directory `/opt/local/kde-3.2.0/src/kdebindings-3.2.0/dcopperl'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/local/kde-3.2.0/src/kdebindings-3.2.0'
gmake: *** [all] Error 2



More information about the Kde-bindings mailing list