compile errors with ax25-apps-0.0.8-rc2.patched_f6bvp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi all,

According to the instructions from FPAC MINI HOWTO, I compiled libax25-0.0.12-rc2.patched_f6bvp and ax25-tools-0.0.10-rc2.patched_f6bvp in Debian 6.0.4 and got the following errors with the apps:

root@localhost:/usr/local/src/ax25/ax25-apps-0.0.8-rc2.patched_f6bvp# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/ax25/ax25-apps-0.0.8-rc2.patched_f6bvp'
Making all in ax25ipd
make[2]: Entering directory `/usr/local/src/ax25/ax25-apps-0.0.8-rc2.patched_f6bvp/ax25ipd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/ax25/ax25-apps-0.0.8-rc2.patched_f6bvp/ax25ipd'
Making all in ax25rtd
make[2]: Entering directory `/usr/local/src/ax25/ax25-apps-0.0.8-rc2.patched_f6bvp/ax25rtd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/ax25/ax25-apps-0.0.8-rc2.patched_f6bvp/ax25rtd'
Making all in call
make[2]: Entering directory `/usr/local/src/ax25/ax25-apps-0.0.8-rc2.patched_f6bvp/call' gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -pthread -MT call.o -MD -MP -MF .deps/call.Tpo -c -o call.o call.c
call.c:38:20: error: curses.h: No such file or directory
In file included from call.c:55:
menu.h:15: error: expected specifier-qualifier-list before ‘WINDOW’
menu.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
menu.h:24: error: expected ‘)’ before ‘*’ token
menu.h:26: error: expected ‘)’ before ‘*’ token
call.c:98: error: expected specifier-qualifier-list before ‘WINDOW’
call.c:116: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
call.c: In function ‘statline’:
call.c:405: warning: implicit declaration of function ‘move’
call.c:406: warning: implicit declaration of function ‘attron’
call.c:406: error: ‘A_REVERSE’ undeclared (first use in this function)
call.c:406: error: (Each undeclared identifier is reported only once
call.c:406: error: for each function it appears in.)
call.c:408: warning: implicit declaration of function ‘addch’
call.c:410: warning: implicit declaration of function ‘attroff’
call.c:411: warning: implicit declaration of function ‘refresh’
call.c:426: warning: implicit declaration of function ‘addstr’
call.c: At top level:
call.c:438: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
call.c:456: error: expected ‘)’ before ‘*’ token
call.c:471: error: expected ‘)’ before ‘*’ token
call.c:519: error: expected declaration specifiers or ‘...’ before ‘WINDOW’
call.c: In function ‘start_ab_download’:
call.c:583: error: ‘swin’ undeclared (first use in this function)
call.c:584: warning: implicit declaration of function ‘opnstatw’
call.c:587: warning: implicit declaration of function ‘wrdstatw’
call.c:635: warning: implicit declaration of function ‘dupdstatw’
call.c: At top level:
call.c:673: error: expected declaration specifiers or ‘...’ before ‘WINDOW’
call.c: In function ‘ab_down’:
call.c:685: warning: implicit declaration of function ‘delwin’
call.c:685: error: ‘swin’ undeclared (first use in this function)
call.c: In function ‘start_screen’:
call.c:757: error: ‘win’ undeclared (first use in this function)
call.c:757: warning: implicit declaration of function ‘initscr’
call.c:760: error: ‘A_REVERSE’ undeclared (first use in this function)
call.c:763: error: ‘ACS_VLINE’ undeclared (first use in this function)
call.c:770: warning: implicit declaration of function ‘noecho’
call.c:771: warning: implicit declaration of function ‘raw’
call.c:772: warning: implicit declaration of function ‘nodelay’
call.c:773: warning: implicit declaration of function ‘keypad’
call.c: In function ‘start_slave_mode’:
call.c:781: error: ‘t_win’ has no member named ‘max_y’
call.c:781: error: ‘LINES’ undeclared (first use in this function)
call.c:782: error: ‘t_win’ has no member named ‘max_x’
call.c:782: error: ‘COLS’ undeclared (first use in this function)
call.c:783: error: ‘t_win’ has no member named ‘ptr’
call.c:784: warning: implicit declaration of function ‘winopen’
call.c:784: error: ‘t_win’ has no member named ‘max_y’
call.c:784: error: ‘t_win’ has no member named ‘max_x’
call.c:785: error: ‘t_win’ has no member named ‘ptr’
call.c:785: error: ‘t_win’ has no member named ‘ptr’
call.c:787: warning: implicit declaration of function ‘scrollok’
call.c:787: error: ‘t_win’ has no member named ‘ptr’
call.c:789: warning: implicit declaration of function ‘wclear’
call.c:789: error: ‘t_win’ has no member named ‘ptr’
call.c:790: warning: implicit declaration of function ‘wrefresh’
call.c:790: error: ‘t_win’ has no member named ‘ptr’
call.c:792: error: ‘t_win’ has no member named ‘bytes’
call.c:793: error: ‘t_win’ has no member named ‘curs_pos’
call.c:794: error: ‘t_win’ has no member named ‘bytes’
call.c:795: error: ‘t_win’ has no member named ‘curs_pos’
call.c: In function ‘start_talk_mode’:
call.c:803: error: ‘WINDOW’ undeclared (first use in this function)
call.c:803: error: ‘win’ undeclared (first use in this function)
call.c:805: error: ‘t_win’ has no member named ‘max_y’
call.c:806: error: ‘t_win’ has no member named ‘max_x’
call.c:806: error: ‘COLS’ undeclared (first use in this function)
call.c:807: error: ‘t_win’ has no member named ‘max_y’
call.c:807: error: ‘LINES’ undeclared (first use in this function)
call.c:807: error: ‘t_win’ has no member named ‘max_y’
call.c:808: error: ‘t_win’ has no member named ‘max_x’
call.c:810: error: ‘t_win’ has no member named ‘ptr’
call.c:811: error: ‘t_win’ has no member named ‘max_y’
call.c:811: error: ‘t_win’ has no member named ‘max_x’
call.c:812: error: ‘t_win’ has no member named ‘max_y’
call.c:813: error: ‘t_win’ has no member named ‘ptr’
call.c:814: error: ‘t_win’ has no member named ‘max_y’
call.c:814: error: ‘t_win’ has no member named ‘max_x’
call.c:816: error: ‘t_win’ has no member named ‘max_x’
call.c:816: error: ‘t_win’ has no member named ‘max_y’
call.c:820: warning: implicit declaration of function ‘waddch’
call.c:823: error: ‘t_win’ has no member named ‘ptr’
call.c:824: error: ‘t_win’ has no member named ‘ptr’
call.c:826: error: ‘t_win’ has no member named ‘ptr’
call.c:827: error: ‘t_win’ has no member named ‘ptr’
call.c:828: error: ‘t_win’ has no member named ‘ptr’
call.c:829: error: ‘t_win’ has no member named ‘ptr’
call.c:831: error: ‘t_win’ has no member named ‘bytes’
call.c:832: error: ‘t_win’ has no member named ‘curs_pos’
call.c:833: error: ‘t_win’ has no member named ‘bytes’
call.c:834: error: ‘t_win’ has no member named ‘curs_pos’
call.c: In function ‘change_mode’:
call.c:856: error: ‘t_win’ has no member named ‘ptr’
call.c:857: error: ‘t_win’ has no member named ‘ptr’
call.c:858: error: ‘t_win’ has no member named ‘ptr’
call.c:859: error: ‘t_win’ has no member named ‘ptr’
call.c:860: error: ‘wint’ has no member named ‘next’
call.c:861: warning: implicit declaration of function ‘endwin’
call.c:864: error: ‘t_win’ has no member named ‘ptr’
call.c:865: error: ‘t_win’ has no member named ‘ptr’
call.c:866: error: ‘wint’ has no member named ‘next’
call.c:873: error: ‘t_win’ has no member named ‘ptr’
call.c:874: error: ‘t_win’ has no member named ‘ptr’
call.c:875: error: ‘wint’ has no member named ‘next’
call.c:879: error: ‘t_win’ has no member named ‘ptr’
call.c:880: error: ‘wint’ has no member named ‘next’
call.c: In function ‘writeincom’:
call.c:901: error: ‘t_win’ has no member named ‘ptr’
call.c:901: error: ‘ACS_ULCORNER’ undeclared (first use in this function)
call.c:905: error: ‘t_win’ has no member named ‘ptr’
call.c:905: error: ‘ACS_URCORNER’ undeclared (first use in this function)
call.c:909: error: ‘t_win’ has no member named ‘ptr’
call.c:909: error: ‘ACS_LLCORNER’ undeclared (first use in this function)
call.c:913: error: ‘t_win’ has no member named ‘ptr’
call.c:913: error: ‘ACS_LRCORNER’ undeclared (first use in this function)
call.c:917: error: ‘t_win’ has no member named ‘ptr’
call.c:917: error: ‘ACS_LTEE’ undeclared (first use in this function)
call.c:921: error: ‘t_win’ has no member named ‘ptr’
call.c:921: error: ‘ACS_RTEE’ undeclared (first use in this function)
call.c:925: error: ‘t_win’ has no member named ‘ptr’
call.c:925: error: ‘ACS_TTEE’ undeclared (first use in this function)
call.c:929: error: ‘t_win’ has no member named ‘ptr’
call.c:929: error: ‘ACS_BTEE’ undeclared (first use in this function)
call.c:933: error: ‘t_win’ has no member named ‘ptr’
call.c:933: error: ‘ACS_HLINE’ undeclared (first use in this function)
call.c:937: error: ‘t_win’ has no member named ‘ptr’
call.c:937: error: ‘ACS_VLINE’ undeclared (first use in this function)
call.c:940: error: ‘t_win’ has no member named ‘ptr’
call.c:943: error: ‘t_win’ has no member named ‘ptr’
call.c:946: error: ‘t_win’ has no member named ‘ptr’
call.c:949: error: ‘t_win’ has no member named ‘ptr’
call.c:952: error: ‘t_win’ has no member named ‘ptr’
call.c:955: error: ‘t_win’ has no member named ‘ptr’
call.c:958: error: ‘t_win’ has no member named ‘ptr’
call.c:963: error: ‘t_win’ has no member named ‘ptr’
call.c:965: error: ‘t_win’ has no member named ‘ptr’
call.c:971: error: ‘t_win’ has no member named ‘ptr’
call.c: In function ‘getstring’:
call.c:982: error: ‘WINDOW’ undeclared (first use in this function)
call.c:982: error: ‘win’ undeclared (first use in this function)
call.c:982: error: ‘COLS’ undeclared (first use in this function)
call.c:984: warning: implicit declaration of function ‘wmove’
call.c:985: warning: implicit declaration of function ‘waddstr’
call.c:989: warning: implicit declaration of function ‘getch’
call.c:990: error: ‘ERR’ undeclared (first use in this function)
call.c:992: error: ‘KEY_BACKSPACE’ undeclared (first use in this function)
call.c:995: warning: implicit declaration of function ‘getyx’
call.c:1006: error: ‘KEY_ENTER’ undeclared (first use in this function)
call.c: In function ‘readoutg’:
call.c:1038: error: ‘ERR’ undeclared (first use in this function)
call.c:1106: error: ‘t_win’ has no member named ‘ptr’
call.c:1110: error: ‘KEY_BACKSPACE’ undeclared (first use in this function)
call.c:1113: error: ‘t_win’ has no member named ‘ptr’
call.c:1114: error: ‘t_win’ has no member named ‘bytes’
call.c:1115: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1115: error: ‘t_win’ has no member named ‘bytes’
call.c:1116: warning: implicit declaration of function ‘mvwaddnstr’
call.c:1116: error: ‘t_win’ has no member named ‘ptr’
call.c:1119: error: ‘t_win’ has no member named ‘string’
call.c:1120: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1121: error: ‘t_win’ has no member named ‘bytes’
call.c:1122: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1123: error: ‘t_win’ has no member named ‘ptr’
call.c:1125: error: ‘t_win’ has no member named ‘string’
call.c:1125: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1127: error: ‘t_win’ has no member named ‘string’
call.c:1128: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1129: error: ‘t_win’ has no member named ‘bytes’
call.c:1130: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1132: warning: implicit declaration of function ‘mvwaddch’
call.c:1132: error: ‘t_win’ has no member named ‘ptr’
call.c:1135: error: ‘t_win’ has no member named ‘ptr’
call.c:1136: error: ‘t_win’ has no member named ‘bytes’
call.c:1137: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1141: error: ‘KEY_LEFT’ undeclared (first use in this function)
call.c:1142: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1143: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1144: error: ‘t_win’ has no member named ‘ptr’
call.c:1145: error: ‘t_win’ has no member named ‘ptr’
call.c:1148: error: ‘KEY_RIGHT’ undeclared (first use in this function)
call.c:1149: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1149: error: ‘t_win’ has no member named ‘bytes’
call.c:1150: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1151: error: ‘t_win’ has no member named ‘ptr’
call.c:1152: error: ‘t_win’ has no member named ‘ptr’
call.c:1155: error: ‘KEY_ENTER’ undeclared (first use in this function)
call.c:1159: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1159: error: ‘t_win’ has no member named ‘bytes’
call.c:1160: error: ‘t_win’ has no member named ‘ptr’
call.c:1161: error: ‘t_win’ has no member named ‘ptr’
call.c:1162: error: ‘t_win’ has no member named ‘bytes’
call.c:1163: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1165: error: ‘t_win’ has no member named ‘ptr’
call.c:1166: error: ‘t_win’ has no member named ‘string’
call.c:1166: error: ‘t_win’ has no member named ‘bytes’
call.c:1167: error: ‘t_win’ has no member named ‘ptr’
call.c:1168: error: ‘t_win’ has no member named ‘string’
call.c:1168: error: ‘t_win’ has no member named ‘bytes’
call.c:1169: error: ‘t_win’ has no member named ‘ptr’
call.c:1170: error: ‘t_win’ has no member named ‘bytes’
call.c:1171: error: ‘t_win’ has no member named ‘bytes’
call.c:1172: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1178: error: ‘t_win’ has no member named ‘ptr’
call.c:1179: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1179: error: ‘t_win’ has no member named ‘bytes’
call.c:1180: error: ‘t_win’ has no member named ‘ptr’
call.c:1181: warning: implicit declaration of function ‘waddnstr’
call.c:1181: error: ‘t_win’ has no member named ‘ptr’
call.c:1182: error: ‘t_win’ has no member named ‘string’
call.c:1183: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1184: error: ‘t_win’ has no member named ‘bytes’
call.c:1185: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1187: error: ‘t_win’ has no member named ‘string’
call.c:1187: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1188: error: ‘t_win’ has no member named ‘string’
call.c:1189: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1190: error: ‘t_win’ has no member named ‘bytes’
call.c:1191: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1192: error: ‘t_win’ has no member named ‘string’
call.c:1192: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1194: error: ‘t_win’ has no member named ‘ptr’
call.c:1196: error: ‘t_win’ has no member named ‘string’
call.c:1196: error: ‘t_win’ has no member named ‘bytes’
call.c:1198: error: ‘t_win’ has no member named ‘bytes’
call.c:1199: error: ‘t_win’ has no member named ‘curs_pos’
call.c:1202: error: ‘t_win’ has no member named ‘ptr’
call.c: At top level:
call.c:1365: error: expected declaration specifiers or ‘...’ before ‘WINDOW’
call.c: In function ‘sevenplname’:
call.c:1423: error: ‘swin’ undeclared (first use in this function)
call.c: In function ‘statbits’:
call.c:1461: error: ‘A_REVERSE’ undeclared (first use in this function)
call.c: In function ‘cmd_call’:
call.c:1535: error: ‘WINDOW’ undeclared (first use in this function)
call.c:1535: error: ‘swin’ undeclared (first use in this function)
call.c:1547: error: ‘wint’ has no member named ‘next’
call.c:1616: warning: passing argument 3 of ‘ab_down’ from incompatible pointer type
call.c:673: note: expected ‘char *’ but argument is of type ‘struct wint *’
call.c:1616: warning: passing argument 4 of ‘ab_down’ from incompatible pointer type
call.c:673: note: expected ‘int *’ but argument is of type ‘char *’
call.c:1616: warning: passing argument 5 of ‘ab_down’ from incompatible pointer type
call.c:673: note: expected ‘struct t_gp *’ but argument is of type ‘int *’
call.c:1616: error: too many arguments to function ‘ab_down’
call.c:1686: warning: passing argument 3 of ‘start_ab_download’ from incompatible pointer type
call.c:519: note: expected ‘char *’ but argument is of type ‘struct wint *’
call.c:1686: warning: passing argument 4 of ‘start_ab_download’ makes integer from pointer without a cast
call.c:519: note: expected ‘int’ but argument is of type ‘char *’
call.c:1686: warning: passing argument 5 of ‘start_ab_download’ makes pointer from integer without a cast
call.c:519: note: expected ‘char *’ but argument is of type ‘int’
call.c:1686: warning: passing argument 6 of ‘start_ab_download’ makes integer from pointer without a cast
call.c:519: note: expected ‘int’ but argument is of type ‘char *’
call.c:1686: warning: passing argument 7 of ‘start_ab_download’ makes pointer from integer without a cast
call.c:519: note: expected ‘struct t_gp *’ but argument is of type ‘int’
call.c:1686: warning: passing argument 8 of ‘start_ab_download’ from incompatible pointer type
call.c:519: note: expected ‘char **’ but argument is of type ‘struct t_gp *’
call.c:1686: error: too many arguments to function ‘start_ab_download’
call.c:1702: warning: passing argument 3 of ‘sevenplname’ from incompatible pointer type
call.c:1365: note: expected ‘int *’ but argument is of type ‘struct wint *’
call.c:1702: warning: passing argument 5 of ‘sevenplname’ from incompatible pointer type
call.c:1365: note: expected ‘char *’ but argument is of type ‘int *’
call.c:1702: warning: passing argument 6 of ‘sevenplname’ makes integer from pointer without a cast
call.c:1365: note: expected ‘int’ but argument is of type ‘char *’
call.c:1702: warning: passing argument 7 of ‘sevenplname’ makes pointer from integer without a cast
call.c:1365: note: expected ‘char *’ but argument is of type ‘int’
call.c:1702: warning: passing argument 8 of ‘sevenplname’ makes integer from pointer without a cast
call.c:1365: note: expected ‘int’ but argument is of type ‘char *’
call.c:1702: error: too many arguments to function ‘sevenplname’
call.c:1749: error: ‘t_win’ has no member named ‘ptr’
call.c:1750: error: ‘t_win’ has no member named ‘ptr’
call.c:1751: error: ‘t_win’ has no member named ‘ptr’
call.c:1752: error: ‘t_win’ has no member named ‘ptr’
make[2]: *** [call.o] Error 1
make[2]: Leaving directory `/usr/local/src/ax25/ax25-apps-0.0.8-rc2.patched_f6bvp/call'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ax25/ax25-apps-0.0.8-rc2.patched_f6bvp'
make: *** [all] Error 2
root@localhost:/usr/local/src/ax25/ax25-apps-0.0.8-rc2.patched_f6bvp#


Any idea how to solve that?

Misko
--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Newbie]     [Kernel Newbies]     [Memory]     [Git]     [Security]     [Netfilter]     [Linux Admin]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [ARM Linux Kernel]     [Linux Networking]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linux Resources]

Add to Google Powered by Linux