hi
Im trying to compile following sample code comes with monet DB
getting some error .
gdk.h is not there in tar ..
====================================================================
#include
#include
#include
#define die(dbh,hdl) (hdl?mapi_explain_query(hdl,stderr): \
dbh?mapi_explain(dbh,stderr): \
fprintf(stderr,"command failed\n"), \
exit(-1))
int main(int argc, char **argv)
{
Mapi dbh;
MapiHdl hdl = NULL;
dbh = mapi_connect("localhost", 50000, "monetdb", "monetdb", "sql",
NULL);
if (mapi_error(dbh))
die(dbh, hdl);
if ((hdl = mapi_query(dbh, "create table emp(name varchar(20), age
int)")) == NULL
|| mapi_error(dbh) != MOK)
die(dbh, hdl);
if (mapi_close_handle(hdl) != MOK)
die(dbh, hdl);
if ((hdl = mapi_query(dbh, "insert into emp values('John', 23)"))
== NULL
|| mapi_error(dbh) != MOK)
die(dbh, hdl);
mapi_close_handle(hdl);
if (mapi_error(dbh) != MOK)
die(dbh, hdl);
if ((hdl = mapi_query(dbh, "insert into emp values('Mary', 22)"))
== NULL
|| mapi_error(dbh) != MOK)
die(dbh, hdl);
mapi_close_handle(hdl);
if (mapi_error(dbh) != MOK)
die(dbh, hdl);
if ((hdl = mapi_query(dbh, "select * from emp")) == NULL
|| mapi_error(dbh) != MOK)
die(dbh, hdl);
while (mapi_fetch_row(hdl)) {
char *nme = mapi_fetch_field(hdl, 0);
char *age = mapi_fetch_field(hdl, 1);
printf("%s is %s\n", nme, age);
}
if (mapi_error(dbh) != MOK)
die(dbh, hdl);
mapi_close_handle(hdl);
if (mapi_error(dbh) != MOK)
die(dbh, hdl);
mapi_destroy(dbh);
return 0;
}
=================================================================
errors
---------
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\MAPI\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\MAPI\Makefile.win" all
gcc.exe -D__DEBUG__ -c mapi_dump.c -o ../MAPI/mapi_dump.o
-I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include" -ansi -fexceptions -O3 -g3
In file included from C:/Dev-Cpp/include/Mapi.h:5,
from mapi_dump.c:1:
C:/Dev-Cpp/include/streams.h:5:17: gdk.h: No such file or directory
In file included from C:/Dev-Cpp/include/streams.h:6,
from C:/Dev-Cpp/include/Mapi.h:5,
from mapi_dump.c:1:
C:/Dev-Cpp/include/blob.h:7: error: syntax error before "size_t"
C:/Dev-Cpp/include/blob.h:7: warning: no semicolon at end of struct or union
C:/Dev-Cpp/include/blob.h:9: error: syntax error before '}' token
C:/Dev-Cpp/include/blob.h:9: warning: data definition has no type or storage
class
In file included from C:/Dev-Cpp/include/blob.h:13,
from C:/Dev-Cpp/include/streams.h:6,
from C:/Dev-Cpp/include/Mapi.h:5,
from mapi_dump.c:1:
C:/Dev-Cpp/include/blob.proto.h:30: error: syntax error before "blob"
C:/Dev-Cpp/include/blob.proto.h:40: error: syntax error before "blob"
C:/Dev-Cpp/include/blob.proto.h:47: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:48: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:51: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/blob.proto.h:58: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:68: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:76: error: syntax error before "blob_hash"
C:/Dev-Cpp/include/blob.proto.h:77: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:78: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/blob.proto.h:83: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:84: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/blob.proto.h:91: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:99: error: syntax error before "blob_put"
C:/Dev-Cpp/include/blob.proto.h:100: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:103: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/blob.proto.h:109: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:117: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:125: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:134: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:148: error: syntax error before "blob"
C:/Dev-Cpp/include/blob.proto.h:158: error: syntax error before "blob"
C:/Dev-Cpp/include/blob.proto.h:167: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:172: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:177: error: syntax error before '*' token
C:/Dev-Cpp/include/blob.proto.h:182: error: syntax error before "blob"
In file included from C:/Dev-Cpp/include/streams.h:6,
from C:/Dev-Cpp/include/Mapi.h:5,
from mapi_dump.c:1:
C:/Dev-Cpp/include/blob.h:15: error: syntax error before "blobsize"
C:/Dev-Cpp/include/blob.h:15: error: syntax error before "nitems"
C:/Dev-Cpp/include/blob.h:15: warning: data definition has no type or
storage class
In file included from C:/Dev-Cpp/include/Mapi.h:5,
from mapi_dump.c:1:
C:/Dev-Cpp/include/streams.h:8: error: syntax error before "Stream"
C:/Dev-Cpp/include/streams.h:8: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/streams.h:9: error: syntax error before "Bstream"
C:/Dev-Cpp/include/streams.h:9: warning: data definition has no type or
storage class
In file included from C:/Dev-Cpp/include/streams.h:11,
from C:/Dev-Cpp/include/Mapi.h:5,
from mapi_dump.c:1:
C:/Dev-Cpp/include/streams.proto.h:29: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:34: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:39: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:44: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:49: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:54: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:59: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:64: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:69: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:74: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:79: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:84: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:89: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:94: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:99: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:104: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:109: error: syntax error before "Stream"
C:/Dev-Cpp/include/streams.proto.h:114: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:119: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:124: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:129: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:134: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:142: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:147: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:152: error: syntax error before "Bstream"
C:/Dev-Cpp/include/streams.proto.h:157: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:162: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:167: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:172: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:177: error: syntax error before '*' token
C:/Dev-Cpp/include/streams.proto.h:182: error: syntax error before "Stream"
In file included from C:/Dev-Cpp/include/monet_context.h:4,
from C:/Dev-Cpp/include/Mapi.h:6,
from mapi_dump.c:1:
C:/Dev-Cpp/include/monet.h:27: error: syntax error before "ValRecord"
C:/Dev-Cpp/include/monet.h:27: warning: no semicolon at end of struct or
union
C:/Dev-Cpp/include/monet.h:28: error: syntax error before ':' token
C:/Dev-Cpp/include/monet.h:37: error: syntax error before "ptr"
C:/Dev-Cpp/include/monet.h:37: warning: no semicolon at end of struct or
union
C:/Dev-Cpp/include/monet.h:38: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:40: error: syntax error before '}' token
C:/Dev-Cpp/include/monet.h:40: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:42: error: syntax error before '}' token
C:/Dev-Cpp/include/monet.h:42: warning: data definition has no type or
storage class
In file included from C:/Dev-Cpp/include/monet_context.h:4,
from C:/Dev-Cpp/include/Mapi.h:6,
from mapi_dump.c:1:
C:/Dev-Cpp/include/monet.h:53:50: monet_parse.tab.h: No such file or
directory
C:/Dev-Cpp/include/monet.h:57:20: yytree.h: No such file or directory
C:/Dev-Cpp/include/monet.h:65: error: syntax error before "YYSTREE"
C:/Dev-Cpp/include/monet.h:65: warning: no semicolon at end of struct or
union
C:/Dev-Cpp/include/monet.h:66: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:68: warning: parameter names (without types) in
function declaration
C:/Dev-Cpp/include/monet.h:69: warning: parameter names (without types) in
function declaration
C:/Dev-Cpp/include/monet.h:70: warning: parameter names (without types) in
function declaration
C:/Dev-Cpp/include/monet.h:71: error: syntax error before "params"
C:/Dev-Cpp/include/monet.h:71: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:75: error: syntax error before '}' token
C:/Dev-Cpp/include/monet.h:75: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:82:27: monet_process.h: No such file or directory
In file included from C:/Dev-Cpp/include/monet.h:83,
from C:/Dev-Cpp/include/monet_context.h:4,
from C:/Dev-Cpp/include/Mapi.h:6,
from mapi_dump.c:1:
C:/Dev-Cpp/include/monet_client.h:13: error: syntax error before "str"
C:/Dev-Cpp/include/monet_client.h:13: warning: no semicolon at end of struct
or union
C:/Dev-Cpp/include/monet_client.h:14: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:16: error: syntax error before '}' token
C:/Dev-Cpp/include/monet_client.h:16: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:19: error: syntax error before "str"
C:/Dev-Cpp/include/monet_client.h:19: warning: no semicolon at end of struct
or union
C:/Dev-Cpp/include/monet_client.h:20: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:21: error: syntax error before "login"
C:/Dev-Cpp/include/monet_client.h:21: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:23: error: syntax error before '*' token
C:/Dev-Cpp/include/monet_client.h:23: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:24: error: syntax error before '*' token
C:/Dev-Cpp/include/monet_client.h:24: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:29: error: syntax error before "prompt"
C:/Dev-Cpp/include/monet_client.h:29: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:30: error: syntax error before "input"
C:/Dev-Cpp/include/monet_client.h:30: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:31: error: syntax error before "top"
C:/Dev-Cpp/include/monet_client.h:31: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:34: error: syntax error before "tree"
C:/Dev-Cpp/include/monet_client.h:34: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:35: error: syntax error before
"mil_accept"
C:/Dev-Cpp/include/monet_client.h:35: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:38: error: syntax error before '*' token
C:/Dev-Cpp/include/monet_client.h:38: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:39: error: syntax error before '*' token
C:/Dev-Cpp/include/monet_client.h:39: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:40: error: syntax error before '*' token
C:/Dev-Cpp/include/monet_client.h:40: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:41: error: syntax error before '*' token
C:/Dev-Cpp/include/monet_client.h:41: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:42: error: syntax error before '*' token
C:/Dev-Cpp/include/monet_client.h:42: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:43: error: syntax error before '}' token
C:/Dev-Cpp/include/monet_client.h:43: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:45: error: syntax error before
"monet_clients"
C:/Dev-Cpp/include/monet_client.h:45: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:46: error: syntax error before "ll_client"
C:/Dev-Cpp/include/monet_client.h:46: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:48: error: syntax error before
"initClient"
C:/Dev-Cpp/include/monet_client.h:48: error: syntax error before "name"
C:/Dev-Cpp/include/monet_client.h:48: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:49: error: syntax error before "c"
C:/Dev-Cpp/include/monet_client.h:50: error: syntax error before
"forkClient"
C:/Dev-Cpp/include/monet_client.h:50: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:51: error: syntax error before "c"
C:/Dev-Cpp/include/monet_client.h:52: error: syntax error before "c"
C:/Dev-Cpp/include/monet_client.h:53: error: syntax error before "c"
C:/Dev-Cpp/include/monet_client.h:54: error: syntax error before "c"
C:/Dev-Cpp/include/monet_client.h:55: error: syntax error before
"parseClient"
C:/Dev-Cpp/include/monet_client.h:55: error: syntax error before "c"
C:/Dev-Cpp/include/monet_client.h:55: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:56: error: syntax error before "YYSTREE"
C:/Dev-Cpp/include/monet_client.h:57: error: syntax error before
"moduleClient"
C:/Dev-Cpp/include/monet_client.h:57: error: syntax error before "c"
C:/Dev-Cpp/include/monet_client.h:57: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:58: error: syntax error before "c"
C:/Dev-Cpp/include/monet_client.h:59: error: syntax error before "c"
C:/Dev-Cpp/include/monet_client.h:60: error: syntax error before "c"
C:/Dev-Cpp/include/monet_client.h:61: error: syntax error before
"moduleGetClient"
C:/Dev-Cpp/include/monet_client.h:61: error: syntax error before "c"
C:/Dev-Cpp/include/monet_client.h:61: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_client.h:63: error: syntax error before "c"
C:/Dev-Cpp/include/monet_client.h:64: error: syntax error before "c"
C:/Dev-Cpp/include/monet.h:85:31: monet_interpreter.h: No such file or
directory
C:/Dev-Cpp/include/monet.h:86:23: monet_tbl.h: No such file or directory
C:/Dev-Cpp/include/monet.h:87:29: monet_multiplex.h: No such file or
directory
C:/Dev-Cpp/include/monet.h:88:25: monet_queue.h: No such file or directory
In file included from C:/Dev-Cpp/include/monet_context.h:4,
from C:/Dev-Cpp/include/Mapi.h:6,
from mapi_dump.c:1:
C:/Dev-Cpp/include/monet.h:91: error: syntax error before "monet_init"
C:/Dev-Cpp/include/monet.h:91: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:93: error: syntax error before
"monet_load_script"
C:/Dev-Cpp/include/monet.h:93: error: syntax error before "file"
C:/Dev-Cpp/include/monet.h:93: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:94: error: syntax error before "monet_eval"
C:/Dev-Cpp/include/monet.h:94: error: syntax error before "mil_script"
C:/Dev-Cpp/include/monet.h:94: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:95: error: syntax error before "mil_script"
C:/Dev-Cpp/include/monet.h:97: error: syntax error before '*' token
C:/Dev-Cpp/include/monet.h:98: error: syntax error before '*' token
C:/Dev-Cpp/include/monet.h:99: error: syntax error before '*' token
C:/Dev-Cpp/include/monet.h:100: error: syntax error before "addr"
C:/Dev-Cpp/include/monet.h:101: error: syntax error before "kind"
C:/Dev-Cpp/include/monet.h:110: error: syntax error before "ll_lastline"
C:/Dev-Cpp/include/monet.h:110: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:112: error: syntax error before "s"
C:/Dev-Cpp/include/monet.h:122: error: `PATHLENGTH' undeclared here (not in
a function)
C:/Dev-Cpp/include/monet.h:128: error: syntax error before '*' token
C:/Dev-Cpp/include/monet.h:128: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:129: error: syntax error before "monet_dbinit"
C:/Dev-Cpp/include/monet.h:129: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:130: error: syntax error before "monet_general"
C:/Dev-Cpp/include/monet.h:130: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:131: error: syntax error before "monet_critical"
C:/Dev-Cpp/include/monet.h:131: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:132: error: syntax error before
"monet_parserLock"
C:/Dev-Cpp/include/monet.h:132: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:133: error: syntax error before
"monet_contextLock"
C:/Dev-Cpp/include/monet.h:133: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:134: error: syntax error before "monet_voidLock"
C:/Dev-Cpp/include/monet.h:134: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:135: error: syntax error before "monet_available"
C:/Dev-Cpp/include/monet.h:135: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:136: error: syntax error before "monet_forksync"
C:/Dev-Cpp/include/monet.h:136: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/monet.h:137: error: syntax error before "profilerLock"
C:/Dev-Cpp/include/monet.h:137: warning: data definition has no type or
storage class
In file included from C:/Dev-Cpp/include/Mapi.h:6,
from mapi_dump.c:1:
C:/Dev-Cpp/include/monet_context.h:8: error: syntax error before "ValRecord"
C:/Dev-Cpp/include/monet_context.h:8: warning: no semicolon at end of struct
or union
C:/Dev-Cpp/include/monet_context.h:10: error: syntax error before "constant"
C:/Dev-Cpp/include/monet_context.h:10: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_context.h:11: error: syntax error before "frozen"
C:/Dev-Cpp/include/monet_context.h:11: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_context.h:13: error: syntax error before '}' token
C:/Dev-Cpp/include/monet_context.h:13: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_context.h:16: error: syntax error before "Variable"
C:/Dev-Cpp/include/monet_context.h:16: warning: no semicolon at end of
struct or union
C:/Dev-Cpp/include/monet_context.h:18: error: conflicting types for 'next'
C:/Dev-Cpp/include/monet_context.h:9: error: previous declaration of 'next'
was here
C:/Dev-Cpp/include/monet_context.h:19: error: syntax error before "shadow"
C:/Dev-Cpp/include/monet_context.h:19: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_context.h:20: error: syntax error before "used"
C:/Dev-Cpp/include/monet_context.h:20: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_context.h:24: error: syntax error before '}' token
C:/Dev-Cpp/include/monet_context.h:24: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_context.h:26: error: syntax error before '*' token
C:/Dev-Cpp/include/monet_context.h:26: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_context.h:31: error: syntax error before "Client"
C:/Dev-Cpp/include/monet_context.h:33: error: syntax error before "Client"
C:/Dev-Cpp/include/monet_context.h:34: error: syntax error before "Client"
C:/Dev-Cpp/include/monet_context.h:35: error: syntax error before
"CNTXTregvars"
C:/Dev-Cpp/include/monet_context.h:35: error: syntax error before "c"
C:/Dev-Cpp/include/monet_context.h:35: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_context.h:42: error: syntax error before "VARfind"
C:/Dev-Cpp/include/monet_context.h:42: error: syntax error before "str"
C:/Dev-Cpp/include/monet_context.h:42: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_context.h:43: error: syntax error before
"VARlocalfind"
C:/Dev-Cpp/include/monet_context.h:43: error: syntax error before "str"
C:/Dev-Cpp/include/monet_context.h:43: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_context.h:44: error: syntax error before "VARnew"
C:/Dev-Cpp/include/monet_context.h:44: error: syntax error before "str"
C:/Dev-Cpp/include/monet_context.h:44: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_context.h:45: error: syntax error before
"VARfindinstance"
C:/Dev-Cpp/include/monet_context.h:45: warning: data definition has no type
or storage class
C:/Dev-Cpp/include/monet_context.h:46: error: syntax error before "Variable"
In file included from C:/Dev-Cpp/include/Mapi.h:7,
from mapi_dump.c:1:
C:/Dev-Cpp/include/mapi.proto.h:27: error: syntax error before '*' token
C:/Dev-Cpp/include/mapi.proto.h:32: error: syntax error before "YYSTREE"
C:/Dev-Cpp/include/mapi.proto.h:37: error: syntax error before "YYSTREE"
C:/Dev-Cpp/include/mapi.proto.h:42: error: syntax error before '*' token
C:/Dev-Cpp/include/mapi.proto.h:47: error: syntax error before '*' token
C:/Dev-Cpp/include/mapi.proto.h:52: error: syntax error before '*' token
C:/Dev-Cpp/include/mapi.proto.h:57: error: syntax error before "YYSTREE"
C:/Dev-Cpp/include/mapi.proto.h:60: error: syntax error before '*' token
C:/Dev-Cpp/include/mapi.proto.h:60: warning: data definition has no type or
storage class
In file included from mapi_dump.c:1:
C:/Dev-Cpp/include/Mapi.h:21: error: syntax error before "Client"
C:/Dev-Cpp/include/Mapi.h:21: warning: no semicolon at end of struct or
union
C:/Dev-Cpp/include/Mapi.h:24: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/Mapi.h:27: error: syntax error before "t"
C:/Dev-Cpp/include/Mapi.h:27: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/Mapi.h:28: error: syntax error before "s"
C:/Dev-Cpp/include/Mapi.h:28: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/Mapi.h:29: error: syntax error before "thread"
C:/Dev-Cpp/include/Mapi.h:29: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/Mapi.h:33: error: syntax error before '}' token
C:/Dev-Cpp/include/Mapi.h:33: warning: data definition has no type or
storage class
C:/Dev-Cpp/include/Mapi.h:41: error: syntax error before '*' token
C:/Dev-Cpp/include/Mapi.h:42: error: syntax error before '*' token
C:/Dev-Cpp/include/Mapi.h:43: error: syntax error before '*' token
C:/Dev-Cpp/include/Mapi.h:44: error: syntax error before '*' token
C:/Dev-Cpp/include/Mapi.h:48: error: syntax error before '*' token
C:/Dev-Cpp/include/Mapi.h:48: error: syntax error before '*' token
C:/Dev-Cpp/include/Mapi.h:48: warning: data definition has no type or
storage class
In file included from mapi_dump.c:3:
C:/Dev-Cpp/include/stdlib.h:348: error: 'free' redeclared as different kind
of symbol
C:/Dev-Cpp/include/monet.h:40: error: previous declaration of 'free' was
here
mapi_dump.c: In function `main':
mapi_dump.c:12: error: `Mapi' undeclared (first use in this function)
mapi_dump.c:12: error: (Each undeclared identifier is reported only once
mapi_dump.c:12: error: for each function it appears in.)
mapi_dump.c:12: error: syntax error before "dbh"
mapi_dump.c:13: error: `MapiHdl' undeclared (first use in this function)
mapi_dump.c:15: error: `dbh' undeclared (first use in this function)
mapi_dump.c:17: error: `hdl' undeclared (first use in this function)
mapi_dump.c:20: error: `MOK' undeclared (first use in this function)
mapi_dump.c:41: warning: initialization makes pointer from integer without a
cast
mapi_dump.c:42: warning: initialization makes pointer from integer without a
cast
make.exe: *** [../MAPI/mapi_dump.o] Error 1
Execution terminated
--
View this message in context: http://www.nabble.com/Hi-tf4440370.html#a12750736
Sent from the monetdb-developers mailing list archive at Nabble.com.