Автор Тема: Dns2go  (Прочетена 10464 пъти)

Darks

  • Напреднали
  • *****
  • Публикации: 46
    • Профил
Dns2go
« Отговор #15 -: Aug 20, 2007, 01:15 »
Ами не можах да ги компилирам и дадох ldd noip2-Linux-32bit излезе ми
root@ubuntu:~/Desktop/noip-2.1.6/binaries# ldd noip2-Linux-32bit
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e11000)
        /lib/ld-linux.so.2 (0xb7f61000)
root@ubuntu:~/Desktop/noip-2.1.6/binaries#
Сега какво да направя че изобщо нищо не схващам  ':huh:'
Активен

ivo1204

  • Напреднали
  • *****
  • Публикации: 987
    • Профил
Dns2go
« Отговор #16 -: Aug 20, 2007, 01:27 »
Начи гледам , на UBUNTU си , каква е пречината ,та да не се компилира ? Какво дава ?
Активен

Darks

  • Напреднали
  • *****
  • Публикации: 46
    • Профил
Dns2go
« Отговор #17 -: Aug 20, 2007, 01:35 »
Можеш ли да ми напишеш какви команди трябв да напиша в какъв ред може аз нещо да бъркам отново  '<img'>
Активен

ivo1204

  • Напреднали
  • *****
  • Публикации: 987
    • Профил
Dns2go
« Отговор #18 -: Aug 20, 2007, 01:42 »
Най-добрия вариант е ,да си го компилираш ( ако разбира се ,в дистрибуцията  няма такъв пакет ...).
Гледам , изкарал си знака "#" , т.е. като напишеш командата:
whoami
 отговора трябва да ти е "root". Пърбо ,трябва да отидеш в директорията ,която си разархивирал:
cd /root/Desktop/noip-2.1.6/
( ако е там ,разбира се )
и след това да изпълниш:
make
като свърши , пишеш:
make install



Активен

Darks

  • Напреднали
  • *****
  • Публикации: 46
    • Профил
Dns2go
« Отговор #19 -: Aug 20, 2007, 01:48 »
Примерен код
rrchr’
noip2.c:542: warning: implicit declaration of function ‘openlog’
noip2.c:542: error: ‘LOG_PID’ undeclared (first use in this function)
noip2.c:542: error: ‘LOG_DAEMON’ undeclared (first use in this function)
noip2.c:544: warning: implicit declaration of function ‘realpath’
noip2.c:544: warning: assignment makes pointer from integer without a cast
noip2.c:547: warning: implicit declaration of function ‘sprintf’
noip2.c:547: warning: incompatible implicit declaration of built-in function ‘sprintf’
noip2.c:554: warning: implicit declaration of function ‘exit’
noip2.c:554: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:560: warning: implicit declaration of function ‘geteuid’
noip2.c:561: warning: implicit declaration of function ‘getpwnam’
noip2.c:561: warning: assignment makes pointer from integer without a cast
noip2.c:562: warning: implicit declaration of function ‘setgid’
noip2.c:562: error: dereferencing pointer to incomplete type
noip2.c:563: warning: implicit declaration of function ‘setegid’
noip2.c:563: error: dereferencing pointer to incomplete type
noip2.c:564: warning: implicit declaration of function ‘setuid’
noip2.c:564: error: dereferencing pointer to incomplete type
noip2.c:565: warning: implicit declaration of function ‘seteuid’
noip2.c:565: error: dereferencing pointer to incomplete type
noip2.c:579: error: invalid use of undefined type ‘struct sigaction’
noip2.c:581: error: invalid use of undefined type ‘struct sigaction’
noip2.c:582: error: ‘SIGINT’ undeclared (first use in this function)
noip2.c:583: error: ‘SIGTERM’ undeclared (first use in this function)
noip2.c:584: error: ‘SIGQUIT’ undeclared (first use in this function)
noip2.c:585: error: invalid use of undefined type ‘struct sigaction’
noip2.c:586: error: ‘SIGCHLD’ undeclared (first use in this function)
noip2.c:602: warning: implicit declaration of function ‘shmdt’
noip2.c:610: warning: implicit declaration of function ‘strcpy’
noip2.c:610: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c:613: warning: implicit declaration of function ‘free’
noip2.c: In function ‘process_options’:
noip2.c:624: warning: implicit declaration of function ‘getopt’
noip2.c:624: error: ‘EOF’ undeclared (first use in this function)
noip2.c:640: warning: implicit declaration of function ‘atoi’
noip2.c:645: warning: implicit declaration of function ‘strcat’
noip2.c:645: warning: incompatible implicit declaration of built-in function ‘strcat’
noip2.c:674: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:689: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c:710: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:715: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:721: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:727: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:731: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:735: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:739: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:620: warning: unused variable ‘opterr’
noip2.c: In function ‘sigchld_handler’:
noip2.c:753: warning: implicit declaration of function ‘waitpid’
noip2.c:753: error: ‘WNOHANG’ undeclared (first use in this function)
noip2.c:753: error: ‘WUNTRACED’ undeclared (first use in this function)
noip2.c: In function ‘save_IP’:
noip2.c:770: warning: implicit declaration of function ‘access’
noip2.c:770: error: ‘W_OK’ undeclared (first use in this function)
noip2.c:771: warning: implicit declaration of function ‘lseek’
noip2.c:771: error: ‘SEEK_SET’ undeclared (first use in this function)
noip2.c:772: warning: implicit declaration of function ‘write’
noip2.c:773: warning: implicit declaration of function ‘strlen’
noip2.c:773: warning: incompatible implicit declaration of built-in function ‘strlen’
noip2.c:783: warning: implicit declaration of function ‘close’
noip2.c:786: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c: In function ‘getip’:
noip2.c:793: error: storage size of ‘ifr’ isn’t known
noip2.c:794: error: storage size of ‘z’ isn’t known
noip2.c:797: warning: implicit declaration of function ‘socket’
noip2.c:797: error: ‘AF_INET’ undeclared (first use in this function)
noip2.c:797: error: ‘SOCK_DGRAM’ undeclared (first use in this function)
noip2.c:798: error: ‘errno’ undeclared (first use in this function)
noip2.c:801: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c:802: warning: implicit declaration of function ‘ioctl’
noip2.c:802: error: ‘SIOCGIFFLAGS’ undeclared (first use in this function)
noip2.c:807: error: ‘IFF_UP’ undeclared (first use in this function)
noip2.c:813: error: ‘SIOCGIFADDR’ undeclared (first use in this function)
noip2.c:820: error: dereferencing pointer to incomplete type
noip2.c:821: warning: implicit declaration of function ‘inet_ntoa’
noip2.c:821: warning: passing argument 2 of ‘strcpy’ makes pointer from integer without a cast
noip2.c:824: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:824: error: ‘stderr’ undeclared (first use in this function)
noip2.c:794: warning: unused variable ‘z’
noip2.c:793: warning: unused variable ‘ifr’
noip2.c: In function ‘config_file_inuse’:
noip2.c:835: warning: implicit declaration of function ‘shmget’
noip2.c:837: warning: implicit declaration of function ‘shmat’
noip2.c:837: warning: assignment makes pointer from integer without a cast
noip2.c:844: warning: implicit declaration of function ‘strcmp’
noip2.c:845: warning: implicit declaration of function ‘kill’
noip2.c: At top level:
noip2.c:856: warning: ‘struct shmid_ds’ declared inside parameter list
noip2.c:857: error: conflicting types for ‘dump_shm’
noip2.c:451: error: previous declaration of ‘dump_shm’ was here
noip2.c: In function ‘dump_shm’:
noip2.c:859: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:859: error: ‘stderr’ undeclared (first use in this function)
noip2.c:860: error: invalid application of ‘sizeof’ to incomplete type ‘struct shmid_ds’
noip2.c:861: error: dereferencing pointer to incomplete type
noip2.c:863: error: dereferencing pointer to incomplete type
noip2.c:863: error: dereferencing pointer to incomplete type
noip2.c:865: error: dereferencing pointer to incomplete type
noip2.c:865: error: dereferencing pointer to incomplete type
noip2.c:866: error: dereferencing pointer to incomplete type
noip2.c:867: warning: implicit declaration of function ‘ctime’
noip2.c:867: error: dereferencing pointer to incomplete type
noip2.c:867: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
noip2.c:868: error: dereferencing pointer to incomplete type
noip2.c:868: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
noip2.c:869: error: dereferencing pointer to incomplete type
noip2.c:869: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
noip2.c:870: error: dereferencing pointer to incomplete type
noip2.c:871: error: dereferencing pointer to incomplete type
noip2.c:872: error: dereferencing pointer to incomplete type
noip2.c: In function ‘get_shm_info’:
noip2.c:879: error: storage size of ‘ds’ isn’t known
noip2.c:882: error: ‘IPC_CREAT’ undeclared (first use in this function)
noip2.c:884: warning: implicit declaration of function ‘strerror’
noip2.c:884: error: ‘errno’ undeclared (first use in this function)
noip2.c:887: warning: implicit declaration of function ‘shmctl’
noip2.c:887: error: ‘IPC_STAT’ undeclared (first use in this function)
noip2.c:902: warning: assignment makes pointer from integer without a cast
noip2.c:920: error: ‘ESRCH’ undeclared (first use in this function)
noip2.c:927: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c:941: warning: implicit declaration of function ‘getpid’
noip2.c:944: warning: incompatible implicit declaration of built-in function ‘sprintf’
noip2.c:879: warning: unused variable ‘ds’
noip2.c: In function ‘run_as_background’:
noip2.c:956: warning: implicit declaration of function ‘fork’
noip2.c:959: error: ‘errno’ undeclared (first use in this function)
noip2.c:959: warning: assignment makes pointer from integer without a cast
noip2.c:963: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:965: warning: implicit declaration of function ‘fclose’
noip2.c:965: error: ‘stderr’ undeclared (first use in this function)
noip2.c:966: error: ‘stdout’ undeclared (first use in this function)
noip2.c:967: error: ‘stdin’ undeclared (first use in this function)
noip2.c:968: warning: implicit declaration of function ‘setsid’
noip2.c:972: warning: implicit declaration of function ‘syslog’
noip2.c:972: error: ‘LOG_INFO’ undeclared (first use in this function)
noip2.c:997: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c: In function ‘Sleep’:
noip2.c:1023: error: storage size of ‘timeout’ isn’t known
noip2.c:1027: warning: implicit declaration of function ‘select’
noip2.c:1023: warning: unused variable ‘timeout’
noip2.c: At top level:
noip2.c:1031: error: expected declaration specifiers or ‘...’ before ‘size_t’
noip2.c: In function ‘Read’:
noip2.c:1033: error: ‘size_t’ undeclared (first use in this function)
noip2.c:1033: error: expected ‘;’ before ‘bytes_read’
noip2.c:1037: error: ‘bytes_read’ undeclared (first use in this function)
noip2.c:1037: error: ‘count’ undeclared (first use in this function)
noip2.c:1038: warning: implicit declaration of function ‘alarm’
noip2.c:1039: warning: implicit declaration of function ‘read’
noip2.c:1043: error: ‘LOG_WARNING’ undeclared (first use in this function)
noip2.c: At top level:
noip2.c:1058: error: expected declaration specifiers or ‘...’ before ‘size_t’
noip2.c: In function ‘Write’:
noip2.c:1060: error: ‘size_t’ undeclared (first use in this function)
noip2.c:1060: error: expected ‘;’ before ‘bytes_sent’
noip2.c:1064: error: ‘bytes_sent’ undeclared (first use in this function)
noip2.c:1064: error: ‘count’ undeclared (first use in this function)
noip2.c: In function ‘Connect’:
noip2.c:1081: error: storage size of ‘saddr’ isn’t known
noip2.c:1082: error: storage size of ‘addr’ isn’t known
noip2.c:1085: warning: implicit declaration of function ‘gethostbyname’
noip2.c:1085: warning: assignment makes pointer from integer without a cast
noip2.c:1088: warning: implicit declaration of function ‘memcpy’
noip2.c:1088: warning: incompatible implicit declaration of built-in function ‘memcpy’
noip2.c:1088: error: dereferencing pointer to incomplete type
noip2.c:1089: warning: implicit declaration of function ‘memset’
noip2.c:1089: warning: incompatible implicit declaration of built-in function ‘memset’
noip2.c:1090: error: ‘AF_INET’ undeclared (first use in this function)
noip2.c:1091: warning: implicit declaration of function ‘htons’
noip2.c:1093: error: ‘SOCK_STREAM’ undeclared (first use in this function)
noip2.c:1098: warning: implicit declaration of function ‘connect’
noip2.c:1082: warning: unused variable ‘addr’
noip2.c:1081: warning: unused variable ‘saddr’
noip2.c: In function ‘converse_with_web_server’:
noip2.c:1122: warning: implicit declaration of function ‘strchr’
noip2.c:1122: warning: incompatible implicit declaration of built-in function ‘strchr’
noip2.c:1124: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:1124: error: ‘stderr’ undeclared (first use in this function)
noip2.c:1129: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:1132: warning: incompatible implicit declaration of built-in function ‘strlen’
noip2.c:1132: error: too many arguments to function ‘Write’
noip2.c:1136: error: too many arguments to function ‘Read’
noip2.c:1145: warning: incompatible implicit declaration of built-in function ‘strchr’
noip2.c:1147: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:1152: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c: At top level:
noip2.c:1165: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘’ before ‘chksum’
noip2.c: In function ‘url_decode’:
noip2.c:1186: warning: implicit declaration of function ‘isdigit’
noip2.c: In function ‘get_one_config’:
noip2.c:1201: warning: implicit declaration of function ‘open’
noip2.c:1201: error: ‘O_RDONLY’ undeclared (first use in this function)
noip2.c:1205: error: ‘struct CONFIG’ has no member named ‘rlength’
noip2.c:1206: error: ‘struct CONFIG’ has no member named ‘interval’
noip2.c:1207: error: ‘struct CONFIG’ has no member named ‘nat’
noip2.c:1208: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c:1208: error: ‘struct CONFIG’ has no member named ‘device’
noip2.c:1212: error: ‘struct CONFIG’ has no member named ‘elength’
noip2.c: In function ‘display_one_config’:
noip2.c:1231: warning: incompatible implicit declaration of built-in function ‘strcat’
noip2.c:1233: warning: incompatible implicit declaration of built-in function ‘strchr’
noip2.c: In function ‘display_current_config’:
noip2.c:1284: error: ‘SHM_RDONLY’ undeclared (first use in this function)
noip2.c:1285: warning: assignment makes pointer from integer without a cast
noip2.c:1292: error: ‘SIGTERM’ undeclared (first use in this function)
noip2.c:1293: error: ‘errno’ undeclared (first use in this function)
noip2.c:1293: error: ‘ESRCH’ undeclared (first use in this function)
noip2.c:1321: error: ‘SIGUSR1’ undeclared (first use in this function)
noip2.c:1339: error: ‘SEEK_SET’ undeclared (first use in this function)
noip2.c:1383: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c: In function ‘parse_config’:
noip2.c:1391: error: ‘O_RDWR’ undeclared (first use in this function)
noip2.c:1393: error: ‘errno’ undeclared (first use in this function)
noip2.c:1393: error: ‘EACCES’ undeclared (first use in this function)
noip2.c:1394: error: ‘O_RDONLY’ undeclared (first use in this function)
noip2.c:1410: error: ‘struct CONFIG’ has no member named ‘magic’
noip2.c:1412: error: ‘struct CONFIG’ has no member named ‘rlength’
noip2.c:1417: error: ‘struct CONFIG’ has no member named ‘elength’
noip2.c:1424: warning: implicit declaration of function ‘chksum’
noip2.c:1424: error: ‘struct CONFIG’ has no member named ‘rlength’
noip2.c:1425: error: ‘struct CONFIG’ has no member named ‘elength’
noip2.c:1426: error: ‘struct CONFIG’ has no member named ‘magic’
noip2.c:1427: error: ‘ushort’ undeclared (first use in this function)
noip2.c:1428: error: ‘struct CONFIG’ has no member named ‘chksum’
noip2.c:1431: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c:1433: error: ‘struct CONFIG’ has no member named ‘device’
noip2.c:1434: error: ‘struct CONFIG’ has no member named ‘interval’
noip2.c:1435: error: ‘struct CONFIG’ has no member named ‘nat’
noip2.c:1436: error: ‘struct CONFIG’ has no member named ‘count’
noip2.c:1441: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:1443: error: ‘struct CONFIG’ has no member named ‘count’
noip2.c: In function ‘get_our_visible_IPaddr’:
noip2.c:1459: warning: incompatible implicit declaration of built-in function ‘sprintf’
noip2.c:1465: warning: incompatible implicit declaration of built-in function ‘strrchr’
noip2.c:1466: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c:1469: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:1469: error: ‘stderr’ undeclared (first use in this function)
noip2.c: In function ‘dump_buffer’:
noip2.c:1483: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c:1484: warning: implicit declaration of function ‘mkstemp’
noip2.c: In function ‘dynamic_update’:
noip2.c:1502: warning: incompatible implicit declaration of built-in function ‘sprintf’
noip2.c:1503: warning: incompatible implicit declaration of built-in function ‘strcat’
noip2.c:1560: error: ‘errno’ undeclared (first use in this function)
noip2.c:1561: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:1564: warning: incompatible implicit declaration of built-in function ‘strrchr’
noip2.c:1573: warning: implicit declaration of function ‘execl’
noip2.c:1573: warning: incompatible implicit declaration of built-in function ‘execl’
noip2.c: In function ‘handle_dynup_error’:
noip2.c:1588: error: ‘LOG_INFO’ undeclared (first use in this function)
noip2.c:1591: error: ‘errno’ undeclared (first use in this function)
noip2.c:1591: warning: assignment makes pointer from integer without a cast
noip2.c:1638: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c:1639: error: ‘SIGTERM’ undeclared (first use in this function)
noip2.c: In function ‘Malloc’:
noip2.c:1709: warning: implicit declaration of function ‘malloc’
noip2.c:1709: warning: incompatible implicit declaration of built-in function ‘malloc’
noip2.c:1712: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:1712: error: ‘stderr’ undeclared (first use in this function)
noip2.c:1713: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c: In function ‘hosts’:
noip2.c:1745: warning: incompatible implicit declaration of built-in function ‘memcpy’
noip2.c:1747: warning: incompatible implicit declaration of built-in function ‘strlen’
noip2.c:1748: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c:1754: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:1754: error: ‘stderr’ undeclared (first use in this function)
noip2.c: In function ‘xmlerr’:
noip2.c:1761: warning: implicit declaration of function ‘strncmp’
noip2.c:1773: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:1773: error: ‘stderr’ undeclared (first use in this function)
noip2.c: In function ‘get_xml_field’:
noip2.c:1787: warning: incompatible implicit declaration of built-in function ‘strlen’
noip2.c:1791: warning: incompatible implicit declaration of built-in function ‘strchr’
noip2.c:1795: warning: implicit declaration of function ‘strncasecmp’
noip2.c:1806: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:1806: error: ‘stderr’ undeclared (first use in this function)
noip2.c: In function ‘add_to_list’:
noip2.c:1817: warning: implicit declaration of function ‘assert’
noip2.c:1828: warning: incompatible implicit declaration of built-in function ‘strlen’
noip2.c:1829: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c: In function ‘yesno’:
noip2.c:1857: warning: implicit declaration of function ‘vsnprintf’
noip2.c:1860: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:1860: error: ‘stderr’ undeclared (first use in this function)
noip2.c:1861: warning: implicit declaration of function ‘tcgetattr’
noip2.c:1862: error: ‘argout’ has an incomplete type
noip2.c:1863: error: invalid use of undefined type ‘struct termios’
noip2.c:1863: error: ‘ICANON’ undeclared (first use in this function)
noip2.c:1864: error: invalid use of undefined type ‘struct termios’
noip2.c:1864: error: ‘ICRNL’ undeclared (first use in this function)
noip2.c:1865: error: invalid use of undefined type ‘struct termios’
noip2.c:1865: error: ‘OPOST’ undeclared (first use in this function)
noip2.c:1866: error: invalid use of undefined type ‘struct termios’
noip2.c:1866: error: ‘VMIN’ undeclared (first use in this function)
noip2.c:1867: error: invalid use of undefined type ‘struct termios’
noip2.c:1867: error: ‘VTIME’ undeclared (first use in this function)
noip2.c:1868: warning: implicit declaration of function ‘tcsetattr’
noip2.c:1868: error: ‘TCSADRAIN’ undeclared (first use in this function)
noip2.c:1871: warning: implicit declaration of function ‘puts’
noip2.c: In function ‘add_to_request’:
noip2.c:1882: warning: incompatible implicit declaration of built-in function ‘sprintf’
noip2.c:1883: warning: incompatible implicit declaration of built-in function ‘strcat’
noip2.c:1885: warning: incompatible implicit declaration of built-in function ‘strlen’
noip2.c: In function ‘get_update_selection’:
noip2.c:1895: warning: incompatible implicit declaration of built-in function ‘sprintf’
noip2.c:1913: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:1913: error: ‘stderr’ undeclared (first use in this function)
noip2.c: In function ‘url_encode’:
noip2.c:2009: warning: incompatible implicit declaration of built-in function ‘sprintf’
noip2.c: In function ‘get_credentials’:
noip2.c:2035: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:2035: error: ‘stderr’ undeclared (first use in this function)
noip2.c:2036: warning: implicit declaration of function ‘fgets’
noip2.c:2036: error: ‘stdin’ undeclared (first use in this function)
noip2.c:2037: warning: incompatible implicit declaration of built-in function ‘strlen’
noip2.c:2043: error: ‘argout’ has an incomplete type
noip2.c:2044: error: invalid use of undefined type ‘struct termios’
noip2.c:2044: error: ‘ICANON’ undeclared (first use in this function)
noip2.c:2044: error: ‘ECHO’ undeclared (first use in this function)
noip2.c:2045: error: invalid use of undefined type ‘struct termios’
noip2.c:2045: error: ‘ICRNL’ undeclared (first use in this function)
noip2.c:2046: error: invalid use of undefined type ‘struct termios’
noip2.c:2046: error: ‘OPOST’ undeclared (first use in this function)
noip2.c:2047: error: invalid use of undefined type ‘struct termios’
noip2.c:2047: error: ‘VMIN’ undeclared (first use in this function)
noip2.c:2048: error: invalid use of undefined type ‘struct termios’
noip2.c:2048: error: ‘VTIME’ undeclared (first use in this function)
noip2.c:2049: error: ‘TCSADRAIN’ undeclared (first use in this function)
noip2.c:2056: warning: implicit declaration of function ‘putchar’
noip2.c:2064: warning: implicit declaration of function ‘fflush’
noip2.c:2064: error: ‘stdout’ undeclared (first use in this function)
noip2.c: In function ‘get_all_device_names’:
noip2.c:2161: error: storage size of ‘Ifc’ isn’t known
noip2.c:2162: error: array type has incomplete element type
noip2.c:2167: error: ‘AF_INET’ undeclared (first use in this function)
noip2.c:2167: error: ‘SOCK_DGRAM’ undeclared (first use in this function)
noip2.c:2168: warning: implicit declaration of function ‘perror’
noip2.c:2169: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:2171: error: ‘SIOCGIFCONF’ undeclared (first use in this function)
noip2.c:2173: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:2175: error: invalid application of ‘sizeof’ to incomplete type ‘struct ifreq’
noip2.c:2177: warning: left-hand operand of comma expression has no effect
noip2.c:2177: error: increment of pointer to unknown structure
noip2.c:2177: error: arithmetic on pointer to an incomplete type
noip2.c:2179: error: dereferencing pointer to incomplete type
noip2.c:2182: warning: incompatible implicit declaration of built-in function ‘strchr’
noip2.c:2190: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:2162: warning: unused variable ‘IfcBuf’
noip2.c:2161: warning: unused variable ‘Ifc’
noip2.c: In function ‘get_device_name’:
noip2.c:2209: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:2211: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c:2220: error: ‘stdin’ undeclared (first use in this function)
noip2.c: In function ‘autoconf’:
noip2.c:2232: error: ‘FILE’ undeclared (first use in this function)
noip2.c:2232: error: ‘fd’ undeclared (first use in this function)
noip2.c:2240: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:2243: warning: incompatible implicit declaration of built-in function ‘strcpy’
noip2.c:2244: warning: incompatible implicit declaration of built-in function ‘strrchr’
noip2.c:2254: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c:2256: warning: implicit declaration of function ‘fdopen’
noip2.c:2258: error: ‘struct CONFIG’ has no member named ‘magic’
noip2.c:2259: warning: incompatible implicit declaration of built-in function ‘memset’
noip2.c:2260: warning: incompatible implicit declaration of built-in function ‘memcpy’
noip2.c:2273: warning: incompatible implicit declaration of built-in function ‘sprintf’
noip2.c:2287: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:2287: error: ‘stderr’ undeclared (first use in this function)
noip2.c:2335: error: ‘struct CONFIG’ has no member named ‘rlength’
noip2.c:2336: error: ‘struct CONFIG’ has no member named ‘nat’
noip2.c:2337: error: ‘struct CONFIG’ has no member named ‘device’
noip2.c:2341: error: ‘stdin’ undeclared (first use in this function)
noip2.c:2349: error: ‘struct CONFIG’ has no member named ‘interval’
noip2.c:2355: error: ‘struct CONFIG’ has no member named ‘elength’
noip2.c:2355: warning: incompatible implicit declaration of built-in function ‘strlen’
noip2.c:2360: warning: incompatible implicit declaration of built-in function ‘strlen’
noip2.c:2363: error: ‘struct CONFIG’ has no member named ‘elength’
noip2.c:2365: error: ‘struct CONFIG’ has no member named ‘elength’
noip2.c:2368: error: ‘struct CONFIG’ has no member named ‘encrypt’
noip2.c:2369: error: ‘struct CONFIG’ has no member named ‘count’
noip2.c:2370: error: ‘struct CONFIG’ has no member named ‘magic’
noip2.c:2370: error: ‘ushort’ undeclared (first use in this function)
noip2.c:2371: error: ‘struct CONFIG’ has no member named ‘rlength’
noip2.c:2372: error: ‘struct CONFIG’ has no member named ‘elength’
noip2.c:2373: error: ‘struct CONFIG’ has no member named ‘chksum’
noip2.c:2374: warning: implicit declaration of function ‘fwrite’
noip2.c:2374: warning: incompatible implicit declaration of built-in function ‘fwrite’
noip2.c:2375: error: ‘struct CONFIG’ has no member named ‘rlength’
noip2.c:2377: error: ‘struct CONFIG’ has no member named ‘elength’
noip2.c:2380: warning: implicit declaration of function ‘rename’
noip2.c:2384: warning: implicit declaration of function ‘unlink’
noip2.c:2385: warning: incompatible implicit declaration of built-in function ‘exit’
noip2.c: In function ‘bencode’:
noip2.c:2399: warning: incompatible implicit declaration of built-in function ‘strlen’
noip2.c: In function ‘bdecode’:
noip2.c:2444: warning: incompatible implicit declaration of built-in function ‘strlen’
noip2.c: In function ‘Msg’:
noip2.c:2483: error: ‘LOG_ERR’ undeclared (first use in this function)
noip2.c:2485: warning: incompatible implicit declaration of built-in function ‘fprintf’
noip2.c:2485: error: ‘stderr’ undeclared (first use in this function)
make: *** [noip2] Error 1
Активен

the_real_maniac

  • Напреднали
  • *****
  • Публикации: 1258
  • Kernel panic, me - no panic ;-) :-)
    • Профил
Dns2go
« Отговор #20 -: Aug 20, 2007, 01:52 »
Нещо тук яко не  е в ред ... я версия на gcc, я нещо Make-a се е побъркал или по-точно Makefila-a не е в ред, не ми харесва

сякаш на грешно място (а именно подиректория , а не главната на сорса) пускаш make-a :-)

;-) :-)

аз сега лягам , така че лека и да се надяваме че ivo ще има желанието да ти види точно какъв е проблема, успех '<img'>

пп: и английски , руски или поне немски ще ти трябва (1 от 3-те) няма как , поне един техн. език ти трябва ;-) '<img'>

едит: сеаг като се замисля 100% не е липставаща библиотека или хедър, защото щеше да изпищи, но може нещо версията да има нещо различно с деклариранята иии абе с една идея да имаш не която трябва версия на някоя либ, но най-вероятно е както вече казах

gcc (3/4ver)
make
или Makefile-а нещо да не е в ред ;-) :-) случва се :-)  ':p'  '<img'>

айде , успех  ':p'  '<img'>



Активен

Powered by Debian GNU / LINUX /// Intel inside ...

„Насилието е последното убежище на некомпетентността“ - Айзък Азимов (1920 — 1992)

ivo1204

  • Напреднали
  • *****
  • Публикации: 987
    • Профил
Dns2go
« Отговор #21 -: Aug 20, 2007, 01:55 »
По всяка вероятност , намаш инсталирани всички необходими програми , за да компилираш.
Изпулни командата ( ako не си "root" , използвай "sudo" пред всяка команда )
apt-get update
apt-get upgrade
apt-get install build-essential
и
apt-get install libc6-dev
Опитай пак да компилираш , но първо дай:
make clean
за да изчистиш от предишното компилиране.



Активен

Darks

  • Напреднали
  • *****
  • Публикации: 46
    • Профил
Dns2go
« Отговор #22 -: Aug 20, 2007, 01:59 »
ами аз знам английски ама кат ми ставаха ерорите и се чудя дали си го превеждах правилно за това питах как се превежда.
Аз сега си седя root



Активен

Darks

  • Напреднали
  • *****
  • Публикации: 46
    • Профил
Dns2go
« Отговор #23 -: Aug 20, 2007, 02:00 »
Неуспех при изтеглянето на http://albertomilone.com/drivers....ages.gz  404 Not Found
Неуспех при изтеглянето на http://albertomilone.com/drivers....ages.gz  404 Not Found
Активен

ivo1204

  • Напреднали
  • *****
  • Публикации: 987
    • Профил
Dns2go
« Отговор #24 -: Aug 20, 2007, 02:08 »
Я дай тука файла:
/etc/apt/sources.list
Активен

Darks

  • Напреднали
  • *****
  • Публикации: 46
    • Профил
Dns2go
« Отговор #25 -: Aug 20, 2007, 02:17 »
Оправих го сега е така
root@ubuntu:~# make clean
make: *** No rule to make target `clean'.  Stop.
root@ubuntu:~# cd /root/Desktop/noip-2.1.6
root@ubuntu:~/Desktop/noip-2.1.6# make clean
rm -f *o
rm -f noip2
rm -f binaries/*
root@ubuntu:~/Desktop/noip-2.1.6# make
gcc -Wall -g -O2 -Dlinux -DPREFIX=\"/usr/local\" noip2.c -o noip2
root@ubuntu:~/Desktop/noip-2.1.6# make install
if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin;fi
if [ ! -d /usr/local/etc ]; then mkdir -p /usr/local/etc;fi
cp noip2 /usr/local/bin/noip2
/usr/local/bin/noip2 -C -c /tmp/no-ip2.conf

Auto configuration for Linux client of no-ip.com.

Please enter the login/email string for no-ip.com
Активен

Darks

  • Напреднали
  • *****
  • Публикации: 46
    • Профил
Dns2go
« Отговор #26 -: Aug 20, 2007, 02:22 »
тай пита ме за емаила дето пиша и за паса а след това
Only one group [Games] is registered to this account.
It will be used.
Please enter an update interval:[30]  
Какво ще рече ?
Активен

ivo1204

  • Напреднали
  • *****
  • Публикации: 987
    • Профил
Dns2go
« Отговор #27 -: Aug 20, 2007, 02:22 »
Е ,сега вече по  README.FIRST
Активен

Darks

  • Напреднали
  • *****
  • Публикации: 46
    • Профил
Dns2go
« Отговор #28 -: Aug 20, 2007, 02:26 »
Е нищо не намирам ще ми помогнеш ли ?
Активен

ivo1204

  • Напреднали
  • *****
  • Публикации: 987
    • Профил
Dns2go
« Отговор #29 -: Aug 20, 2007, 02:39 »
Аз си нямам и идея за какво служи тази програма и какво ще правиш с нея , за да ти помогна трябва да прочета. Начи това ,което виждам ,трябва конфигурационнен файл , тия въпроси са за него.
Но предполагам ,много хора знаят за какво става дума , та да се надяваме ,че ще помагат.Успех!
Активен