#22 Does not compilo on MacOS X

closed-fixed
nobody
None
5
2002-12-18
2001-05-23
Anonymous
No

(This can be seen as a bug. But you can also argue that MacOS X is not supported)

When compiling under MacOS X there is an error:

Making all in liflines
cc -DHAVE_CONFIG_H -I. -I. -I.. -I./../hdrs -g -O2 -W -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wreturn-type -Wstrict-prototypes -pedantic -g -c screen.c
In file included from /usr/include/machine/types.h:30,
from /usr/include/sys/types.h:70,
from ./../hdrs/sys_inc.h:5,
from screen.c:34:
/usr/include/ppc/types.h:75: warning: ANSI C does not support `long long'
/usr/include/ppc/types.h:76: warning: ANSI C does not support `long long'
In file included from ./../hdrs/sys_inc.h:7,
from screen.c:34:
/usr/include/stdlib.h:181: warning: ANSI C does not support `long long'
/usr/include/stdlib.h:183: warning: ANSI C does not support `long long'
screen.c: In function `list_browse':
screen.c:645: warning: unused parameter `pindi'
screen.c: In function `ask_for_lldb':
screen.c:655: warning: unused parameter `basedir'
screen.c: In function `ask_for_output_filename':
screen.c:664: warning: unused parameter `path'
screen.c: In function `ask_for_input_filename':
screen.c:672: warning: unused parameter `path'
screen.c: In function `choose_one_from_indiseq':
screen.c:835: warning: comparison between signed and unsigned
screen.c: In function `interact':
screen.c:1101: warning: comparison between signed and unsigned
screen.c: In function `get_answer':
screen.c:1131: warning: pointer targets in passing arg 2 of `wgetstr' differ in signedness
screen.c:1136: warning: pointer targets in return differ in signedness
screen.c: In function `show_vert_line':
screen.c:1536: warning: unused parameter `win'
screen.c:1537: warning: unused parameter `row'
screen.c:1538: warning: unused parameter `col'
screen.c:1539: warning: unused parameter `len'
screen.c: At top level:
screen.c:1608: warning: no previous prototype for `bsd_mvwgetstr'
screen.c: In function `bsd_mvwgetstr':
screen.c:1610: invalid use of undefined type `struct termios'
screen.c:1610: `VERASE' undeclared (first use in this function)
screen.c:1610: (Each undeclared identifier is reported only once
screen.c:1610: for each function it appears in.)
screen.c: At top level:
screen.c:1174: warning: `indiseq_interact' defined but not used
make[2]: *** [screen.o] Fehler 1
make[1]: *** [all-recursive] Fehler 1
make: *** [all-recursive-am] Fehler 2

this seems to be a termio related problem.

Discussion

  • Logged In: NO

    bsd_mvgetstr doesn't exist anymore, so this error should
    not be encountered. Can anyone compile on Mac OS X after
    Jan 5/02?

     
  • Logged In: NO

    ncurses must be installed on Mac OS X 10.1.2 or less before llines 3.0.10 will compile AND run. OX X 10.2 is expected to include ncurses. Until then, for ncurses see Softrak, Apple's Mac OS X downloads, or VersionTracker for a compile-ready download.

     
  • Ben Hines
    Ben Hines
    2002-05-05

    Logged In: YES
    user_id=125034

    lifelines is in fink now. (courtesy me)

    http://fink.sf.net/

    with fink installed, all one has to do is type "fink install lifelines". (note that it is still in the "unstable" tree. Please let me know if it works for you, and i will put it into the "stable" tree)

     
  • Perry
    Perry
    2002-12-18

    • status: open --> closed-fixed
     
  • Perry
    Perry
    2002-12-18

    Logged In: YES
    user_id=60964

    I'm closing this based on Paul's comments here that this
    issue has been addressed, and based also on recent
    reports that 3.0.24 compiles on two versions of Mac OS.