Responder 
 
Avaliação do Tópico:
  • 0 Votos - 0 Média
  • 1
  • 2
  • 3
  • 4
  • 5
E quando eu uso o make, isso acontece ! ! !
15/05/2007, 08:22
Resposta: #1
E quando eu uso o make, isso acontece ! ! !
Bom pessoal, ai está o que acontece quando eu tentei usar o make na minha máquina ! Alguém pode me dizer o por que ????

[color=red]debian:/noip-2.1.4# make
gcc -Wall -g -O2 -Dlinux -DPREFIX=\"/usr/local\" noip2.c -o noip2
noip2.c:110:19: error: stdio.h: Arquivo ou diretório não encontrado
noip2.c:111:20: error: stdlib.h: Arquivo ou diretório não encontrado
noip2.c:113:20: error: unistd.h: Arquivo ou diretório não encontrado
noip2.c:114:23: error: sys/types.h: Arquivo ou diretório não encontrado
noip2.c:115:23: error: sys/ioctl.h: Arquivo ou diretório não encontrado
noip2.c:116:22: error: sys/time.h: Arquivo ou diretório não encontrado
noip2.c:117:20: error: string.h: Arquivo ou diretório não encontrado
noip2.c:118:19: error: ctype.h: Arquivo ou diretório não encontrado
noip2.c:119:19: error: errno.h: Arquivo ou diretório não encontrado
noip2.c:120:20: error: signal.h: Arquivo ou diretório não encontrado
noip2.c:121:20: error: assert.h: Arquivo ou diretório não encontrado
noip2.c:122:21: error: termios.h: Arquivo ou diretório não encontrado
noip2.c:123:24: error: sys/socket.h: Arquivo ou diretório não encontrado
noip2.c:124:24: error: netinet/in.h: Arquivo ou diretório não encontrado
noip2.c:125:19: error: netdb.h: Arquivo ou diretório não encontrado
noip2.c:126:20: error: syslog.h: Arquivo ou diretório não encontrado
noip2.c:127:19: error: fcntl.h: Arquivo ou diretório não encontrado
noip2.c:128:22: error: sys/stat.h: Arquivo ou diretório não encontrado
noip2.c:129:22: error: sys/wait.h: Arquivo ou diretório não encontrado
noip2.c:131:23: error: arpa/inet.h: Arquivo ou diretório não encontrado
noip2.c:132:20: error: net/if.h: Arquivo ou diretório não encontrado
noip2.c:133:21: error: sys/ipc.h: Arquivo ou diretório não encontrado
noip2.c:134:21: error: sys/shm.h: Arquivo ou diretório não encontrado
noip2.c:135:17: error: pwd.h: Arquivo ou diretório não encontrado
noip2.c:136:18: error: time.h: Arquivo ou diretório não encontrado
noip2.c:150:29: error: linux/sockios.h: Arquivo ou diretório não encontrado
noip2.c:338: error: 'NULL' undeclared here (not in a function)
noip2.c:364: error: expected specifier-qualifier-list before 'ushort'
noip2.c:445: warning: 'struct shmid_ds' declared inside parameter list
noip2.c:445: warning: its scope is only this definition or declaration, which is probably not what you want
noip2.c:451: error: expected declaration specifiers or '...' before 'size_t'
noip2.c:452: error: expected declaration specifiers or '...' before 'size_t'
noip2.c:462: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'chksum'
noip2.c: In function 'Usage':
noip2.c:485: warning: implicit declaration of function 'fprintf'
noip2.c:485: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:485: error: 'stderr' undeclared (first use in this function)
noip2.c:485: error: (Each undeclared identifier is reported only once
noip2.c:485: error: for each function it appears in.)
noip2.c: In function 'main':
noip2.c:522: error: invalid use of undefined type 'struct sigaction'
noip2.c:523: warning: implicit declaration of function 'sigemptyset'
noip2.c:523: error: invalid use of undefined type 'struct sigaction'
noip2.c:524: error: invalid use of undefined type 'struct sigaction'
noip2.c:524: error: 'SIG_IGN' undeclared (first use in this function)
noip2.c:525: warning: implicit declaration of function 'sigaction'
noip2.c:525: error: 'SIGHUP' undeclared (first use in this function)
noip2.c:526: error: 'SIGPIPE' undeclared (first use in this function)
noip2.c:527: error: 'SIGUSR1' undeclared (first use in this function)
noip2.c:528: error: 'SIGUSR2' undeclared (first use in this function)
noip2.c:529: error: invalid use of undefined type 'struct sigaction'
noip2.c:530: error: 'SIGALRM' undeclared (first use in this function)
noip2.c:531: warning: implicit declaration of function 'strrchr'
noip2.c:531: warning: incompatible implicit declaration of built-in function 'strrchr'
noip2.c:536: warning: implicit declaration of function 'openlog'
noip2.c:536: error: 'LOG_PID' undeclared (first use in this function)
noip2.c:536: error: 'LOG_DAEMON' undeclared (first use in this function)
noip2.c:538: warning: implicit declaration of function 'realpath'
noip2.c:538: warning: assignment makes pointer from integer without a cast
noip2.c:541: warning: implicit declaration of function 'sprintf'
noip2.c:541: warning: incompatible implicit declaration of built-in function 'sprintf'
noip2.c:548: warning: implicit declaration of function 'exit'
noip2.c:548: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:554: warning: implicit declaration of function 'geteuid'
noip2.c:555: warning: implicit declaration of function 'getpwnam'
noip2.c:555: warning: assignment makes pointer from integer without a cast
noip2.c:556: warning: implicit declaration of function 'setgid'
noip2.c:556: error: dereferencing pointer to incomplete type
noip2.c:557: warning: implicit declaration of function 'setegid'
noip2.c:557: error: dereferencing pointer to incomplete type
noip2.c:558: warning: implicit declaration of function 'setuid'
noip2.c:558: error: dereferencing pointer to incomplete type
noip2.c:559: warning: implicit declaration of function 'seteuid'
noip2.c:559: error: dereferencing pointer to incomplete type
noip2.c:573: error: invalid use of undefined type 'struct sigaction'
noip2.c:575: error: invalid use of undefined type 'struct sigaction'
noip2.c:576: error: 'SIGINT' undeclared (first use in this function)
noip2.c:577: error: 'SIGTERM' undeclared (first use in this function)
noip2.c:578: error: 'SIGQUIT' undeclared (first use in this function)
noip2.c:579: error: invalid use of undefined type 'struct sigaction'
noip2.c:580: error: 'SIGCHLD' undeclared (first use in this function)
noip2.c:596: warning: implicit declaration of function 'shmdt'
noip2.c:604: warning: implicit declaration of function 'strcpy'
noip2.c:604: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c:607: warning: implicit declaration of function 'free'
noip2.c: In function 'process_options':
noip2.c:618: warning: implicit declaration of function 'getopt'
noip2.c:618: error: 'EOF' undeclared (first use in this function)
noip2.c:634: warning: implicit declaration of function 'atoi'
noip2.c:639: warning: implicit declaration of function 'strcat'
noip2.c:639: warning: incompatible implicit declaration of built-in function 'strcat'
noip2.c:668: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:683: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c:704: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:709: 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:725: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:729: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:733: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:614: warning: unused variable 'opterr'
noip2.c: In function 'sigchld_handler':
noip2.c:747: warning: implicit declaration of function 'waitpid'
noip2.c:747: error: 'WNOHANG' undeclared (first use in this function)
noip2.c:747: error: 'WUNTRACED' undeclared (first use in this function)
noip2.c: In function 'save_IP':
noip2.c:764: warning: implicit declaration of function 'access'
noip2.c:764: error: 'W_OK' undeclared (first use in this function)
noip2.c:765: warning: implicit declaration of function 'lseek'
noip2.c:765: error: 'SEEK_SET' undeclared (first use in this function)
noip2.c:766: warning: implicit declaration of function 'write'
noip2.c:767: warning: implicit declaration of function 'strlen'
noip2.c:767: warning: incompatible implicit declaration of built-in function 'strlen'
noip2.c:777: warning: implicit declaration of function 'close'
noip2.c:780: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c: In function 'getip':
noip2.c:787: error: storage size of 'ifr' isn't known
noip2.c:788: error: storage size of 'z' isn't known
noip2.c:791: warning: implicit declaration of function 'socket'
noip2.c:791: error: 'AF_INET' undeclared (first use in this function)
noip2.c:791: error: 'SOCK_DGRAM' undeclared (first use in this function)
noip2.c:792: error: 'errno' undeclared (first use in this function)
noip2.c:795: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c:796: warning: implicit declaration of function 'ioctl'
noip2.c:796: error: 'SIOCGIFFLAGS' undeclared (first use in this function)
noip2.c:801: error: 'IFF_UP' undeclared (first use in this function)
noip2.c:807: error: 'SIOCGIFADDR' undeclared (first use in this function)
noip2.c:814: error: dereferencing pointer to incomplete type
noip2.c:815: warning: implicit declaration of function 'inet_ntoa'
noip2.c:815: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
noip2.c:818: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:818: error: 'stderr' undeclared (first use in this function)
noip2.c:788: warning: unused variable 'z'
noip2.c:787: warning: unused variable 'ifr'
noip2.c: In function 'config_file_inuse':
noip2.c:829: warning: implicit declaration of function 'shmget'
noip2.c:831: warning: implicit declaration of function 'shmat'
noip2.c:831: warning: assignment makes pointer from integer without a cast
noip2.c:838: warning: implicit declaration of function 'strcmp'
noip2.c:839: warning: implicit declaration of function 'kill'
noip2.c: At top level:
noip2.c:850: warning: 'struct shmid_ds' declared inside parameter list
noip2.c:851: error: conflicting types for 'dump_shm'
noip2.c:445: error: previous declaration of 'dump_shm' was here
noip2.c: In function 'dump_shm':
noip2.c:853: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:853: error: 'stderr' undeclared (first use in this function)
noip2.c:854: error: invalid application of 'sizeof' to incomplete type 'struct shmid_ds'
noip2.c:855: error: dereferencing pointer to incomplete type
noip2.c:857: error: dereferencing pointer to incomplete type
noip2.c:857: error: dereferencing pointer to incomplete type
noip2.c:859: error: dereferencing pointer to incomplete type
noip2.c:859: error: dereferencing pointer to incomplete type
noip2.c:860: error: dereferencing pointer to incomplete type
noip2.c:861: warning: implicit declaration of function 'ctime'
noip2.c:861: error: dereferencing pointer to incomplete type
noip2.c:861: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
noip2.c:862: error: dereferencing pointer to incomplete type
noip2.c:862: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
noip2.c:863: error: dereferencing pointer to incomplete type
noip2.c:863: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
noip2.c:864: 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: In function 'get_shm_info':
noip2.c:873: error: storage size of 'ds' isn't known
noip2.c:876: error: 'IPC_CREAT' undeclared (first use in this function)
noip2.c:878: warning: implicit declaration of function 'strerror'
noip2.c:878: error: 'errno' undeclared (first use in this function)
noip2.c:881: warning: implicit declaration of function 'shmctl'
noip2.c:881: error: 'IPC_STAT' undeclared (first use in this function)
noip2.c:896: warning: assignment makes pointer from integer without a cast
noip2.c:914: error: 'ESRCH' undeclared (first use in this function)
noip2.c:921: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c:935: warning: implicit declaration of function 'getpid'
noip2.c:938: warning: incompatible implicit declaration of built-in function 'sprintf'
noip2.c:873: warning: unused variable 'ds'
noip2.c: In function 'run_as_background':
noip2.c:949: warning: implicit declaration of function 'fork'
noip2.c:952: error: 'errno' undeclared (first use in this function)
noip2.c:952: warning: assignment makes pointer from integer without a cast
noip2.c:956: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:958: warning: implicit declaration of function 'setsid'
noip2.c:962: warning: implicit declaration of function 'syslog'
noip2.c:962: error: 'LOG_INFO' undeclared (first use in this function)
noip2.c:977: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c: In function 'Sleep':
noip2.c:995: error: storage size of 'timeout' isn't known
noip2.c:999: warning: implicit declaration of function 'select'
noip2.c:995: warning: unused variable 'timeout'
noip2.c: At top level:
noip2.c:1003: error: expected declaration specifiers or '...' before 'size_t'
noip2.c: In function 'Read':
noip2.c:1005: error: 'size_t' undeclared (first use in this function)
noip2.c:1005: error: expected ';' before 'bytes_read'
noip2.c:1009: error: 'bytes_read' undeclared (first use in this function)
noip2.c:1009: error: 'count' undeclared (first use in this function)
noip2.c:1010: warning: implicit declaration of function 'alarm'
noip2.c:1011: warning: implicit declaration of function 'read'
noip2.c:1015: error: 'LOG_WARNING' undeclared (first use in this function)
noip2.c: At top level:
noip2.c:1030: error: expected declaration specifiers or '...' before 'size_t'
noip2.c: In function 'Write':
noip2.c:1032: error: 'size_t' undeclared (first use in this function)
noip2.c:1032: error: expected ';' before 'bytes_sent'
noip2.c:1036: error: 'bytes_sent' undeclared (first use in this function)
noip2.c:1036: error: 'count' undeclared (first use in this function)
noip2.c: In function 'Connect':
noip2.c:1053: error: storage size of 'saddr' isn't known
noip2.c:1054: error: storage size of 'addr' isn't known
noip2.c:1057: warning: implicit declaration of function 'gethostbyname'
noip2.c:1057: warning: assignment makes pointer from integer without a cast
noip2.c:1060: warning: implicit declaration of function 'memcpy'
noip2.c:1060: warning: incompatible implicit declaration of built-in function 'memcpy'
noip2.c:1060: error: dereferencing pointer to incomplete type
noip2.c:1061: warning: implicit declaration of function 'memset'
noip2.c:1061: warning: incompatible implicit declaration of built-in function 'memset'
noip2.c:1062: error: 'AF_INET' undeclared (first use in this function)
noip2.c:1063: warning: implicit declaration of function 'htons'
noip2.c:1065: error: 'SOCK_STREAM' undeclared (first use in this function)
noip2.c:1070: warning: implicit declaration of function 'connect'
noip2.c:1054: warning: unused variable 'addr'
noip2.c:1053: warning: unused variable 'saddr'
noip2.c: In function 'converse_with_web_server':
noip2.c:1094: warning: implicit declaration of function 'strchr'
noip2.c:1094: warning: incompatible implicit declaration of built-in function 'strchr'
noip2.c:1096: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:1096: error: 'stderr' undeclared (first use in this function)
noip2.c:1101: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:1104: warning: incompatible implicit declaration of built-in function 'strlen'
noip2.c:1104: error: too many arguments to function 'Write'
noip2.c:1108: error: too many arguments to function 'Read'
noip2.c:1117: warning: incompatible implicit declaration of built-in function 'strchr'
noip2.c:1119: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:1124: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c: At top level:
noip2.c:1137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'chksum'
noip2.c: In function 'url_decode':
noip2.c:1158: warning: implicit declaration of function 'isdigit'
noip2.c: In function 'get_one_config':
noip2.c:1173: warning: implicit declaration of function 'open'
noip2.c:1173: error: 'O_RDONLY' undeclared (first use in this function)
noip2.c:1177: error: 'struct CONFIG' has no member named 'rlength'
noip2.c:1178: error: 'struct CONFIG' has no member named 'interval'
noip2.c:1179: error: 'struct CONFIG' has no member named 'nat'
noip2.c:1180: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c:1180: error: 'struct CONFIG' has no member named 'device'
noip2.c:1184: error: 'struct CONFIG' has no member named 'elength'
noip2.c: In function 'display_one_config':
noip2.c:1203: warning: incompatible implicit declaration of built-in function 'strcat'
noip2.c:1205: warning: incompatible implicit declaration of built-in function 'strchr'
noip2.c: In function 'display_current_config':
noip2.c:1256: error: 'SHM_RDONLY' undeclared (first use in this function)
noip2.c:1257: warning: assignment makes pointer from integer without a cast
noip2.c:1264: error: 'SIGTERM' undeclared (first use in this function)
noip2.c:1265: error: 'errno' undeclared (first use in this function)
noip2.c:1265: error: 'ESRCH' undeclared (first use in this function)
noip2.c:1293: error: 'SIGUSR1' undeclared (first use in this function)
noip2.c:1311: error: 'SEEK_SET' undeclared (first use in this function)
noip2.c:1355: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c: In function 'parse_config':
noip2.c:1363: error: 'O_RDWR' undeclared (first use in this function)
noip2.c:1365: error: 'errno' undeclared (first use in this function)
noip2.c:1365: error: 'EACCES' undeclared (first use in this function)
noip2.c:1366: error: 'O_RDONLY' undeclared (first use in this function)
noip2.c:1382: error: 'struct CONFIG' has no member named 'magic'
noip2.c:1384: error: 'struct CONFIG' has no member named 'rlength'
noip2.c:1389: error: 'struct CONFIG' has no member named 'elength'
noip2.c:1396: warning: implicit declaration of function 'chksum'
noip2.c:1396: error: 'struct CONFIG' has no member named 'rlength'
noip2.c:1397: error: 'struct CONFIG' has no member named 'elength'
noip2.c:1398: error: 'struct CONFIG' has no member named 'magic'
noip2.c:1399: error: 'ushort' undeclared (first use in this function)
noip2.c:1400: error: 'struct CONFIG' has no member named 'chksum'
noip2.c:1403: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c:1405: error: 'struct CONFIG' has no member named 'device'
noip2.c:1406: error: 'struct CONFIG' has no member named 'interval'
noip2.c:1407: error: 'struct CONFIG' has no member named 'nat'
noip2.c:1408: error: 'struct CONFIG' has no member named 'count'
noip2.c:1413: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:1415: error: 'struct CONFIG' has no member named 'count'
noip2.c: In function 'get_our_visible_IPaddr':
noip2.c:1431: warning: incompatible implicit declaration of built-in function 'sprintf'
noip2.c:1437: warning: incompatible implicit declaration of built-in function 'strrchr'
noip2.c:1438: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c:1441: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:1441: error: 'stderr' undeclared (first use in this function)
noip2.c: In function 'dump_buffer':
noip2.c:1455: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c:1456: warning: implicit declaration of function 'mkstemp'
noip2.c: In function 'dynamic_update':
noip2.c:1474: warning: incompatible implicit declaration of built-in function 'sprintf'
noip2.c:1475: warning: incompatible implicit declaration of built-in function 'strcat'
noip2.c:1532: error: 'errno' undeclared (first use in this function)
noip2.c:1533: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:1536: warning: incompatible implicit declaration of built-in function 'strrchr'
noip2.c:1545: warning: implicit declaration of function 'execl'
noip2.c:1545: warning: incompatible implicit declaration of built-in function 'execl'
noip2.c: In function 'handle_dynup_error':
noip2.c:1561: error: 'LOG_INFO' undeclared (first use in this function)
noip2.c:1564: error: 'errno' undeclared (first use in this function)
noip2.c:1564: warning: assignment makes pointer from integer without a cast
noip2.c:1611: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c:1612: error: 'SIGTERM' undeclared (first use in this function)
noip2.c: In function 'Malloc':
noip2.c:1682: warning: implicit declaration of function 'malloc'
noip2.c:1682: warning: incompatible implicit declaration of built-in function 'malloc'
noip2.c:1685: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:1685: error: 'stderr' undeclared (first use in this function)
noip2.c:1686: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c: In function 'hosts':
noip2.c:1718: warning: incompatible implicit declaration of built-in function 'memcpy'
noip2.c:1720: warning: incompatible implicit declaration of built-in function 'strlen'
noip2.c:1721: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c:1727: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:1727: error: 'stderr' undeclared (first use in this function)
noip2.c: In function 'xmlerr':
noip2.c:1734: warning: implicit declaration of function 'strncmp'
noip2.c:1746: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:1746: error: 'stderr' undeclared (first use in this function)
noip2.c: In function 'get_xml_field':
noip2.c:1760: warning: incompatible implicit declaration of built-in function 'strlen'
noip2.c:1764: warning: incompatible implicit declaration of built-in function 'strchr'
noip2.c:1768: warning: implicit declaration of function 'strncasecmp'
noip2.c:1779: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:1779: error: 'stderr' undeclared (first use in this function)
noip2.c: In function 'add_to_list':
noip2.c:1790: warning: implicit declaration of function 'assert'
noip2.c:1801: warning: incompatible implicit declaration of built-in function 'strlen'
noip2.c:1802: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c: In function 'yesno':
noip2.c:1830: warning: implicit declaration of function 'vsnprintf'
noip2.c:1833: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:1833: error: 'stderr' undeclared (first use in this function)
noip2.c:1834: warning: implicit declaration of function 'tcgetattr'
noip2.c:1835: error: 'argout' has an incomplete type
noip2.c:1836: error: invalid use of undefined type 'struct termios'
noip2.c:1836: error: 'ICANON' undeclared (first use in this function)
noip2.c:1837: error: invalid use of undefined type 'struct termios'
noip2.c:1837: error: 'ICRNL' undeclared (first use in this function)
noip2.c:1838: error: invalid use of undefined type 'struct termios'
noip2.c:1838: error: 'OPOST' undeclared (first use in this function)
noip2.c:1839: error: invalid use of undefined type 'struct termios'
noip2.c:1839: error: 'VMIN' undeclared (first use in this function)
noip2.c:1840: error: invalid use of undefined type 'struct termios'
noip2.c:1840: error: 'VTIME' undeclared (first use in this function)
noip2.c:1841: warning: implicit declaration of function 'tcsetattr'
noip2.c:1841: error: 'TCSADRAIN' undeclared (first use in this function)
noip2.c:1844: warning: implicit declaration of function 'puts'
noip2.c: In function 'add_to_request':
noip2.c:1855: warning: incompatible implicit declaration of built-in function 'sprintf'
noip2.c:1856: warning: incompatible implicit declaration of built-in function 'strcat'
noip2.c:1858: warning: incompatible implicit declaration of built-in function 'strlen'
noip2.c: In function 'get_update_selection':
noip2.c:1868: warning: incompatible implicit declaration of built-in function 'sprintf'
noip2.c:1886: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:1886: error: 'stderr' undeclared (first use in this function)
noip2.c: In function 'url_encode':
noip2.c:1982: warning: incompatible implicit declaration of built-in function 'sprintf'
noip2.c: In function 'get_credentials':
noip2.c:2008: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:2008: error: 'stderr' undeclared (first use in this function)
noip2.c:2009: warning: implicit declaration of function 'fgets'
noip2.c:2009: error: 'stdin' undeclared (first use in this function)
noip2.c:2010: warning: incompatible implicit declaration of built-in function 'strlen'
noip2.c:2016: error: 'argout' has an incomplete type
noip2.c:2017: error: invalid use of undefined type 'struct termios'
noip2.c:2017: error: 'ICANON' undeclared (first use in this function)
noip2.c:2017: error: 'ECHO' undeclared (first use in this function)
noip2.c:2018: error: invalid use of undefined type 'struct termios'
noip2.c:2018: error: 'ICRNL' undeclared (first use in this function)
noip2.c:2019: error: invalid use of undefined type 'struct termios'
noip2.c:2019: error: 'OPOST' undeclared (first use in this function)
noip2.c:2020: error: invalid use of undefined type 'struct termios'
noip2.c:2020: error: 'VMIN' undeclared (first use in this function)
noip2.c:2021: error: invalid use of undefined type 'struct termios'
noip2.c:2021: error: 'VTIME' undeclared (first use in this function)
noip2.c:2022: error: 'TCSADRAIN' undeclared (first use in this function)
noip2.c:2029: warning: implicit declaration of function 'putchar'
noip2.c:2037: warning: implicit declaration of function 'fflush'
noip2.c:2037: error: 'stdout' undeclared (first use in this function)
noip2.c: In function 'get_all_device_names':
noip2.c:2134: error: storage size of 'Ifc' isn't known
noip2.c:2135: error: array type has incomplete element type
noip2.c:2140: error: 'AF_INET' undeclared (first use in this function)
noip2.c:2140: error: 'SOCK_DGRAM' undeclared (first use in this function)
noip2.c:2141: warning: implicit declaration of function 'perror'
noip2.c:2142: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:2144: error: 'SIOCGIFCONF' undeclared (first use in this function)
noip2.c:2146: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:2148: error: invalid application of 'sizeof' to incomplete type 'struct ifreq'
noip2.c:2150: warning: left-hand operand of comma expression has no effect
noip2.c:2150: error: increment of pointer to unknown structure
noip2.c:2150: error: arithmetic on pointer to an incomplete type
noip2.c:2152: error: dereferencing pointer to incomplete type
noip2.c:2155: warning: incompatible implicit declaration of built-in function 'strchr'
noip2.c:2155: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness
noip2.c:2163: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:2135: warning: unused variable 'IfcBuf'
noip2.c:2134: warning: unused variable 'Ifc'
noip2.c: In function 'get_device_name':
noip2.c:2182: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:2184: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c:2193: error: 'stdin' undeclared (first use in this function)
noip2.c: In function 'autoconf':
noip2.c:2205: error: 'FILE' undeclared (first use in this function)
noip2.c:2205: error: 'fd' undeclared (first use in this function)
noip2.c:2213: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:2216: warning: incompatible implicit declaration of built-in function 'strcpy'
noip2.c:2217: warning: incompatible implicit declaration of built-in function 'strrchr'
noip2.c:2227: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c:2229: warning: implicit declaration of function 'fdopen'
noip2.c:2231: error: 'struct CONFIG' has no member named 'magic'
noip2.c:2232: warning: incompatible implicit declaration of built-in function 'memset'
noip2.c:2233: warning: incompatible implicit declaration of built-in function 'memcpy'
noip2.c:2246: warning: incompatible implicit declaration of built-in function 'sprintf'
noip2.c:2260: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:2260: error: 'stderr' undeclared (first use in this function)
noip2.c:2308: error: 'struct CONFIG' has no member named 'rlength'
noip2.c:2309: error: 'struct CONFIG' has no member named 'nat'
noip2.c:2310: error: 'struct CONFIG' has no member named 'device'
noip2.c:2314: error: 'stdin' undeclared (first use in this function)
noip2.c:2322: error: 'struct CONFIG' has no member named 'interval'
noip2.c:2328: error: 'struct CONFIG' has no member named 'elength'
noip2.c:2328: warning: incompatible implicit declaration of built-in function 'strlen'
noip2.c:2333: warning: incompatible implicit declaration of built-in function 'strlen'
noip2.c:2336: error: 'struct CONFIG' has no member named 'elength'
noip2.c:2338: error: 'struct CONFIG' has no member named 'elength'
noip2.c:2341: error: 'struct CONFIG' has no member named 'encrypt'
noip2.c:2342: error: 'struct CONFIG' has no member named 'count'
noip2.c:2343: error: 'struct CONFIG' has no member named 'magic'
noip2.c:2343: error: 'ushort' undeclared (first use in this function)
noip2.c:2344: error: 'struct CONFIG' has no member named 'rlength'
noip2.c:2345: error: 'struct CONFIG' has no member named 'elength'
noip2.c:2346: error: 'struct CONFIG' has no member named 'chksum'
noip2.c:2347: warning: implicit declaration of function 'fwrite'
noip2.c:2347: warning: incompatible implicit declaration of built-in function 'fwrite'
noip2.c:2348: error: 'struct CONFIG' has no member named 'rlength'
noip2.c:2350: error: 'struct CONFIG' has no member named 'elength'
noip2.c:2351: warning: implicit declaration of function 'fclose'
noip2.c:2353: warning: implicit declaration of function 'rename'
noip2.c:2357: warning: implicit declaration of function 'unlink'
noip2.c:2358: warning: incompatible implicit declaration of built-in function 'exit'
noip2.c: In function 'bencode':
noip2.c:2372: warning: incompatible implicit declaration of built-in function 'strlen'
noip2.c: In function 'bdecode':
noip2.c:2417: warning: incompatible implicit declaration of built-in function 'strlen'
noip2.c: In function 'Msg':
noip2.c:2456: error: 'LOG_ERR' undeclared (first use in this function)
noip2.c:2458: warning: incompatible implicit declaration of built-in function 'fprintf'
noip2.c:2458: error: 'stderr' undeclared (first use in this function)
make: ** [noip2] Erro 1
debian:/noip-2.1.4#

João Alvaro de Souza Baptista
Linux desde criancinha

Debian

mail: [email protected]
msn: [email protected]
icq 26164485
web: http://www.matemaniacos.com.br
Visitar o website do usuário Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
15/05/2007, 10:36
Resposta: #2
 
D~e uma verificada na documentação, veja se tem algum arquivo readme, lá pode ter informações sobre as bibliotecas que vc precisa para a instalação, mais em qualquer caso, vc pode efetuar essa instalação com o apt:

apt-get install no-ip ...
Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
15/05/2007, 22:10
Resposta: #3
 
Obrigado pela dica, instalei o no-ip usando o apt, mas agora to com um problema ! o arquivo noip.conf ??? Quando eu tento startar o No-ip, ele diz que não tem o CONF dele.

João Alvaro de Souza Baptista
Linux desde criancinha

Debian

mail: [email protected]
msn: [email protected]
icq 26164485
web: http://www.matemaniacos.com.br
Visitar o website do usuário Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
15/05/2007, 22:22
Resposta: #4
 
Dê uma olhada nisso:
http://www.guiadohardware.net/dicas/ser ... amico.html
Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
16/05/2007, 00:09
Resposta: #5
 
Vlw Spikey, fiz com o apt e com o tuto que vc me passou pelo link e tudo funcionou ! Vlw mesmo !

João Alvaro de Souza Baptista
Linux desde criancinha

Debian

mail: [email protected]
msn: [email protected]
icq 26164485
web: http://www.matemaniacos.com.br
Visitar o website do usuário Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
Responder 


Ir ao Fórum:


Usuários visualizando este tópico: 1 Visitantes

Entre em Contato | Fórum Debian | Voltar ao Topo | Voltar ao Conteúdo | Modo Leve (Arquivo) | Feeds RSS