+ Responder ao Tópico



  1. #1

    Padrão Compilando o squid no Kernel 2.6.9 no SLackware 10

    Galera sempre compilei o squid na boa, o que pode estar acontecendo da esse pau aqui:

    Código :
    [email][email protected]:/home/diego/Programas/squid-2.5.STAB[/email]LE7# make all
    Making all in lib
    make[1]: Entering directory `/home/diego/Programas/squid-2.5.STABLE7/lib'
    source='Array.c' object='Array.o' libtool=no \
    depfile='.deps/Array.Po' tmpdepfile='.deps/Array.TPo' \
    depmode=gcc3 /bin/sh ../cfgaux/depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -g -O2 -Wall -c `test -f Array.c || echo './'`Array.c
    In file included from /usr/include/bits/posix1_lim.h:153,
                     from /usr/include/limits.h:144,
                     from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/limits.h:122,
                     from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/syslimits.h:7,
                     from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/limits.h:11,
                     from /usr/include/sys/param.h:22,
                     from ../include/util.h:48,
                     from Array.c:52:
    /usr/include/bits/local_lim.h:36:26: linux/limits.h: Arquivo ou diretório não encontrado
    In file included from ../include/util.h:48,
                     from Array.c:52:
    /usr/include/sys/param.h:23:26: linux/limits.h: Arquivo ou diretório não encontrado
    /usr/include/sys/param.h:24:25: linux/param.h: Arquivo ou diretório não encontrado
    In file included from /usr/include/sys/socket.h:35,
                     from /usr/include/netinet/in.h:24,
                     from /usr/include/netdb.h:28,
                     from ../include/util.h:51,
                     from Array.c:52:
    /usr/include/bits/socket.h:304:24: asm/socket.h: Arquivo ou diretório não encontrado
    make[1]: ** [Array.o] Erro 1
    make[1]: Leaving directory `/home/diego/Programas/squid-2.5.STABLE7/lib'
    make: ** [all-recursive] Erro 1
    [email][email protected]:/home/diego/Programas/squid-2.5.STAB[/email]LE7#

  2. #2

    Padrão hmm..

    Boas, certifica-te que instalaste o package " kernel headers" do CD do slackware.. creio que seja isso..



  3. #3

    Padrão Compilando o squid no Kernel 2.6.9 no SLackware 10

    Não tenho o kernel header pois compilei meu próprio kernel.

  4. #4

    Padrão Compilando o squid no Kernel 2.6.9 no SLackware 10

    sim, mas essas kernel headers são necessárias pra compilar mtos programas, eu tb estou com o 2.6.9 e mesmo assim tenho de ter instalado as kernel headers, doutra meneira é erros a toda a hora

    Um abraço[]



  5. #5

    Padrão Compilando o squid no Kernel 2.6.9 no SLackware 10

    Mas será que não vai dar problemas, para que serve o mesmo ?
    De qualquer forma vou fazer o download aqui para testar.

  6. #6

    Padrão Compilando o squid no Kernel 2.6.9 no SLackware 10

    Era isso mesmo, agora começou a compilar, mas deu outro erro:

    Código :
    ............
    In file included from rfc1035.c:72:
    ../include/rfc1035.h:64: warning: `struct in_addr' declared inside parameter list
    ../include/rfc1035.h:64: warning: its scope is only this definition or declaration, which is probably not what you want
    ../include/rfc1035.h:64: warning: parameter has incomplete type
    rfc1035.c: In function `rfc1035HeaderPack':
    rfc1035.c:123: warning: implicit declaration of function `htons'
    rfc1035.c: In function `rfc1035HeaderUnpack':
    rfc1035.c:254: warning: implicit declaration of function `ntohs'
    rfc1035.c: In function `rfc1035RRUnpack':
    rfc1035.c:395: warning: implicit declaration of function `ntohl'
    rfc1035.c: At top level:
    rfc1035.c:634: warning: `struct in_addr' declared inside parameter list
    rfc1035.c:635: error: parameter `addr' has incomplete type
    make[1]: ** [rfc1035.o] Erro 1
    make[1]: Leaving directory `/home/diego/Programas/squid-2.5.STABLE7/lib'
    make: ** [all-recursive] Erro 1
    [email][email protected]:/home/diego/Programas/squid-2.5.STAB[/email]LE7#