stdarg.h haeder file is now (libstdc++-devel-4.6.3) in libctdc++ package,
thus compilation of bindings failed:
../../include/libcgroup/log.h:12:20: fatal error: stdarg.h: No such file or
directory
Thus -nostdinc compiler option have to be removed.

Signed-off-by: Ivana Hutarova Varekova <varek...@redhat.com>
---

 src/bindings/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/bindings/Makefile.am b/src/bindings/Makefile.am
index 31feb2a..caf388f 100644
--- a/src/bindings/Makefile.am
+++ b/src/bindings/Makefile.am
@@ -11,5 +11,5 @@ SWIG=swig
 
 libcgroup.c: libcgroup.p $(top_srcdir)/include/libcgroup.h
        cp libcgroup.p libcgroup.i
-       $(CC) $(INCLUDES) -DSWIG -nostdinc -E $(top_srcdir)/include/libcgroup.h 
>> libcgroup.i
+       $(CC) $(INCLUDES) -DSWIG -E $(top_srcdir)/include/libcgroup.h >> 
libcgroup.i
        $(SWIG) -python -o libcgroup.c libcgroup.i


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to