Página 1 de 2 12 ÚltimoÚltimo
+ Responder ao Tópico



  1. Pessoal, estou reconfigurando meu servidor pq estava uma bagunça;
    Quando fui na pasta do noip e rodei o comando make apresenta isso aqui.
    Pq ?
    São bibliotecas do c
    stdio.h
    Como resolver ?
    Qual pacote falta pra isso rodar normalmente.


    /tmp/noip-2.1.3# make
    gcc -Wall -g -O2 -Dlinux -DPREFIX=\"/usr/local\" noip2.c -o noip2
    noip2.c:105:19: stdio.h: No such file or directory
    noip2.c:106:20: stdlib.h: No such file or directory
    noip2.c:108:20: unistd.h: No such file or directory
    noip2.c:109:23: sys/types.h: No such file or directory
    noip2.c:110:23: sys/ioctl.h: No such file or directory
    noip2.c:111:22: sys/time.h: No such file or directory
    noip2.c:112:20: string.h: No such file or directory
    noip2.c:113:19: ctype.h: No such file or directory
    noip2.c:114:19: errno.h: No such file or directory
    noip2.c:115:20: signal.h: No such file or directory
    noip2.c:116:20: assert.h: No such file or directory
    noip2.c:117:21: termios.h: No such file or directory
    noip2.c:118:24: sys/socket.h: No such file or directory
    noip2.c:119:24: netinet/in.h: No such file or directory
    noip2.c:120:19: netdb.h: No such file or directory
    noip2.c:121:20: syslog.h: No such file or directory
    noip2.c:122:19: fcntl.h: No such file or directory
    noip2.c:123:22: sys/stat.h: No such file or directory
    noip2.c:124:22: sys/wait.h: No such file or directory
    noip2.c:126:23: arpa/inet.h: No such file or directory
    noip2.c:127:20: net/if.h: No such file or directory
    noip2.c:128:21: sys/ipc.h: No such file or directory
    noip2.c:129:21: sys/shm.h: No such file or directory
    noip2.c:130:17: pwd.h: No such file or directory
    noip2.c:131:18: time.h: No such file or directory
    noip2.c:333: error: `NULL' undeclared here (not in a function)
    noip2.c:359: error: syntax error before "ushort"
    noip2.c:359: warning: no semicolon at end of struct or union
    noip2.c:360: warning: type defaults to `int' in declaration of `chksum'
    noip2.c:360: warning: data definition has no type or storage class
    noip2.c:361: error: syntax error before "magic"
    noip2.c:361: warning: type defaults to `int' in declaration of `magic'
    noip2.c:361: warning: data definition has no type or storage class
    noip2.c:362: error: syntax error before "rlength"
    noip2.c:362: warning: type defaults to `int' in declaration of `rlength'
    noip2.c:362: warning: data definition has no type or storage class
    noip2.c:363: error: syntax error before "elength"
    noip2.c:363: warning: type defaults to `int' in declaration of `elength'
    noip2.c:363: warning: data definition has no type or storage class
    noip2.c:366: error: conflicting types for 'nat'
    noip2.c:314: error: previous definition of 'nat' was here
    noip2.c:368: error: conflicting types for 'device'
    noip2.c:347: error: previous declaration of 'device' was here
    noip2.c:370: error: conflicting types for 'execpath'
    noip2.c:340: error: previous definition of 'execpath' was here
    noip2.c:371: error: syntax error before '}' token
    noip2.c:371: warning: type defaults to `int' in declaration of `new_config'
    noip2.c:371: warning: data definition has no type or storage class
    noip2.c:440: warning: "struct shmid_ds" declared inside parameter list
    noip2.c:440: warning: its scope is only this definition or declaration, which is probably not what you want
    noip2.c:446: error: syntax error before "size_t"
    noip2.c:447: error: syntax error before "size_t"
    noip2.c:457: error: syntax error before "chksum"
    noip2.c:457: warning: type defaults to `int' in declaration of `chksum'
    noip2.c:457: error: 'chksum' redeclared as different kind of symbol
    noip2.c:360: error: previous declaration of 'chksum' was here
    noip2.c:457: warning: data definition has no type or storage class
    noip2.c: In function `Usage':
    noip2.c:479: warning: implicit declaration of function `fprintf'
    noip2.c:479: error: `stderr' undeclared (first use in this function)
    noip2.c:479: error: (Each undeclared identifier is reported only once
    noip2.c:479: error: for each function it appears in.)
    noip2.c: In function `main':
    noip2.c:516: error: invalid use of undefined type `struct sigaction'
    noip2.c:517: warning: implicit declaration of function `sigemptyset'make: *** [noip2] Interrupt

  2. cara...

    vc não tem os pacotes necessários para a compilação

    instale os pacotes:
    gcc
    gcc-dev
    libc6-dev

    e veja se funfa

    valeu



  3. #3
    atf
    e não se esqueça do "binutils".

  4. o binutils tem já.
    Agora estou instalando o glibc 2.3.6
    Não estava instalado.
    Obrigado a todos.




  5. #5
    marcioliberato
    na segunda feira a noite posto para voce uma forma mais simples, que usei no meu servidor, posso estar enganado, mais acredito que nao foi necessario a instalacao destes pacotes nao...






Tópicos Similares

  1. Problema ao compilar nagios.
    Por MAJOR no fórum Servidores de Rede
    Respostas: 1
    Último Post: 16-01-2005, 17:47
  2. Problema ao compilar o Kernel 2.6.10
    Por alexandre@ensist.com.br no fórum UnderLinux
    Respostas: 1
    Último Post: 07-01-2005, 03:27
  3. Problema ao compilar
    Por f_maia no fórum Servidores de Rede
    Respostas: 1
    Último Post: 13-12-2004, 14:17
  4. Problemas ao compilar programa
    Por Wronieri no fórum Servidores de Rede
    Respostas: 0
    Último Post: 31-08-2004, 20:19
  5. Problemas ao compilar Ximian
    Por NeoRamza no fórum Servidores de Rede
    Respostas: 10
    Último Post: 29-02-2004, 22:14

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L