cc -Wall -I/usr/include/slang -D_GNU_SOURCE -g -c -o test.o test.c cc -Wall -I/usr/include/slang -D_GNU_SOURCE -g -DVERSION=\"0.51.6\" -c -o newt.o newt.c newt.c:3:19: slang.h: No such file or directory newt.c:23: error: parse error before "SLsmg_Char_Type" newt.c:23: warning: no semicolon at end of struct or union newt.c:25: error: parse error before '}' token newt.c: In function `getkey': newt.c:175: warning: implicit declaration of function `SLang_getkey' newt.c:176: warning: implicit declaration of function `SLsmg_touch_lines' newt.c:176: error: `SLtt_Screen_Rows' undeclared (first use in this function) newt.c:176: error: (Each undeclared identifier is reported only once newt.c:176: error: for each function it appears in.) newt.c:177: warning: implicit declaration of function `SLsmg_refresh' newt.c: In function `newtFlushInput': newt.c:184: warning: implicit declaration of function `SLang_input_pending' newt.c: In function `newtSuspend': newt.c:194: warning: implicit declaration of function `SLtt_set_cursor_visibility' newt.c:195: warning: implicit declaration of function `SLsmg_suspend_smg' newt.c:196: warning: implicit declaration of function `SLang_reset_tty' newt.c: In function `newtResume': newt.c:201: warning: implicit declaration of function `SLsmg_resume_smg' newt.c:203: warning: implicit declaration of function `SLang_init_tty' newt.c: In function `newtCls': newt.c:207: warning: implicit declaration of function `SLsmg_set_color' newt.c:208: warning: implicit declaration of function `SLsmg_gotorc' newt.c:209: warning: implicit declaration of function `SLsmg_erase_eos' newt.c: In function `newtResizeScreen': newt.c:215: warning: implicit declaration of function `SLtt_get_screen_size' newt.c:216: warning: implicit declaration of function `SLsmg_reinit_smg' newt.c:218: error: `SLtt_Screen_Rows' undeclared (first use in this function) newt.c: In function `newtInit': newt.c:236: warning: implicit declaration of function `SLtt_get_terminfo' newt.c:241: error: `SLtt_Use_Ansi_Colors' undeclared (first use in this function) newt.c:246: warning: implicit declaration of function `SLsmg_init_smg' newt.c:257: warning: implicit declaration of function `SLsignal_intr' newt.c:258: error: `SLang_getkey_intr_hook' undeclared (first use in this function) newt.c: In function `newtFinished': newt.c:266: error: `SLtt_Screen_Rows' undeclared (first use in this function) newt.c:269: warning: implicit declaration of function `SLsmg_reset_smg' newt.c: In function `newtSetColors': newt.c:276: error: `SLtt_Use_Ansi_Colors' undeclared (first use in this function) newt.c:280: warning: implicit declaration of function `SLtt_set_mono' newt.c:282: error: `SLTT_BOLD_MASK' undeclared (first use in this function) newt.c:284: error: `SLTT_REV_MASK' undeclared (first use in this function) newt.c:292: error: `SLTT_ULINE_MASK' undeclared (first use in this function) newt.c:296: warning: implicit declaration of function `SLtt_set_color' newt.c: In function `newtGetKey': newt.c:417: warning: implicit declaration of function `SLang_ungetkey' newt.c: In function `newtOpenWindow': newt.c:446: error: increment of pointer to unknown structure newt.c:446: error: arithmetic on pointer to an incomplete type newt.c:449: error: dereferencing pointer to incomplete type newt.c:450: error: dereferencing pointer to incomplete type newt.c:451: error: dereferencing pointer to incomplete type newt.c:452: error: dereferencing pointer to incomplete type newt.c:453: error: dereferencing pointer to incomplete type newt.c:455: error: dereferencing pointer to incomplete type newt.c:455: error: `SLsmg_Char_Type' undeclared (first use in this function) newt.c:464: error: `SLtt_Screen_Cols' undeclared (first use in this function) newt.c:466: error: `SLtt_Screen_Rows' undeclared (first use in this function) newt.c:471: warning: implicit declaration of function `SLsmg_read_raw' newt.c:471: error: dereferencing pointer to incomplete type newt.c:472: error: dereferencing pointer to incomplete type newt.c:473: error: dereferencing pointer to incomplete type newt.c:479: warning: implicit declaration of function `SLsmg_draw_box' newt.c:481: error: dereferencing pointer to incomplete type newt.c:482: error: dereferencing pointer to incomplete type newt.c:485: warning: implicit declaration of function `SLsmg_set_char_set' newt.c:486: warning: implicit declaration of function `SLsmg_write_char' newt.c:486: error: `SLSMG_RTEE_CHAR' undeclared (first use in this function) newt.c:490: warning: implicit declaration of function `SLsmg_write_string' newt.c:490: error: dereferencing pointer to incomplete type newt.c:494: error: `SLSMG_LTEE_CHAR' undeclared (first use in this function) newt.c:499: warning: implicit declaration of function `SLsmg_fill_region' newt.c: In function `newtCenteredWindow': newt.c:516: error: `SLtt_Screen_Rows' undeclared (first use in this function) newt.c:521: error: `SLtt_Screen_Cols' undeclared (first use in this function) newt.c: In function `newtPopWindow': newt.c:534: error: dereferencing pointer to incomplete type newt.c:535: error: dereferencing pointer to incomplete type newt.c:540: error: dereferencing pointer to incomplete type newt.c:542: warning: implicit declaration of function `SLsmg_write_raw' newt.c:542: error: dereferencing pointer to incomplete type newt.c:543: error: dereferencing pointer to incomplete type newt.c:544: error: dereferencing pointer to incomplete type newt.c:547: error: dereferencing pointer to incomplete type newt.c:548: error: dereferencing pointer to incomplete type newt.c:553: error: decrement of pointer to unknown structure newt.c:553: error: arithmetic on pointer to an incomplete type newt.c: In function `newtGetWindowPos': newt.c:564: error: dereferencing pointer to incomplete type newt.c:565: error: dereferencing pointer to incomplete type newt.c: In function `newtGotorc': newt.c:577: error: dereferencing pointer to incomplete type newt.c:578: error: dereferencing pointer to incomplete type newt.c: In function `newtDrawBox': newt.c:588: error: dereferencing pointer to incomplete type newt.c:589: error: dereferencing pointer to incomplete type newt.c: In function `newtClearBox': newt.c:603: error: dereferencing pointer to incomplete type newt.c:604: error: dereferencing pointer to incomplete type newt.c: In function `newtRedrawHelpLine': newt.c:662: error: `SLtt_Screen_Cols' undeclared (first use in this function) newt.c:674: error: `SLtt_Screen_Rows' undeclared (first use in this function) newt.c: In function `newtDrawRootText': newt.c:708: error: `SLtt_Screen_Cols' undeclared (first use in this function) newt.c:712: error: `SLtt_Screen_Rows' undeclared (first use in this function) newt.c: In function `newtBell': newt.c:737: warning: implicit declaration of function `SLtt_beep' newt.c: In function `newtGetScreenSize': newt.c:741: error: `SLtt_Screen_Rows' undeclared (first use in this function) newt.c:742: error: `SLtt_Screen_Cols' undeclared (first use in this function) newt.c: In function `newtTrashScreen': newt.c:766: error: `SLtt_Screen_Rows' undeclared (first use in this function) newt.c: At top level: newt.c:33: error: storage s