Share

Synfig Animation Studio

Tracker: Bugs

5 compile problem under Mandriva.2008 - ID: 1859663
Last Update: Comment added ( pabs3 )

gcc output:

In file included from mod_mirror/mod_mirror.cpp:35:
mod_mirror/../app.h:31:34: error: sigc++/compatibility.h: Нет
такого файла или каталога
make[3]: *** [synfigstudio-mod_mirror.o] Ошибка 1

problem:
the "sigc++/compatibility.h" is missing.


Nobody/Anonymous ( nobody ) - 2007-12-28 12:18

5

Closed

Fixed

Paul Wise

Compile-Time

None

Public


Comments ( 4 )




Date: 2007-12-29 04:30
Sender: pabs3


Fixed in SVN r1242. Thanks for reporting.


Date: 2007-12-28 19:03
Sender: nobody

Logged In: NO

When I commented out the line "#include <sigc++/compatibility.h>"
I've got these errors

In file included from mod_mirror/state_mirror.cpp:39:
mod_mirror/../canvasview.h:204: ошибка: ‘SigC’ не был
декларирован (error: 'SigC' wasn't declared)
[skipped]
In file included from mod_mirror/../dialog_tooloptions.h:33,
from mod_mirror/state_mirror.cpp:47:
mod_mirror/../dockable.h:62: ошибка: ‘SigC’ не был
декларирован (error: 'SigC' wasn't declared)
[skipped]
make[3]: *** [synfigstudio-state_mirror.o] Ошибка 1



Date: 2007-12-28 14:14
Sender: nobody

Logged In: NO

libsigc++-2.1.1/ChangeLog says this:

------------------------------------------------------------
2007-08-14 Murray Cumming <murrayc@murrayc.com>

* sigc++/Makefile.am:
* sigc++/compatibility.h: Removed this header.
* sigc++/bind.h:
* sigc++/bind_return.h:
* sigc++/connection.h:
* sigc++/macros/class_slot.h.m4:
* sigc++/macros/hide.h.m4:
* sigc++/macros/method_slot.h.m4:
* sigc++/macros/object_slot.h.m4:
* sigc++/macros/retype.h.m4:
* sigc++/macros/signal.h.m4:
* sigc++/macros/slot.h.m4:
* sigc++/object.h:
* sigc++/retype_return.h: Removed deprecated
compatibility API, to probably fix the build with
some compilers, such as some versions of the Sun Forte C++
CC compiler. Some of these headers are now mostly empty and
should be removed later.
This API has been deprecated April 2004, and
is not widely used, so it seems safe to do this now.
------------------------------------------------------------

I commented out the line that mentions compatibility.h in
synfig-studio/trunk/src/gtkmm/app.h and everything still seems to be OK.
Is the fix as simple as that?


Date: 2007-12-28 12:36
Sender: pabs3


More info from IRC and the site:

http://www.synfig.com/2007/10/11/synfig-irregular-news/#comment-260

I've got an include error due to sigc++/compatibility.h is missing.
Is there any way to use ‘sigc’ namespace instead of ‘SigC’ in the
sources?

12:31 <pabs3> dinosaur: which version of the sigc++ headers do you have
installed?
12:39 <dinosaur> sigc++ version is 2.1.1
12:44 <dinosaur> libsigc++2.0-devel-2.1.1-2mdv2008.0
12:44 <dinosaur> the exactly name of the rpm-package
12:51 <pabs3> dinosaur: hmm, newer version that debian has
12:51 <pabs3> can you upload the result of 'rpm -ql
libsigc++2.0-devel-2.1.1-2mdv2008.0' to pastebin.ca?
12:58 <dinosaur> http://pastebin.ca/834706
12:59 <dinosaur> post will be expired in 1 hour

The post did not contain any mention of compatibility.h

13:02 < pabs3> dinosaur: can you file a bug about this? it unfortunately
isn't trivial to fix
13:03 < pabs3> 13 files use the SigC namespace


Log in to comment.




Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2007-12-29 04:30 pabs3
resolution_id None 2007-12-29 04:30 pabs3
artifact_group_id SVN version 2007-12-29 04:30 pabs3
assigned_to nobody 2007-12-29 04:30 pabs3
close_date - 2007-12-29 04:30 pabs3