Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Jestem zupełnie zielony :( i zaczynam dopiero wiedze teoretyczną zamieniać na praktyczą . I tak zainstalowałem debiana udałomi się o dziwo ustawić maskarade razem z dhcp, wcześniej robiłem to na windzie server 2003. Chciałem do tego zainstalować progz z no-ip.com i pokazał się pierwszy problem. Śćiągnąłem i dałem make,bo był plik makefile ale wyskoczyło multum błędów :( daje zrzuta, prosze o pomoc i wyrozumiałość :) nie bij wytłumacz :-)
noip2.c: In function `get_shm_info': noip2.c:824: error: storage size of `ds' isn't known noip2.c:827: error: `IPC_CREAT' undeclared (first use in this function) noip2.c:829: warning: implicit declaration of function `strerror' noip2.c:829: error: `errno' undeclared (first use in this function) noip2.c:832: warning: implicit declaration of function `shmctl' noip2.c:832: error: `IPC_STAT' undeclared (first use in this function) noip2.c:845: warning: assignment makes pointer from integer without a cast noip2.c:854: error: `NULL' undeclared (first use in this function) noip2.c:862: error: `ESRCH' undeclared (first use in this function) noip2.c:883: warning: implicit declaration of function `getpid' noip2.c:886: error: request for member `lastIP' in something not a structure or union noip2.c:824: warning: unused variable `ds' noip2.c: In function `run_as_background': noip2.c:897: warning: implicit declaration of function `fork' noip2.c:900: error: `errno' undeclared (first use in this function) noip2.c:900: warning: assignment makes pointer from integer without a cast noip2.c:906: warning: implicit declaration of function `setsid' noip2.c:910: warning: implicit declaration of function `syslog' noip2.c:910: error: `LOG_INFO' undeclared (first use in this function) noip2.c: In function `Sleep': noip2.c:940: error: storage size of `timeout' isn't known noip2.c:944: warning: implicit declaration of function `select' noip2.c:940: warning: unused variable `timeout' noip2.c: At top level: noip2.c:948: error: syntax error before "size_t" noip2.c: In function `Read': noip2.c:950: error: `size_t' undeclared (first use in this function) noip2.c:950: error: syntax error before "bytes_read" noip2.c:954: error: `bytes_read' undeclared (first use in this function) noip2.c:955: warning: implicit declaration of function `alarm' noip2.c:956: warning: implicit declaration of function `read' noip2.c:956: error: `sock' undeclared (first use in this function) noip2.c:956: error: `buf' undeclared (first use in this function) noip2.c:960: error: `LOG_WARNING' undeclared (first use in this function) noip2.c: At top level: noip2.c:975: error: syntax error before "size_t" noip2.c: In function `Write': noip2.c:977: error: `size_t' undeclared (first use in this function) noip2.c:977: error: syntax error before "bytes_sent" noip2.c:981: error: `bytes_sent' undeclared (first use in this function) noip2.c:983: error: `fd' undeclared (first use in this function) noip2.c:983: error: `buf' undeclared (first use in this function) noip2.c: In function `Connect': noip2.c:998: error: storage size of `saddr' isn't known noip2.c:999: error: storage size of `addr' isn't known noip2.c:1002: warning: implicit declaration of function `gethostbyname' noip2.c:1002: warning: assignment makes pointer from integer without a cast noip2.c:1005: warning: implicit declaration of function `memcpy' noip2.c:1005: error: dereferencing pointer to incomplete type noip2.c:1006: warning: implicit declaration of function `memset' noip2.c:1007: error: `AF_INET' undeclared (first use in this function) noip2.c:1008: warning: implicit declaration of function `htons' noip2.c:1010: error: `SOCK_STREAM' undeclared (first use in this function) noip2.c:1015: warning: implicit declaration of function `connect' noip2.c:998: warning: unused variable `saddr' noip2.c:999: warning: unused variable `addr' noip2.c: In function `converse_with_web_server': noip2.c:1039: warning: implicit declaration of function `strchr' noip2.c:1041: error: `stderr' undeclared (first use in this function) noip2.c: At top level: noip2.c:1082: error: syntax error before "chksum" noip2.c:1083: warning: return type defaults to `int' noip2.c: In function `chksum': noip2.c:1085: error: `ushort' undeclared (first use in this function) noip2.c:1085: error: syntax error before "sum" noip2.c:1087: error: `sum' undeclared (first use in this function) noip2.c: In function `url_decode': noip2.c:1101: warning: implicit declaration of function `isdigit' noip2.c: In function `get_one_config': noip2.c:1116: warning: implicit declaration of function `open' noip2.c:1116: error: `O_RDONLY' undeclared (first use in this function) noip2.c:1117: error: invalid application of `sizeof' to an incomplete type noip2.c:1120: error: dereferencing pointer to incomplete type noip2.c:1121: error: dereferencing pointer to incomplete type noip2.c:1122: error: dereferencing pointer to incomplete type noip2.c:1123: error: dereferencing pointer to incomplete type noip2.c:1127: error: dereferencing pointer to incomplete type noip2.c:1133: error: `NULL' undeclared (first use in this function) noip2.c: In function `display_one_config': noip2.c:1165: error: `NULL' undeclared (first use in this function) noip2.c: In function `display_current_config': noip2.c:1199: error: `SHM_RDONLY' undeclared (first use in this function) noip2.c:1200: warning: assignment makes pointer from integer without a cast noip2.c:1207: error: `SIGTERM' undeclared (first use in this function) noip2.c:1208: error: `errno' undeclared (first use in this function) noip2.c:1208: error: `ESRCH' undeclared (first use in this function) noip2.c:1236: error: `SIGUSR1' undeclared (first use in this function) noip2.c:1254: error: `SEEK_SET' undeclared (first use in this function) noip2.c: In function `parse_config': noip2.c:1306: error: `O_RDWR' undeclared (first use in this function) noip2.c:1308: error: `errno' undeclared (first use in this function) noip2.c:1308: error: `EACCES' undeclared (first use in this function) noip2.c:1309: error: `O_RDONLY' undeclared (first use in this function) noip2.c:1321: error: invalid application of `sizeof' to an incomplete type noip2.c:1322: warning: assignment from incompatible pointer type noip2.c:1325: error: request for member `magic' in something not a structure or union noip2.c:1327: error: request for member `rlength' in something not a structure or union noip2.c:1332: error: request for member `elength' in something not a structure or union noip2.c:1333: error: incompatible types in assignment noip2.c:1338: error: `NULL' undeclared (first use in this function) noip2.c:1339: error: request for member `rlength' in something not a structure or union noip2.c:1340: error: request for member `elength' in something not a structure or union noip2.c:1341: error: request for member `magic' in something not a structure or union noip2.c:1342: error: invalid application of `sizeof' to an incomplete type noip2.c:1342: error: `ushort' undeclared (first use in this function) noip2.c:1343: error: request for member `chksum' in something not a structure or union noip2.c:1348: error: request for member `device' in something not a structure or union noip2.c:1349: error: request for member `interval' in something not a structure or union noip2.c:1350: error: request for member `nat' in something not a structure or union noip2.c:1351: error: request for member `count' in something not a structure or union noip2.c:1358: error: request for member `count' in something not a structure or union noip2.c: In function `get_our_visible_IPaddr': noip2.c:1366: error: `NULL' undeclared (first use in this function) noip2.c:1384: error: `stderr' undeclared (first use in this function) noip2.c: In function `dump_buffer': noip2.c:1399: warning: implicit declaration of function `mkstemp' noip2.c: In function `dynamic_update': noip2.c:1476: error: `errno' undeclared (first use in this function) noip2.c:1489: warning: implicit declaration of function `execl' noip2.c: In function `handle_dynup_error': noip2.c:1504: error: `LOG_INFO' undeclared (first use in this function) noip2.c:1507: error: `errno' undeclared (first use in this function) noip2.c:1507: warning: assignment makes pointer from integer without a cast noip2.c:1555: error: `SIGTERM' undeclared (first use in this function) noip2.c: In function `Malloc': noip2.c:1625: warning: implicit declaration of function `malloc' noip2.c:1625: warning: initialization makes pointer from integer without a cast noip2.c:1626: error: `NULL' undeclared (first use in this function) noip2.c:1628: error: `stderr' undeclared (first use in this function) noip2.c: In function `hosts': noip2.c:1666: error: `NULL' undeclared (first use in this function) noip2.c:1670: error: `stderr' undeclared (first use in this function) noip2.c: In function `xmlerr': noip2.c:1677: warning: implicit declaration of function `strncmp' noip2.c:1689: error: `stderr' undeclared (first use in this function) noip2.c: In function `get_xml_field': noip2.c:1708: error: `NULL' undeclared (first use in this function) noip2.c:1711: warning: implicit declaration of function `strncasecmp' noip2.c:1722: error: `stderr' undeclared (first use in this function) noip2.c: In function `add_to_list': noip2.c:1733: warning: implicit declaration of function `assert' noip2.c:1733: error: `NULL' undeclared (first use in this function) noip2.c: In function `yesno': noip2.c:1773: warning: implicit declaration of function `vsnprintf' noip2.c:1776: error: `stderr' undeclared (first use in this function) noip2.c:1777: warning: implicit declaration of function `tcgetattr' noip2.c:1778: error: `argout' has an incomplete type noip2.c:1779: error: invalid use of undefined type `struct termios' noip2.c:1779: error: `ICANON' undeclared (first use in this function) noip2.c:1780: error: invalid use of undefined type `struct termios' noip2.c:1780: error: `ICRNL' undeclared (first use in this function) noip2.c:1781: error: invalid use of undefined type `struct termios' noip2.c:1781: error: `OPOST' undeclared (first use in this function) noip2.c:1782: error: invalid use of undefined type `struct termios' noip2.c:1782: error: `VMIN' undeclared (first use in this function) noip2.c:1783: error: invalid use of undefined type `struct termios' noip2.c:1783: error: `VTIME' undeclared (first use in this function) noip2.c:1784: warning: implicit declaration of function `tcsetattr' noip2.c:1784: error: `TCSADRAIN' undeclared (first use in this function) noip2.c:1787: warning: implicit declaration of function `puts' noip2.c: In function `get_update_selection': noip2.c:1818: error: `NULL' undeclared (first use in this function) noip2.c:1829: error: `stderr' undeclared (first use in this function) noip2.c: In function `get_credentials': noip2.c:1935: error: `stderr' undeclared (first use in this function) noip2.c:1936: warning: implicit declaration of function `fgets' noip2.c:1936: error: `stdin' undeclared (first use in this function) noip2.c:1943: error: `argout' has an incomplete type noip2.c:1944: error: invalid use of undefined type `struct termios' noip2.c:1944: error: `ICANON' undeclared (first use in this function) noip2.c:1944: error: `ECHO' undeclared (first use in this function) noip2.c:1945: error: invalid use of undefined type `struct termios' noip2.c:1945: error: `ICRNL' undeclared (first use in this function) noip2.c:1946: error: invalid use of undefined type `struct termios' noip2.c:1946: error: `OPOST' undeclared (first use in this function) noip2.c:1947: error: invalid use of undefined type `struct termios' noip2.c:1947: error: `VMIN' undeclared (first use in this function) noip2.c:1948: error: invalid use of undefined type `struct termios' noip2.c:1948: error: `VTIME' undeclared (first use in this function) noip2.c:1949: error: `TCSADRAIN' undeclared (first use in this function) noip2.c:1956: warning: implicit declaration of function `putchar' noip2.c:1964: warning: implicit declaration of function `fflush' noip2.c:1964: error: `stdout' undeclared (first use in this function) noip2.c: In function `get_all_device_names': noip2.c:2060: error: storage size of `Ifc' isn't known noip2.c:2061: error: storage size of `IfcBuf' isn't known noip2.c:2066: error: `AF_INET' undeclared (first use in this function) noip2.c:2066: error: `SOCK_DGRAM' undeclared (first use in this function) noip2.c:2067: warning: implicit declaration of function `perror' noip2.c:2070: error: `SIOCGIFCONF' undeclared (first use in this function) noip2.c:2074: error: invalid application of `sizeof' to an incomplete type noip2.c:2076: warning: left-hand operand of comma expression has no effect noip2.c:2076: error: increment of pointer to unknown structure noip2.c:2076: error: arithmetic on pointer to an incomplete type noip2.c:2078: error: dereferencing pointer to incomplete type noip2.c:2081: error: `NULL' undeclared (first use in this function) noip2.c:2060: warning: unused variable `Ifc' noip2.c:2061: warning: unused variable `IfcBuf' noip2.c:2061: error: storage size of `IfcBuf' isn't known noip2.c: In function `get_device_name': noip2.c:2119: error: `stdin' undeclared (first use in this function) noip2.c: In function `autoconf': noip2.c:2131: error: `FILE' undeclared (first use in this function) noip2.c:2131: error: `fd' undeclared (first use in this function) noip2.c:2155: warning: implicit declaration of function `fdopen' noip2.c:2156: error: invalid application of `sizeof' to an incomplete type noip2.c:2156: warning: assignment from incompatible pointer type noip2.c:2157: error: request for member `magic' in something not a structure or union noip2.c:2158: error: request for member `lastIP' in something not a structure or union noip2.c:2159: error: request for member `lastIP' in something not a structure or union noip2.c:2186: error: `stderr' undeclared (first use in this function) noip2.c:2211: error: `NULL' undeclared (first use in this function) noip2.c:2235: error: request for member `rlength' in something not a structure or union noip2.c:2236: error: request for member `nat' in something not a structure or union noip2.c:2237: error: request for member `device' in something not a structure or union noip2.c:2241: error: `stdin' undeclared (first use in this function) noip2.c:2249: error: request for member `interval' in something not a structure or union noip2.c:2255: error: request for member `elength' in something not a structure or union noip2.c:2263: error: request for member `elength' in something not a structure or union noip2.c:2265: error: request for member `elength' in something not a structure or union noip2.c:2268: error: request for member `encrypt' in something not a structure or union noip2.c:2269: error: request for member `count' in something not a structure or union noip2.c:2270: error: request for member `magic' in something not a structure or union noip2.c:2270: error: invalid application of `sizeof' to an incomplete type noip2.c:2270: error: `ushort' undeclared (first use in this function) noip2.c:2271: error: request for member `rlength' in something not a structure or union noip2.c:2272: error: request for member `elength' in something not a structure or union noip2.c:2273: error: request for member `chksum' in something not a structure or union noip2.c:2274: warning: implicit declaration of function `fwrite' noip2.c:2274: error: invalid application of `sizeof' to an incomplete type noip2.c:2275: error: request for member `rlength' in something not a structure or union noip2.c:2277: error: request for member `elength' in something not a structure or union noip2.c:2278: warning: implicit declaration of function `fclose' noip2.c:2280: warning: implicit declaration of function `rename' noip2.c:2284: warning: implicit declaration of function `unlink' noip2.c: In function `Msg': noip2.c:2374: error: `LOG_ERR' undeclared (first use in this function) noip2.c:2376: error: `stderr' undeclared (first use in this function) noip2.c: At top level: noip2.c:336: error: storage size of `argin' isn't known noip2.c:336: error: storage size of `argout' isn't known noip2.c:338: error: storage size of `sig' isn't known make: *** [noip2] Błąd 1
Offline