Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

compiling of most-5.0.0a with mingw32 failed

4 views
Skip to first unread message

Cesar Romani

unread,
Oct 21, 2008, 6:29:16 PM10/21/08
to
I've compiled slang 2.1.4 with mingw32 on Vista.
I wanted to compile most-5.0.0a and although I followed the instructions
on README I'm getting the following:

-------------------
gcc -c -Wall -W -O2 -fno-strength-reduce -I../../slang/src ./buffer.c -o
gw32objs/buffer.o
In file included from ./buffer.c:34:
./buffer.h:45: error: syntax error before "Most_Num_Lines"
./buffer.h:45: warning: type defaults to `int' in declaration of
`Most_Num_Lines'
./buffer.h:45: warning: data definition has no type or storage class
./buffer.h:48: error: syntax error before "Most_C_Offset"
./buffer.h:48: warning: type defaults to `int' in declaration of
`Most_C_Offset'
./buffer.h:48: warning: data definition has no type or storage class
./buffer.h:50: error: syntax error before "Most_C_Line"
./buffer.h:50: warning: type defaults to `int' in declaration of
`Most_C_Line'
./buffer.h:50: warning: data definition has no type or storage class
./buffer.h:59: error: syntax error before "most_forward_line"
./buffer.h:59: warning: type defaults to `int' in declaration of
`most_forward_line'
./buffer.h:59: warning: parameter names (without types) in function
declaration
./buffer.h:59: warning: data definition has no type or storage class
./buffer.h:63: warning: parameter names (without types) in function
declaration
./buffer.h:67: error: syntax error before "most_what_line"
./buffer.h:67: warning: type defaults to `int' in declaration of
`most_what_line'
./buffer.h:67: warning: data definition has no type or storage class
./buffer.h:73: error: syntax error before "most_count_lines"
./buffer.h:73: warning: type defaults to `int' in declaration of
`most_count_lines'
./buffer.h:73: warning: data definition has no type or storage class
./buffer.h:78: error: syntax error before "MOST_INT"
./buffer.c:47: error: syntax error before "Most_Num_Lines"
./buffer.c:47: warning: type defaults to `int' in declaration of
`Most_Num_Lines'
./buffer.c:47: warning: data definition has no type or storage class
./buffer.c:49: error: syntax error before "Most_C_Offset"
./buffer.c:49: warning: type defaults to `int' in declaration of
`Most_C_Offset'
./buffer.c:49: warning: data definition has no type or storage class
./buffer.c:50: error: syntax error before "Most_C_Line"
./buffer.c:50: warning: type defaults to `int' in declaration of
`Most_C_Line'
./buffer.c:50: warning: data definition has no type or storage class
./buffer.c:230: error: syntax error before "most_forward_line"
./buffer.c:230: error: syntax error before "save"
./buffer.c:231: warning: return type defaults to `int'
./buffer.c: In function `most_forward_line':
./buffer.c:232: error: `MOST_INT' undeclared (first use in this function)
./buffer.c:232: error: (Each undeclared identifier is reported only once
./buffer.c:232: error: for each function it appears in.)
./buffer.c:232: error: syntax error before "m"
./buffer.c:236: error: `n' undeclared (first use in this function)
./buffer.c:236: error: `save' undeclared (first use in this function)
./buffer.c:243: error: `m' undeclared (first use in this function)
./buffer.c: At top level:
./buffer.c:326: error: syntax error before "most_count_lines"
./buffer.c:327: warning: return type defaults to `int'
./buffer.c: In function `most_count_lines':
./buffer.c:328: error: `MOST_INT' undeclared (first use in this function)
./buffer.c:328: error: syntax error before "save_line"
./buffer.c:330: error: `MOST_UINT' undeclared (first use in this function)
./buffer.c:330: error: syntax error before "save_pos"
./buffer.c:335: error: `save_line' undeclared (first use in this function)
./buffer.c:336: error: `save_pos' undeclared (first use in this function)
./buffer.c:341: error: `n' undeclared (first use in this function)
./buffer.c: At top level:
./buffer.c:351: error: syntax error before "line"
./buffer.c: In function `most_goto_line':
./buffer.c:353: error: `MOST_INT' undeclared (first use in this function)
./buffer.c:353: error: syntax error before "dif_c"
./buffer.c:355: error: `line' undeclared (first use in this function)
./buffer.c:366: error: `dif_c' undeclared (first use in this function)
./buffer.c:367: error: `dif_b' undeclared (first use in this function)
./buffer.c:368: error: `dif_t' undeclared (first use in this function)
./buffer.c: At top level:
./buffer.c:408: error: syntax error before "most_what_line"
./buffer.c:409: warning: return type defaults to `int'
./buffer.c: In function `most_what_line':
./buffer.c:411: error: `MOST_INT' undeclared (first use in this function)
./buffer.c:411: error: syntax error before "save_line"
./buffer.c:426: error: `save_line' undeclared (first use in this function)
./buffer.c:428: error: `dif_c' undeclared (first use in this function)
./buffer.c:429: error: `dif_b' undeclared (first use in this function)
./buffer.c:430: error: `dif_t' undeclared (first use in this function)
./buffer.c:439: error: `dir' undeclared (first use in this function)
./buffer.c: At top level:
./buffer.c:497: error: syntax error before "MOST_INT"
./buffer.c: In function `most_find_row_column':
./buffer.c:501: error: `MOST_INT' undeclared (first use in this function)
./buffer.c:501: error: syntax error before "save_line"
./buffer.c:503: error: `pos' undeclared (first use in this function)
./buffer.c:505: error: `r' undeclared (first use in this function)
./buffer.c:506: error: `c' undeclared (first use in this function)
./buffer.c:510: error: `save_line' undeclared (first use in this function)
make: *** [gw32objs/buffer.o] Error 1
-------------------

Many thanks in advance.
Cesar

0 new messages