Dear all, I need to compile libsigc as static program into my appl.So, i configure such as: ./configure --prefix=/opt/libsigc++/ --disable-shared --enable-static But when i use make command, i get the following error: ////////////////////////////////////////////////////////////////////// In file included from ../sigc++/signal.h:8:0, from signal.cc:20: ../sigc++/signal_base.h:46:11: error: 'size_t' does not name a type ../sigc++/signal_base.h:95:3: error: 'size_type' does not name a type ../sigc++/signal_base.h:239:11: error: 'size_t' does not name a type ../sigc++/signal_base.h:261:3: error: 'size_type' does not name a type In file included from signal.cc:20:0: ../sigc++/signal.h:33:11: error: 'size_t' does not name a type ../sigc++/signal.h:34:11: error: 'ptrdiff_t' does not name a type ../sigc++/signal.h:99:11: error: 'size_t' does not name a type ../sigc++/signal.h:100:11: error: 'ptrdiff_t' does not name a type ../sigc++/signal.h:276:11: error: 'size_t' does not name a type ../sigc++/signal.h:277:11: error: 'ptrdiff_t' does not name a type ../sigc++/signal.h:359:11: error: 'size_t' does not name a type ../sigc++/signal.h:360:11: error: 'ptrdiff_t' does not name a type ../sigc++/signal.h:430:11: error: 'size_t' does not name a type ../sigc++/signal.h:431:11: error: 'ptrdiff_t' does not name a type ../sigc++/signal.h:515:11: error: 'size_t' does not name a type ../sigc++/signal.h:516:11: error: 'ptrdiff_t' does not name a type make[3]: *** [signal.lo] Error 1 make[3]: Leaving directory `/home/mohsen/Downloads/eCom tools/libsigc ++-2.2.0/sigc++' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/mohsen/Downloads/eCom tools/libsigc ++-2.2.0/sigc++' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mohsen/Downloads/eCom tools/libsigc ++-2.2.0' make: *** [all] Error 2 ////////////////////////////////////////////////////////////////////// How can i solve it? Yours, Mohsen.
Attachment:
signature.asc
Description: This is a digitally signed message part