[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Shared lib build attempt on HP-UX 11.11
From: |
Douglas Wilson |
Subject: |
Shared lib build attempt on HP-UX 11.11 |
Date: |
Tue, 29 Apr 2008 15:46:21 -0700 |
The default build (with non-standard prefix) went fine, but I tried
compiling after "./configure --prefix=/users/test --with-shared"
and got:
gcc -Ae -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include
-D_HPUX_SOURCE -I/users/test/include/ncurses +Z -c ../ncurses/li
b_gen.c -o ../obj_s/lib_gen.o
Error 24: "../ncurses/lib_gen.c", line 45 # '<identifier>' expected
instead of 'attr_t'.
T((T_CALLED("attroff(%s)"), _traceattr2(0,z)));
returnCode(wattr_off(stdscr, static_cast<attr_t>(z), 0L));
^^^^^^^^^^
Error 172: "../ncurses/lib_gen.c", line 45 # Undeclared variable 'static_cast'.
T((T_CALLED("attroff(%s)"), _traceattr2(0,z)));
returnCode(wattr_off(stdscr, static_cast<attr_t>(z), 0L));
^^^^^^^^^^
Error 24: "../ncurses/lib_gen.c", line 52 # '<identifier>' expected
instead of 'attr_t'.
T((T_CALLED("attron(%s)"), _traceattr2(0,z)));
returnCode(wattr_on(stdscr, static_cast<attr_t>(z), 0L));
^^^^^^^^^^
Error 172: "../ncurses/lib_gen.c", line 52 # Undeclared variable 'static_cast'.
T((T_CALLED("attron(%s)"), _traceattr2(0,z)));
returnCode(wattr_on(stdscr, static_cast<attr_t>(z), 0L));
^^^^^^^^^^
Error 19: "../ncurses/lib_gen.c", line 66 # Unexpected '>'.
T((T_CALLED("attr_get(%p,%p,%p)"), a1, a2, z));
returnCode(((void)((a1) != 0 && (*(a1) = (stdscr)->_attrs)), (vo
^^^^^^^^^^
Error 27: "../ncurses/lib_gen.c", line 66 # ANSI C does not allow
casts of the form "type (expression)".
T((T_CALLED("attr_get(%p,%p,%p)"), a1, a2, z));
returnCode(((void)((a1) != 0 && (*(a1) = (stdscr)->_attrs)), (vo
^^^^^^^^^^
Error 172: "../ncurses/lib_gen.c", line 66 # Undeclared variable 'static_cast'.
T((T_CALLED("attr_get(%p,%p,%p)"), a1, a2, z));
returnCode(((void)((a1) != 0 && (*(a1) = (stdscr)->_attrs)), (vo
^^^^^^^^^^
Error 24: "../ncurses/lib_gen.c", line 382 # '<identifier>' expected
instead of 'chtype'.
T((T_CALLED("mvinch(%d,%d)"), a1, z));
returnChar((wmove(stdscr,a1,z) == (-1) ? static_cast<chtype>((-1
^^^^^^^^^^
Error 172: "../ncurses/lib_gen.c", line 382 # Undeclared variable 'static_cast'.
T((T_CALLED("mvinch(%d,%d)"), a1, z));
returnChar((wmove(stdscr,a1,z) == (-1) ? static_cast<chtype>((-1
^^^^^^^^^^
Error 331: "../ncurses/lib_gen.c", line 382 # Illegal cast expression;
cannot cast expression type '<no type>' to 'int'.
T((T_CALLED("mvinch(%d,%d)"), a1, z));
returnChar((wmove(stdscr,a1,z) == (-1) ? static_cast<chtype>((-1
^^^^^^^^^^
Error 331: "../ncurses/lib_gen.c", line 382 # Illegal cast expression;
cannot cast expression type '<no type>' to 'int'.
T((T_CALLED("mvinch(%d,%d)"), a1, z));
returnChar((wmove(stdscr,a1,z) == (-1) ? static_cast<chtype>((-1
^^^^^^^^^^
Error 24: "../ncurses/lib_gen.c", line 522 # '<identifier>' expected
instead of 'chtype'.
T((T_CALLED("mvwinch(%p,%d,%d)"), a1, a2, z));
returnChar((wmove(a1,a2,z) == (-1) ? static_cast<chtype>((-1)) :
^^^^^^^^^^
Error 699: "../ncurses/lib_gen.c", line 522 # Error limit reached;
halting compilation.
T((T_CALLED("mvwinch(%p,%d,%d)"), a1, a2, z));
returnChar((wmove(a1,a2,z) == (-1) ? static_cast<chtype>((-1)) :
^^^^^^^^^^
*** Error exit code 2
- Shared lib build attempt on HP-UX 11.11,
Douglas Wilson <=