Re: [sigc] static compile error
- From: Kjell Ahlstedt <kjell ahlstedt bredband net>
- To: Mohsen Pahlevanzadeh <mohsen pahlevanzadeh org>
- Cc: libsigc-list gnome org
- Subject: Re: [sigc] static compile error
- Date: Wed, 05 Sep 2012 11:01:27 +0200
Hi Mohsen,
Hope you still remember what you were doing in July :-)
How did you solve your problem? Did you switch to the latest version of
libsigc++? Was "#include <cstddef>" missing in sigc++/signal_base.h in
the version you first tested? Could you build libsigc++ with "#include
<cstddef>" in sigc++/signal_base.h, or did you have to change it to
"#include <stddef.h>"?
The reason I ask is that I've now installed gcc 4.7.0 on my Ubuntu 12.04
system, and I have no problem building libsigc++ with it. ('make check'
fails, but for another reason. I haven't investigated that problem yet.)
I've noticed now that "#include <cstddef>" was added in libsigc++ 2.2.9,
and you said you first tried to build libsigc++ 2.2.0.
It's interesting to know if any Linux distribution contains a new
version of gcc that can't built the latest version of libsigc++.
Kjell
2012-07-31 10:18, Mohsen Pahlevanzadeh skrev:
Dear Kjell and list,
I'd like FOSS, so thank you for your mention about LGPL and static
compilation.
My problem was solved.
--mohsen
On Mon, 2012-07-30 at 20:25 +0200, Kjell Ahlstedt wrote:
libsigc++2.2.0 is a 4-year old release. The latest release is 2.2.10.
See http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/
But I'm convinced that you will get same compile errors with
libsigc++2.2.10.
Now I'm not convinced after having tested with gcc 4.7.0.
Did you try the workaround I suggested?
You can try changing
#include <cstddef>
in sigc++/signal_base.h to
#include <stddef.h>
and see if you can build libsigc++.
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]