|
From: Tatsuro M. <tma...@ya...> - 2014-03-22 10:42:50
|
Hello
I have tried to build gnuplot cvs (ChangeLog 2014-03-21) on MinGW-w64-32 build with caca terminal.
In building term.c, the following error messages were appeared :
******************************************************************
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:128:39: error: unknown type name 'caca_canvas_t'
static void CACA_put_transparent_char(caca_canvas_t *cv, int x, int y, uint32_t c);
^
../../term/caca.trm:128:72: error: unknown type name 'uint32_t'
static void CACA_put_transparent_char(caca_canvas_t *cv, int x, int y, uint32_t c);
^
../../term/caca.trm:131:25: error: unknown type name 'caca_canvas_t'
static int CACA_put_str(caca_canvas_t *cv, int x, int y, char const *s);
^
../../term/caca.trm:132:28: error: unknown type name 'caca_canvas_t'
static void CACA_draw_line(caca_canvas_t *cv, int x1, int y1, int x2, int y2, uint32_t ch);
^
../../term/caca.trm:132:79: error: unknown type name 'uint32_t'
static void CACA_draw_line(caca_canvas_t *cv, int x1, int y1, int x2, int y2, uint32_t ch);
^
../../term/caca.trm:133:33: error: unknown type name 'caca_canvas_t'
static void CACA_draw_thin_line(caca_canvas_t *cv, int x1, int y1, int x2, int y2);
^
../../term/caca.trm:134:37: error: unknown type name 'caca_canvas_t'
static void CACA_draw_thin_polyline(caca_canvas_t *cv, int const x[], int const y[], int n);
^
../../term/caca.trm:135:32: error: unknown type name 'caca_canvas_t'
static int CACA_draw_cp437_box(caca_canvas_t *cv, int x, int y, int w, int h);
^
../../term/caca.trm:136:31: error: unknown type name 'caca_canvas_t'
static int CACA_draw_thin_box(caca_canvas_t *cv, int x, int y, int w, int h);
^
../../term/caca.trm:138:1: error: unknown type name 'uint8_t'
static uint8_t CACA_rgb_to_ansi(uint32_t color); /* Convert RGB to ANSI background color */
^
../../term/caca.trm:138:33: error: unknown type name 'uint32_t'
static uint8_t CACA_rgb_to_ansi(uint32_t color); /* Convert RGB to ANSI background color */
^
../../term/caca.trm:139:41: error: unknown type name 'uint8_t'
static char const * CACA_get_color_name(uint8_t color); /* Find name of nearest matching predefined color */
^
../../term/caca.trm:180:1: error: unknown type name 'uint8_t'
static uint8_t CACA_background = CACA_WHITE; /* background color */
^
../../term/caca.trm:180:34: error: 'CACA_WHITE' undeclared here (not in a function)
static uint8_t CACA_background = CACA_WHITE; /* background color */
^
../../term/caca.trm:187:1: error: unknown type name 'caca_display_t'
static caca_display_t * CACA_dp;
^
../../term/caca.trm:188:1: error: unknown type name 'caca_canvas_t'
static caca_canvas_t * CACA_cv = NULL;
^
../../term/caca.trm:189:1: error: unknown type name 'caca_canvas_t'
static caca_canvas_t * CACA_screen_cv;
^
../../term/caca.trm:190:1: error: unknown type name 'caca_canvas_t'
static caca_canvas_t * CACA_suspend_cv = NULL;
^
../../term/caca.trm:254:2: error: 'CACA_BLACK' undeclared here (not in a function)
CACA_BLACK, CACA_LIGHTGRAY,
^
../../term/caca.trm:254:14: error: 'CACA_LIGHTGRAY' undeclared here (not in a function)
CACA_BLACK, CACA_LIGHTGRAY,
^
../../term/caca.trm:255:2: error: 'CACA_LIGHTRED' undeclared here (not in a function)
CACA_LIGHTRED, CACA_LIGHTGREEN, CACA_LIGHTBLUE, CACA_LIGHTMAGENTA,
^
../../term/caca.trm:255:17: error: 'CACA_LIGHTGREEN' undeclared here (not in a function)
CACA_LIGHTRED, CACA_LIGHTGREEN, CACA_LIGHTBLUE, CACA_LIGHTMAGENTA,
^
../../term/caca.trm:255:34: error: 'CACA_LIGHTBLUE' undeclared here (not in a function)
CACA_LIGHTRED, CACA_LIGHTGREEN, CACA_LIGHTBLUE, CACA_LIGHTMAGENTA,
^
../../term/caca.trm:255:50: error: 'CACA_LIGHTMAGENTA' undeclared here (not in a function)
CACA_LIGHTRED, CACA_LIGHTGREEN, CACA_LIGHTBLUE, CACA_LIGHTMAGENTA,
^
../../term/caca.trm:256:2: error: 'CACA_LIGHTCYAN' undeclared here (not in a function)
CACA_LIGHTCYAN, CACA_BROWN, CACA_BLACK
^
../../term/caca.trm:256:18: error: 'CACA_BROWN' undeclared here (not in a function)
CACA_LIGHTCYAN, CACA_BROWN, CACA_BLACK
^
../../term/caca.trm:281:16: error: redeclaration of enumerator 'CACA_BACKGROUND'
CACA_CHARSET, CACA_BACKGROUND,
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:136:5: note: previous definition of 'CACA_BACKGROUND' was here
CACA_BACKGROUND = 0x10, /**< Properties of background characters. */
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm: In function 'CACA_options':
../../term/caca.trm:355:5: error: unknown type name 'uint32_t'
uint32_t CACA_background_rgb;
^
../../term/caca.trm:378:18: warning: assignment makes pointer from integer without a cast [enabled by default]
format_list = caca_get_display_driver_list();
^
../../term/caca.trm:382:18: warning: assignment makes pointer from integer without a cast [enabled by default]
format_list = caca_get_export_list();
^
../../term/caca.trm:406:18: warning: assignment makes pointer from integer without a cast [enabled by default]
format_list = caca_get_export_list();
^
../../term/caca.trm:419:18: warning: assignment makes pointer from integer without a cast [enabled by default]
format_list = caca_get_display_driver_list();
^
../../term/caca.trm: In function 'CACA_refresh':
../../term/caca.trm:572:4: error: unknown type name 'uint32_t'
uint32_t attr = caca_get_attr(CACA_screen_cv, -1, -1);
^
../../term/caca.trm:585:3: error: unknown type name 'uint32_t'
uint32_t attr = caca_get_attr(CACA_screen_cv, -1, -1);
^
../../term/caca.trm:617:8: warning: passing argument 1 of 'caca_draw_thin_box' makes integer from pointer without a cast [enabled by default]
CACA_zoom_from.y - CACA_zoom_to.y + 1);
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:300:6: note: expected 'int' but argument is of type 'int *'
void caca_draw_thin_box(int, int, int, int);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:617:8: error: too many arguments to function 'caca_draw_thin_box'
CACA_zoom_from.y - CACA_zoom_to.y + 1);
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:300:6: note: declared here
void caca_draw_thin_box(int, int, int, int);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm: In function 'CACA_check_resize':
../../term/caca.trm:671:2: error: unknown type name 'caca_event_t'
caca_event_t ev;
^
../../term/caca.trm:676:2: warning: passing argument 1 of 'caca_get_event' makes integer from pointer without a cast [enabled by default]
if (caca_get_event(CACA_dp, CACA_EVENT_RESIZE, &ev, 100)) {
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:262:14: note: expected 'unsigned int' but argument is of type 'int *'
unsigned int caca_get_event(unsigned int);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:676:2: error: too many arguments to function 'caca_get_event'
if (caca_get_event(CACA_dp, CACA_EVENT_RESIZE, &ev, 100)) {
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:262:14: note: declared here
unsigned int caca_get_event(unsigned int);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm: In function 'CACA_init_display':
../../term/caca.trm:711:12: warning: assignment makes pointer from integer without a cast [enabled by default]
CACA_dp = caca_create_display(NULL);
^
../../term/caca.trm:713:12: warning: assignment makes pointer from integer without a cast [enabled by default]
CACA_dp = caca_create_display_with_driver(NULL, CACA_driver);
^
../../term/caca.trm:718:4: warning: passing argument 1 of 'strdup' makes pointer from integer without a cast [enabled by default]
CACA_driver = strdup(caca_get_display_driver(CACA_dp));
^
In file included from ../../src/stdfn.h:53:0,
from ../../src/term_api.h:43,
from ../../src/term.c:77:
c:/MinGW/i686-w64-mingw32/include/string.h:94:17: note: expected 'const char *' but argument is of type 'int'
char *__cdecl strdup(const char *_Src) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:740:18: warning: assignment makes pointer from integer without a cast [enabled by default]
CACA_screen_cv = caca_get_canvas(CACA_dp);
^
../../term/caca.trm:779:10: warning: assignment makes pointer from integer without a cast [enabled by default]
CACA_cv = caca_create_canvas(term->xmax + 1, term->ymax + 1);
^
../../term/caca.trm: In function 'CACA_text':
../../term/caca.trm:887:17: warning: initialization makes pointer from integer without a cast [enabled by default]
void * data = caca_export_canvas_to_memory(CACA_cv, CACA_driver, &bytes);
^
../../term/caca.trm: In function 'CACA_close_display':
../../term/caca.trm:917:20: warning: assignment makes pointer from integer without a cast [enabled by default]
CACA_suspend_cv = caca_create_canvas(CACA_xmax + 1, CACA_ymax + 1 + CACA_status_height);
^
../../term/caca.trm: In function 'CACA_color':
../../term/caca.trm:1034:6: error: unknown type name 'uint16_t'
uint16_t color = CACA_colors[(colorspec->lt + 2) % 9];
^
../../term/caca.trm:1051:4: error: unknown type name 'uint32_t'
uint32_t attr;
^
../../term/caca.trm:1053:4: error: unknown type name 'uint16_t'
uint16_t alpha;
^
../../term/caca.trm:1054:4: error: unknown type name 'uint16_t'
uint16_t fg_color;
^
../../term/caca.trm:1055:4: error: unknown type name 'uint16_t'
uint16_t bg_color;
^
../../term/caca.trm:1065:5: error: unknown type name 'uint32_t'
uint32_t fg_color32;
^
../../term/caca.trm:1098:4: error: unknown type name 'uint32_t'
uint32_t attr;
^
../../term/caca.trm:1099:4: error: unknown type name 'uint16_t'
uint16_t alpha, red, green, blue;
^
../../term/caca.trm:1100:4: error: unknown type name 'uint16_t'
uint16_t fg_color;
^
../../term/caca.trm:1101:4: error: unknown type name 'uint16_t'
uint16_t bg_color;
^
../../term/caca.trm:1113:5: error: unknown type name 'uint32_t'
uint32_t fg_color32 = colorspec->lt;
^
../../term/caca.trm: In function 'CACA_encode_text':
../../term/caca.trm:1430:4: error: unknown type name 'uint32_t'
uint32_t c = caca_utf8_to_utf32(s, &bytes);
^
../../term/caca.trm:1443:4: error: unknown type name 'uint32_t'
uint32_t c = caca_cp437_to_utf32(str[i]);
^
../../term/caca.trm:1451:4: error: unknown type name 'uint32_t'
uint32_t c = caca_cp437_to_utf32(str[i]);
^
../../term/caca.trm: In function 'CACA_put_text':
../../term/caca.trm:1540:5: error: unknown type name 'uint32_t'
uint32_t c = caca_utf8_to_utf32(text + n, &bytes);
^
../../term/caca.trm: In function 'CACA_fillbox':
../../term/caca.trm:1730:2: error: unknown type name 'uint32_t'
uint32_t attr;
^
../../term/caca.trm:1750:3: warning: passing argument 1 of 'caca_fill_box' makes integer from pointer without a cast [enabled by default]
caca_fill_box(CACA_cv, x, CACA_ymax - y, w, 1, fillchar);
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:301:6: note: expected 'int' but argument is of type 'int *'
void caca_fill_box(int, int, int, int, char);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:1750:3: error: too many arguments to function 'caca_fill_box'
caca_fill_box(CACA_cv, x, CACA_ymax - y, w, 1, fillchar);
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:301:6: note: declared here
void caca_fill_box(int, int, int, int, char);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:1753:3: warning: passing argument 1 of 'caca_fill_box' makes integer from pointer without a cast [enabled by default]
caca_fill_box(CACA_cv, x, CACA_ymax - y - h + 1, w, h - 1, fillchar);
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:301:6: note: expected 'int' but argument is of type 'int *'
void caca_fill_box(int, int, int, int, char);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:1753:3: error: too many arguments to function 'caca_fill_box'
caca_fill_box(CACA_cv, x, CACA_ymax - y - h + 1, w, h - 1, fillchar);
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:301:6: note: declared here
void caca_fill_box(int, int, int, int, char);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm: In function 'CACA_process_events':
../../term/caca.trm:1822:2: error: unknown type name 'caca_event_t'
caca_event_t ev;
^
../../term/caca.trm:1824:47: error: 'CACA_EVENT_QUIT' undeclared (first use in this function)
CACA_EVENT_KEY_PRESS | CACA_EVENT_RESIZE | CACA_EVENT_QUIT |
^
../../term/caca.trm:1824:47: note: each undeclared identifier is reported only once for each function it appears in
../../term/caca.trm:1830:3: warning: passing argument 1 of 'caca_get_event' makes integer from pointer without a cast [enabled by default]
if (caca_get_event(CACA_dp, event_mask, &ev, 100)) {
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:262:14: note: expected 'unsigned int' but argument is of type 'int *'
unsigned int caca_get_event(unsigned int);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:1830:3: error: too many arguments to function 'caca_get_event'
if (caca_get_event(CACA_dp, event_mask, &ev, 100)) {
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:262:14: note: declared here
unsigned int caca_get_event(unsigned int);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:1923:12: error: 'CACA_KEY_CTRL_C' undeclared (first use in this function)
case CACA_KEY_CTRL_C:
^
../../term/caca.trm: In function 'CACA_discard_events':
../../term/caca.trm:1977:3: warning: passing argument 1 of 'caca_get_event' makes integer from pointer without a cast [enabled by default]
while (caca_get_event(CACA_dp, CACA_EVENT_ANY, NULL, 50) != 0);
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:262:14: note: expected 'unsigned int' but argument is of type 'int *'
unsigned int caca_get_event(unsigned int);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:1977:3: error: too many arguments to function 'caca_get_event'
while (caca_get_event(CACA_dp, CACA_EVENT_ANY, NULL, 50) != 0);
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:262:14: note: declared here
unsigned int caca_get_event(unsigned int);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm: In function 'CACA_print_status':
../../term/caca.trm:2038:3: error: unknown type name 'uint32_t'
uint32_t attr = caca_get_attr(CACA_screen_cv, -1, -1);
^
../../term/caca.trm:2040:52: error: 'CACA_BLUE' undeclared (first use in this function)
caca_set_color_ansi(CACA_screen_cv, CACA_WHITE, CACA_BLUE);
^
../../term/caca.trm:2043:3: warning: passing argument 1 of 'caca_draw_line' makes integer from pointer without a cast [enabled by default]
caca_draw_line(CACA_screen_cv, 0, CACA_ymax + 1, CACA_xmax, CACA_ymax + 1, ' ');
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:289:6: note: expected 'int' but argument is of type 'int *'
void caca_draw_line(int, int, int, int, char);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:2043:3: error: too many arguments to function 'caca_draw_line'
caca_draw_line(CACA_screen_cv, 0, CACA_ymax + 1, CACA_xmax, CACA_ymax + 1, ' ');
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:289:6: note: declared here
void caca_draw_line(int, int, int, int, char);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm: In function 'CACA_filled_polygon':
../../term/caca.trm:2149:2: error: unknown type name 'uint32_t'
uint32_t attr;
^
../../term/caca.trm:2184:6: warning: passing argument 1 of 'caca_fill_box' makes integer from pointer without a cast [enabled by default]
fillchar);
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:301:6: note: expected 'int' but argument is of type 'int *'
void caca_fill_box(int, int, int, int, char);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:2184:6: error: too many arguments to function 'caca_fill_box'
fillchar);
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:301:6: note: declared here
void caca_fill_box(int, int, int, int, char);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:2249:10: warning: passing argument 1 of 'caca_draw_line' makes integer from pointer without a cast [enabled by default]
fillchar);
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:289:6: note: expected 'int' but argument is of type 'int *'
void caca_draw_line(int, int, int, int, char);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:2249:10: error: too many arguments to function 'caca_draw_line'
fillchar);
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:289:6: note: declared here
void caca_draw_line(int, int, int, int, char);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm: In function 'CACA_image':
../../term/caca.trm:2268:2: error: unknown type name 'caca_dither_t'
caca_dither_t * dither;
^
../../term/caca.trm:2271:2: error: unknown type name 'uint8_t'
uint8_t * data;
^
../../term/caca.trm:2306:10: error: 'uint8_t' undeclared (first use in this function)
data = (uint8_t *) gp_alloc(M * N * bpp / 8, "image data");
^
../../term/caca.trm:2306:19: error: expected expression before ')' token
data = (uint8_t *) gp_alloc(M * N * bpp / 8, "image data");
^
../../term/caca.trm:2311:9: warning: assignment makes pointer from integer without a cast [enabled by default]
dither = caca_create_dither(bpp, M, N, M * bpp / 8 /* pitch */, rmask, gmask, bmask, amask);
^
../../term/caca.trm:2335:3: error: unknown type name 'uint32_t'
uint32_t red[256], green[256], blue[256], alpha[256];
^
../../term/caca.trm: In function 'CACA_boxed_text':
../../term/caca.trm:2429:6: warning: passing argument 1 of 'caca_fill_box' makes integer from pointer without a cast [enabled by default]
L' ');
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:301:6: note: expected 'int' but argument is of type 'int *'
void caca_fill_box(int, int, int, int, char);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm:2429:6: error: too many arguments to function 'caca_fill_box'
L' ');
^
In file included from ../../term/caca.trm:97:0,
from ../../src/term.h:257,
from ../../src/term.c:1491:
c:/Programs/gplibs32/include/caca.h:301:6: note: declared here
void caca_fill_box(int, int, int, int, char);
^
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm: At top level:
../../term/caca.trm:2659:27: error: unknown type name 'caca_canvas_t'
CACA_put_transparent_char(caca_canvas_t *cv, int x, int y, uint32_t c)
^
../../term/caca.trm:2659:60: error: unknown type name 'uint32_t'
CACA_put_transparent_char(caca_canvas_t *cv, int x, int y, uint32_t c)
^
../../term/caca.trm:2804:14: error: unknown type name 'caca_canvas_t'
CACA_put_str(caca_canvas_t *cv, int x, int y, char const *s)
^
../../term/caca.trm:2837:16: error: unknown type name 'caca_canvas_t'
CACA_draw_line(caca_canvas_t *cv, int x1, int y1, int x2, int y2, uint32_t ch)
^
../../term/caca.trm:2837:67: error: unknown type name 'uint32_t'
CACA_draw_line(caca_canvas_t *cv, int x1, int y1, int x2, int y2, uint32_t ch)
^
../../term/caca.trm:2917:30: error: unknown type name 'caca_canvas_t'
CACA_internal_draw_thin_line(caca_canvas_t *cv, struct line* s)
^
../../term/caca.trm:3010:21: error: unknown type name 'caca_canvas_t'
CACA_draw_thin_line(caca_canvas_t *cv, int x1, int y1, int x2, int y2)
^
../../term/caca.trm:3023:25: error: unknown type name 'caca_canvas_t'
CACA_draw_thin_polyline(caca_canvas_t *cv, int const x[], int const y[], int n)
^
../../term/caca.trm:3039:24: error: unknown type name 'caca_canvas_t'
CACA_internal_draw_box(caca_canvas_t *cv, int x, int y, int w, int h,
^
../../term/caca.trm:3040:21: error: unknown type name 'uint32_t'
uint32_t const *chars)
^
../../term/caca.trm:3099:20: error: unknown type name 'caca_canvas_t'
CACA_draw_thin_box(caca_canvas_t *cv, int x, int y, int w, int h)
^
../../term/caca.trm:3111:21: error: unknown type name 'caca_canvas_t'
CACA_draw_cp437_box(caca_canvas_t *cv, int x, int y, int w, int h)
^
../../term/caca.trm:3125:1: error: unknown type name 'uint8_t'
CACA_rgb_to_ansi(uint32_t color)
^
../../term/caca.trm:3125:18: error: unknown type name 'uint32_t'
CACA_rgb_to_ansi(uint32_t color)
^
../../term/caca.trm:3142:21: error: unknown type name 'uint8_t'
CACA_get_color_name(uint8_t color)
^
make[1]: *** [term.co] Error 1
make[1]: Leaving directory `/d/usr/Tatsu/mingw32work/gnuplot/gnuplotcvs/gnuplot/config/mingw'
make: *** [console] Error 2
****************************************************************
Two types of errors seemed to be appeared:
The first type expample
In file included from ../../src/term.h:257:0,
from ../../src/term.c:1491:
../../term/caca.trm: In function 'CACA_process_events':
../../term/caca.trm:1822:2: error: unknown type name 'caca_event_t'
caca_event_t ev;
The above error is related caca.
The second type example:
../../term/caca.trm:3040:21: error: unknown type name 'uint32_t'
uint32_t const *chars)
^
The above error is relates to 'uint32_t' or 'uint8_t'.
I have used libcaca-0.9 built by myself on MinGW-w64-32 platform.
Any suggestions?
Regards
Tatsuro
|
|
From: Bastian M. <bma...@we...> - 2014-03-22 11:26:48
|
Am 22.03.2014 11:42, schrieb Tatsuro MATSUOKA: > Hello > > I have tried to build gnuplot cvs (ChangeLog 2014-03-21) on MinGW-w64-32 build with caca terminal. > > In building term.c, the following error messages were appeared : > (snip) > > I have used libcaca-0.9 built by myself on MinGW-w64-32 platform. > > Any suggestions? Yes, libcaca version >= 0.99.beta15 is required. But on Windows you should better use the current svn version since it includes an improved Windows driver. See http://caca.zoy.org/wiki/libcaca on how to obtain the sources via svn or git. Bastian > > Regards > > Tatsuro |
|
From: Tatsuro M. <tma...@ya...> - 2014-03-23 00:23:26
|
Hello --- On Sat, 2014/3/22, Bastian Märkisch wrote: > Am 22.03.2014 11:42, schrieb Tatsuro MATSUOKA: > > Hello > > > > I have tried to build gnuplot cvs (ChangeLog 2014-03-21) on MinGW-w64-32 build with caca terminal. > > > > In building term.c, the following error messages were appeared : > > > (snip) > > > > I have used libcaca-0.9 built by myself on MinGW-w64-32 platform. > > > > Any suggestions? > > Yes, libcaca version >= 0.99.beta15 is required. But on Windows you > should better use the current svn version since it includes an improved > Windows driver. See http://caca.zoy.org/wiki/libcaca on how to obtain > the sources via svn or git. > I have tried to build svn source of libcaca. However, compile failed at caca/string.c due to internal compiler error. ************************************************************* string.c: In function 'caca_blit': string.c:458:51: warning: variable 'bleed_left' set but not used [-Wunused-but-set-variable] int i, j, starti, startj, endi, endj, stride, bleed_left, bleed_right; ^ string.c: At top level: string.c:652:10: internal compiler error: in function_and_variable_visibility, at ipa.c:813 CACA_ALIAS(caca_set_canvas_boundaries); ^ libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://sourceforge.net/projects/mingw-w64> for instructions. make[2]: *** [libcaca_la-string.lo] Error 1 ************************************************************ I have submitted a bug report to http://sourceforge.net/projects/mingw-w64. Anyway thank for your pointer. Regards Tatsuro |
|
From: Bastian M. <bma...@we...> - 2014-03-23 07:36:26
Attachments:
string.c.patch
|
Am 23.03.2014 01:23, schrieb Tatsuro MATSUOKA: > Hello > > --- On Sat, 2014/3/22, Bastian Märkisch wrote: > >> Am 22.03.2014 11:42, schrieb Tatsuro MATSUOKA: >>> Hello >>> >>> I have tried to build gnuplot cvs (ChangeLog 2014-03-21) on MinGW-w64-32 build with caca terminal. >>> >>> In building term.c, the following error messages were appeared : >>> >> (snip) >>> >>> I have used libcaca-0.9 built by myself on MinGW-w64-32 platform. >>> >>> Any suggestions? >> >> Yes, libcaca version >= 0.99.beta15 is required. But on Windows you >> should better use the current svn version since it includes an improved >> Windows driver. See http://caca.zoy.org/wiki/libcaca on how to obtain >> the sources via svn or git. >> > I have tried to build svn source of libcaca. However, compile failed at caca/string.c due to internal compiler error. > I do not remember if this is related or not, but my local copy of libcaca contains the attached changes. With this patch it works fine using MinGW32. Bastian > ************************************************************* > string.c: In function 'caca_blit': > string.c:458:51: warning: variable 'bleed_left' set but not used [-Wunused-but-set-variable] > int i, j, starti, startj, endi, endj, stride, bleed_left, bleed_right; > ^ > string.c: At top level: > string.c:652:10: internal compiler error: in function_and_variable_visibility, at ipa.c:813 > CACA_ALIAS(caca_set_canvas_boundaries); > ^ > libbacktrace could not find executable to open > Please submit a full bug report, > with preprocessed source if appropriate. > See <http://sourceforge.net/projects/mingw-w64> for instructions. > make[2]: *** [libcaca_la-string.lo] Error 1 > ************************************************************ > > I have submitted a bug report to http://sourceforge.net/projects/mingw-w64. > > Anyway thank for your pointer. > > Regards > > Tatsuro > |
|
From: Tatsuro M. <tma...@ya...> - 2014-03-23 12:40:38
|
--- On Sun, 2014/3/23, Bastian Märkischwrote: > Am 23.03.2014 01:23, schrieb Tatsuro MATSUOKA: > > Hello > > > > --- On Sat, 2014/3/22, Bastian Märkisch wrote: > > > >> Am 22.03.2014 11:42, schrieb Tatsuro MATSUOKA: > >>> Hello > >>> > >>> I have tried to build gnuplot cvs (ChangeLog 2014-03-21) on MinGW-w64-32 build with caca terminal. > >>> > >>> In building term.c, the following error messages were appeared : > >>> > >> (snip) > >>> > >>> I have used libcaca-0.9 built by myself on MinGW-w64-32 platform. > >>> > >>> Any suggestions? > >> > >> Yes, libcaca version >= 0.99.beta15 is required. But on Windows you > >> should better use the current svn version since it includes an improved > >> Windows driver. See http://caca.zoy.org/wiki/libcaca on how to obtain > >> the sources via svn or git. > >> > > I have tried to build svn source of libcaca. However, compile failed at caca/string.c due to internal compiler error. > > > > I do not remember if this is related or not, but my local copy of > libcaca contains the attached changes. With this patch it works fine > using MinGW32. > > Bastian With your patch, I could build libcaca and finally could build gnuplot for windows with caca terminal. Thanks for your help!! Tatsuro |
|
From: Bastian M. <bma...@we...> - 2014-03-23 12:53:13
|
Am 23.03.2014 13:40, schrieb Tatsuro MATSUOKA: > --- On Sun, 2014/3/23, Bastian Märkischwrote: >> Am 23.03.2014 01:23, schrieb Tatsuro MATSUOKA: >>> Hello >>> >>> --- On Sat, 2014/3/22, Bastian Märkisch wrote: >>> >>>> Am 22.03.2014 11:42, schrieb Tatsuro MATSUOKA: >>>>> Hello >>>>> >>>>> I have tried to build gnuplot cvs (ChangeLog 2014-03-21) on MinGW-w64-32 build with caca terminal. >>>>> >>>>> In building term.c, the following error messages were appeared : >>>>> >>>> (snip) >>>>> >>>>> I have used libcaca-0.9 built by myself on MinGW-w64-32 platform. >>>>> >>>>> Any suggestions? >>>> >>>> Yes, libcaca version >= 0.99.beta15 is required. But on Windows you >>>> should better use the current svn version since it includes an improved >>>> Windows driver. See http://caca.zoy.org/wiki/libcaca on how to obtain >>>> the sources via svn or git. >>>> >>> I have tried to build svn source of libcaca. However, compile failed at caca/string.c due to internal compiler error. >>> >> >> I do not remember if this is related or not, but my local copy of >> libcaca contains the attached changes. With this patch it works fine >> using MinGW32. >> >> Bastian > > With your patch, I could build libcaca and finally could build gnuplot for windows with caca terminal. > > Thanks for your help!! > > Tatsuro > Thanks for the update. I'll forward this info to the libcaca developers. Bastian |
|
From: Tatsuro M. <tma...@ya...> - 2014-03-23 21:06:01
|
--- On Sun, 2014/3/23, Bastian Märkisch wrote: > > With your patch, I could build libcaca and finally could build gnuplot for windows with caca terminal. > > > > Thanks for your help!! > > > > Tatsuro > > > Thanks for the update. I'll forward this info to the libcaca developers. > > Bastian Thank you for your patch and forwarding the info to the libcaca developers. Tatsuro |