#491 compiling error GDL

closed-fixed
nobody
None
5
2015-02-25
2012-10-01
ema
No

When I try to install(update) the latest GDL version (downloaded from CVS) on my macbook pro (with mountain lion 10.8.2) using fink (fink 0.34.4) I get the following errors:

In file included from nullgdl.cpp:20:
In file included from ./nullgdl.hpp:21:
In file included from ./basegdl.hpp:24:
/usr/include/rpc/xdr.h:126:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
~^
/usr/include/rpc/xdr.h:126:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^~~~~~
/usr/include/rpc/xdr.h:126:10: error: function cannot return function type 'int (struct __rpc_xdr *, int *)'
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^
/usr/include/rpc/xdr.h:128:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
~^
/usr/include/rpc/xdr.h:128:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^~~~~~
/usr/include/rpc/xdr.h:128:10: error: function cannot return function type 'int (struct __rpc_xdr *, const int *)'
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^
/usr/include/rpc/xdr.h:136:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
~^
/usr/include/rpc/xdr.h:136:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:136:10: error: function cannot return function type 'int (struct __rpc_xdr *, char *, unsigned int)'
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^
/usr/include/rpc/xdr.h:138:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
~^
/usr/include/rpc/xdr.h:138:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:138:10: error: function cannot return function type 'int (struct __rpc_xdr *, const char *, unsigned int)'
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^
/usr/include/rpc/xdr.h:142:13: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
~^
/usr/include/rpc/xdr.h:142:3: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:142:11: error: function cannot return function type 'int (struct __rpc_xdr *, unsigned int)'
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^
/usr/include/rpc/xdr.h:147:12: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
~^
/usr/include/rpc/xdr.h:147:3: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^~~~~~
/usr/include/rpc/xdr.h:147:10: error: function cannot return function type 'int (struct __rpc_xdr *, int, void *)'
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^
/usr/include/rpc/xdr.h:169:18: error: C++ requires a type specifier for all declarations
typedef bool_t (*xdrproc_t)(XDR *, ...);
~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from basic_fun.cpp:45:
In file included from ./nullgdl.hpp:21:
In file included from ./basegdl.hpp:24:
/usr/include/rpc/xdr.h:126:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
~^
/usr/include/rpc/xdr.h:126:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^~~~~~
/usr/include/rpc/xdr.h:126:10: error: function cannot return function type 'int (struct __rpc_xdr *, int *)'
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^
/usr/include/rpc/xdr.h:128:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
~^
/usr/include/rpc/xdr.h:128:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^~~~~~
/usr/include/rpc/xdr.h:128:10: error: function cannot return function type 'int (struct __rpc_xdr *, const int *)'
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^
/usr/include/rpc/xdr.h:136:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
~^
/usr/include/rpc/xdr.h:136:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:136:10: error: function cannot return function type 'int (struct __rpc_xdr *, char *, unsigned int)'
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^
/usr/include/rpc/xdr.h:138:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
~^
/usr/include/rpc/xdr.h:138:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:138:10: error: function cannot return function type 'int (struct __rpc_xdr *, const char *, unsigned int)'
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^
/usr/include/rpc/xdr.h:142:13: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
~^
/usr/include/rpc/xdr.h:142:3: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:142:11: error: function cannot return function type 'int (struct __rpc_xdr *, unsigned int)'
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^
/usr/include/rpc/xdr.h:147:12: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
~^
/usr/include/rpc/xdr.h:147:3: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^~~~~~
/usr/include/rpc/xdr.h:147:10: error: function cannot return function type 'int (struct __rpc_xdr *, int, void *)'
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^
/usr/include/rpc/xdr.h:169:18: error: C++ requires a type specifier for all declarations
typedef bool_t (*xdrproc_t)(XDR *, ...);
~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from assocdata.cpp:20:
In file included from ./assocdata.hpp:21:
In file included from ./typetraits.hpp:26:
In file included from ./basegdl.hpp:24:
/usr/include/rpc/xdr.h:126:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
~^
/usr/include/rpc/xdr.h:126:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^~~~~~
/usr/include/rpc/xdr.h:126:10: error: function cannot return function type 'int (struct __rpc_xdr *, int *)'
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^
/usr/include/rpc/xdr.h:128:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
~^
/usr/include/rpc/xdr.h:128:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^~~~~~
/usr/include/rpc/xdr.h:128:10: error: function cannot return function type 'int (struct __rpc_xdr *, const int *)'
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^
/usr/include/rpc/xdr.h:136:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
~^
/usr/include/rpc/xdr.h:136:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:136:10: error: function cannot return function type 'int (struct __rpc_xdr *, char *, unsigned int)'
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^
/usr/include/rpc/xdr.h:138:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
~^
/usr/include/rpc/xdr.h:138:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:138:10: error: function cannot return function type 'int (struct __rpc_xdr *, const char *, unsigned int)'
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^
/usr/include/rpc/xdr.h:142:13: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
~^
/usr/include/rpc/xdr.h:142:3: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:142:11: error: function cannot return function type 'int (struct __rpc_xdr *, unsigned int)'
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^
/usr/include/rpc/xdr.h:147:12: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
~^
/usr/include/rpc/xdr.h:147:3: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^~~~~~
/usr/include/rpc/xdr.h:147:10: error: function cannot return function type 'int (struct __rpc_xdr *, int, void *)'
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^
/usr/include/rpc/xdr.h:169:18: error: C++ requires a type specifier for all declarations
typedef bool_t (*xdrproc_t)(XDR *, ...);
~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from basic_pro.cpp:51:
In file included from ./dinterpreter.hpp:54:
In file included from ./GDLLexer.hpp:14:
In file included from ./GDLParser.hpp:16:
In file included from ./str.hpp:25:
In file included from ./basegdl.hpp:24:
/usr/include/rpc/xdr.h:126:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
~^
/usr/include/rpc/xdr.h:126:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^~~~~~
/usr/include/rpc/xdr.h:126:10: error: function cannot return function type 'int (struct __rpc_xdr *, int *)'
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^
/usr/include/rpc/xdr.h:128:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
~^
/usr/include/rpc/xdr.h:128:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^~~~~~
/usr/include/rpc/xdr.h:128:10: error: function cannot return function type 'int (struct __rpc_xdr *, const int *)'
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^
/usr/include/rpc/xdr.h:136:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
~^
/usr/include/rpc/xdr.h:136:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:136:10: error: function cannot return function type 'int (struct __rpc_xdr *, char *, unsigned int)'
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^
/usr/include/rpc/xdr.h:138:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
~^
/usr/include/rpc/xdr.h:138:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:138:10: error: function cannot return function type 'int (struct __rpc_xdr *, const char *, unsigned int)'
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^
/usr/include/rpc/xdr.h:142:13: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
~^
/usr/include/rpc/xdr.h:142:3: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:142:11: error: function cannot return function type 'int (struct __rpc_xdr *, unsigned int)'
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^
/usr/include/rpc/xdr.h:147:12: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
~^
/usr/include/rpc/xdr.h:147:3: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^~~~~~
/usr/include/rpc/xdr.h:147:10: error: function cannot return function type 'int (struct __rpc_xdr *, int, void *)'
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^
/usr/include/rpc/xdr.h:169:18: error: C++ requires a type specifier for all declarations
typedef bool_t (*xdrproc_t)(XDR *, ...);
~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from allix.cpp:19:
In file included from ./arrayindex.hpp:24:
In file included from ./datatypes.hpp:32:
In file included from ./basegdl.hpp:24:
/usr/include/rpc/xdr.h:126:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
~^
/usr/include/rpc/xdr.h:126:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^~~~~~
/usr/include/rpc/xdr.h:126:10: error: function cannot return function type 'int (struct __rpc_xdr *, int *)'
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^
/usr/include/rpc/xdr.h:128:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
~^
/usr/include/rpc/xdr.h:128:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^~~~~~
/usr/include/rpc/xdr.h:128:10: error: function cannot return function type 'int (struct __rpc_xdr *, const int *)'
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^
/usr/include/rpc/xdr.h:136:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
~^
/usr/include/rpc/xdr.h:136:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:136:10: error: function cannot return function type 'int (struct __rpc_xdr *, char *, unsigned int)'
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^
/usr/include/rpc/xdr.h:138:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
~^
/usr/include/rpc/xdr.h:138:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:138:10: error: function cannot return function type 'int (struct __rpc_xdr *, const char *, unsigned int)'
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^
/usr/include/rpc/xdr.h:142:13: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
~^
/usr/include/rpc/xdr.h:142:3: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:142:11: error: function cannot return function type 'int (struct __rpc_xdr *, unsigned int)'
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^
/usr/include/rpc/xdr.h:147:12: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
~^
/usr/include/rpc/xdr.h:147:3: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^~~~~~
/usr/include/rpc/xdr.h:147:10: error: function cannot return function type 'int (struct __rpc_xdr *, int, void *)'
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^
/usr/include/rpc/xdr.h:169:18: error: C++ requires a type specifier for all declarations
typedef bool_t (*xdrproc_t)(XDR *, ...);
~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from basic_fun_jmg.cpp:25:
In file included from ./datatypes.hpp:32:
In file included from ./basegdl.hpp:24:
/usr/include/rpc/xdr.h:126:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
~^
/usr/include/rpc/xdr.h:126:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^~~~~~
/usr/include/rpc/xdr.h:126:10: error: function cannot return function type 'int (struct __rpc_xdr *, int *)'
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^
/usr/include/rpc/xdr.h:128:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
~^
/usr/include/rpc/xdr.h:128:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^~~~~~
/usr/include/rpc/xdr.h:128:10: error: function cannot return function type 'int (struct __rpc_xdr *, const int *)'
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^
/usr/include/rpc/xdr.h:136:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
~^
/usr/include/rpc/xdr.h:136:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:136:10: error: function cannot return function type 'int (struct __rpc_xdr *, char *, unsigned int)'
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^
/usr/include/rpc/xdr.h:138:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
~^
/usr/include/rpc/xdr.h:138:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:138:10: error: function cannot return function type 'int (struct __rpc_xdr *, const char *, unsigned int)'
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^
/usr/include/rpc/xdr.h:142:13: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
~^
/usr/include/rpc/xdr.h:142:3: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:142:11: error: function cannot return function type 'int (struct __rpc_xdr *, unsigned int)'
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^
/usr/include/rpc/xdr.h:147:12: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
~^
/usr/include/rpc/xdr.h:147:3: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^~~~~~
/usr/include/rpc/xdr.h:147:10: error: function cannot return function type 'int (struct __rpc_xdr *, int, void *)'
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^
/usr/include/rpc/xdr.h:169:18: error: C++ requires a type specifier for all declarations
typedef bool_t (*xdrproc_t)(XDR *, ...);
~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from basic_pro_jmg.cpp:24:
In file included from ./envt.hpp:25:
In file included from ./str.hpp:25:
In file included from ./basegdl.hpp:24:
/usr/include/rpc/xdr.h:126:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
~^
/usr/include/rpc/xdr.h:126:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^~~~~~
/usr/include/rpc/xdr.h:126:10: error: function cannot return function type 'int (struct __rpc_xdr *, int *)'
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^
/usr/include/rpc/xdr.h:128:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
~^
/usr/include/rpc/xdr.h:128:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^~~~~~
/usr/include/rpc/xdr.h:128:10: error: function cannot return function type 'int (struct __rpc_xdr *, const int *)'
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^
/usr/include/rpc/xdr.h:136:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
~^
/usr/include/rpc/xdr.h:136:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:136:10: error: function cannot return function type 'int (struct __rpc_xdr *, char *, unsigned int)'
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^
/usr/include/rpc/xdr.h:138:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
~^
/usr/include/rpc/xdr.h:138:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:138:10: error: function cannot return function type 'int (struct __rpc_xdr *, const char *, unsigned int)'
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^
/usr/include/rpc/xdr.h:142:13: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
~^
/usr/include/rpc/xdr.h:142:3: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:142:11: error: function cannot return function type 'int (struct __rpc_xdr *, unsigned int)'
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^
/usr/include/rpc/xdr.h:147:12: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
~^
/usr/include/rpc/xdr.h:147:3: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^~~~~~
/usr/include/rpc/xdr.h:147:10: error: function cannot return function type 'int (struct __rpc_xdr *, int, void *)'
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^
/usr/include/rpc/xdr.h:169:18: error: C++ requires a type specifier for all declarations
typedef bool_t (*xdrproc_t)(XDR *, ...);
~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from basic_fun_cl.cpp:38:
In file included from ./initsysvar.hpp:21:
In file included from ./objects.hpp:24:
In file included from ./datatypes.hpp:32:
In file included from ./basegdl.hpp:24:
/usr/include/rpc/xdr.h:126:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
~^
/usr/include/rpc/xdr.h:126:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^~~~~~
/usr/include/rpc/xdr.h:126:10: error: function cannot return function type 'int (struct __rpc_xdr *, int *)'
bool_t (*x_getlong)(struct __rpc_xdr *, int *);
^
/usr/include/rpc/xdr.h:128:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
~^
/usr/include/rpc/xdr.h:128:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^~~~~~
/usr/include/rpc/xdr.h:128:10: error: function cannot return function type 'int (struct __rpc_xdr *, const int *)'
bool_t (*x_putlong)(struct __rpc_xdr *, const int *);
^
/usr/include/rpc/xdr.h:136:12: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
~^
/usr/include/rpc/xdr.h:136:3: error: C++ requires a type specifier for all declarations
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:136:10: error: function cannot return function type 'int (struct __rpc_xdr *, char *, unsigned int)'
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, unsigned int);
^
/usr/include/rpc/xdr.h:138:12: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
~^
/usr/include/rpc/xdr.h:138:3: error: C++ requires a type specifier for all declarations
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:138:10: error: function cannot return function type 'int (struct __rpc_xdr *, const char *, unsigned int)'
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, unsigned int);
^
/usr/include/rpc/xdr.h:142:13: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
~^
/usr/include/rpc/xdr.h:142:3: error: C++ requires a type specifier for all declarations
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^~~~~~
/usr/include/rpc/xdr.h:142:11: error: function cannot return function type 'int (struct __rpc_xdr *, unsigned int)'
bool_t (*x_setpostn)(struct __rpc_xdr *, unsigned int);
^
/usr/include/rpc/xdr.h:147:12: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
~^
/usr/include/rpc/xdr.h:147:3: error: C++ requires a type specifier for all declarations
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^~~~~~
/usr/include/rpc/xdr.h:147:10: error: function cannot return function type 'int (struct __rpc_xdr *, int, void *)'
bool_t (*x_control)(struct __rpc_xdr *, int, void *);
^
/usr/include/rpc/xdr.h:169:18: error: C++ requires a type specifier for all declarations
typedef bool_t (*xdrproc_t)(XDR *, ...);
~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [gdl-nullgdl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
20 errors generated.
make[3]: *** [gdl-allix.o] Error 1
20 errors generated.
make[3]: *** [gdl-basic_fun_cl.o] Error 1
20 errors generated.
make[3]: *** [gdl-assocdata.o] Error 1
20 errors generated.
make[3]: *** [gdl-basic_fun_jmg.o] Error 1
20 errors generated.
make[3]: *** [gdl-basic_pro_jmg.o] Error 1
20 errors generated.
make[3]: *** [gdl-basic_pro.o] Error 1
20 errors generated.
make[3]: *** [gdl-basic_fun.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.NHosb failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gdl-0.9.2-3
(Lettura del database ... 38801 file e directory attualmente installati.)
Rimozione di fink-buildlock-gdl-0.9.2-3 ...
Failed: phase compiling: gdl-0.9.2-3 failed

Additional information:
Mac OSX 10.8.2
Xcode 4.5
GDL: CVS version

thanks

Discussion

  • Alain C.

    Alain C. - 2012-10-02

    OK, I can reproduce that on a 10.6 Snow Leopard,
    it seems to be related to the changes for MSwin support,
    I will try to fix that.

    Alain

     
  • Alain C.

    Alain C. - 2012-10-02
    • status: open --> closed-fixed
     
  • Alain C.

    Alain C. - 2012-10-02

    OK, should be fixed in the CVS. A change related to the MSwin port is involved. I succeed to compiled
    the updated CVS version on OSX 10.6 using:

    mkdir m4
    autoreconf -vfi
    ./configure --with-gsl=$HOME/GDL/gsl-1.13/Compilation/ \ --with-plplot=$HOME/GDL/plplot-5.9.9/Compilation/ \ --with-GraphicsMagick=$HOME/GDL/GraphicsMagick-1.3.15/Compilation/ \ --with-netcdf=no --with-hdf=no --with-hdf5=no --with-python=no \ --with-readlinedir=/opt/local/ --with-pslib=no --with-openmp=no \ --with-wxWidgets=no --with-Magick=no
    make -j 6

    HTH
    Alain

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks