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



  1. #1
    PedroNasc
    Pessoal estou tentando configura a lixeira do Samba no Red Hat 8 mas nao estou conseguindo...

    https://under-linux.org/url.php?url=...br/manual.html

    Quando tento compilar o modulo recycle.c com o comando
    ./configure && make da uns erros muito loucos, ai eu dei uma olhada no arquivo config.log e esta com essa mensagens que nao entendo.....

    +++++++++++++++++++++++++++++++
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.

    configure:533: checking for gcc
    configure:646: checking whether the C compiler (gcc ) works
    configure:662: gcc -o conftest conftest.c 1>&5
    configure:688: checking whether the C compiler (gcc ) is a cross-compiler
    configure:693: checking whether we are using GNU C
    configure:721: checking whether gcc accepts -g
    configure:756: checking for libtool
    configure:857: checking for poptGetContext in -lpopt
    configure:900: checking whether to use included popt
    ++++++++++++++++++++++++++++++++++++++

    Alguem já fez isso.. ??? Configurou um Lixeira no Samba e porque deu errado a minha compilacao....???

    Obrigado.....


  2. cara coloque os erros que ele mostra na tela que ai da pra falar alguma coisa



  3. #3
    PedroNasc
    Aqui esta o erro que aparece quando tento compilar o modulo recycle.c
    hehhe so que é bem grande.....

    ============================

    [root@Unix-1 Samba]# ./configure && make
    loading cache ./config.cache
    checking for gcc... (cached) gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for libtool... (cached) /usr/bin/libtool
    checking for poptGetContext in -lpopt... (cached) yes
    checking whether to use included popt... no
    creating ./config.status
    creating Makefile
    Compiling audit.c
    rm -f .libs/audit.lo
    gcc -Wall -I../../source -I../../source/include -I../../source/ubiqx -I../../source/smbwrapper -c audit.c -fPIC -DPIC -o .libs/audit.lo
    audit.c:22:20: config.h: No such file or directory
    audit.c:37:22: includes.h: No such file or directory
    audit.c:38:17: vfs.h: No such file or directory
    audit.c:50: warning: `struct connection_struct´ declared inside parameter list
    audit.c:50: warning: its scope is only this definition or declaration, which is probably not what you want
    audit.c:51: warning: `struct connection_struct´ declared inside parameter list
    audit.c:52: parse error before ´*´ token
    audit.c:52: warning: `struct connection_struct´ declared inside parameter list
    audit.c:52: warning: type defaults to `int´ in declaration of `audit_opendir´
    audit.c:52: warning: data definition has no type or storage class
    audit.c:53: parse error before "mode_t"
    audit.c:53: warning: `struct connection_struct´ declared inside parameter list
    audit.c:54: warning: `struct connection_struct´ declared inside parameter list
    audit.c:55: parse error before "mode_t"
    audit.c:55: warning: `struct connection_struct´ declared inside parameter list
    audit.c:56: warning: `struct files_struct´ declared inside parameter list
    audit.c:57: warning: `struct connection_struct´ declared inside parameter list
    audit.c:58: warning: `struct connection_struct´ declared inside parameter list
    audit.c:59: parse error before "mode_t"
    audit.c:59: warning: `struct connection_struct´ declared inside parameter list
    audit.c:60: parse error before "mode_t"
    audit.c:60: warning: `struct connection_struct´ declared inside parameter list
    audit.c:61: parse error before "mode_t"
    audit.c:61: warning: `struct files_struct´ declared inside parameter list
    audit.c:62: parse error before "mode_t"
    audit.c:62: warning: `struct files_struct´ declared inside parameter list
    audit.c:68: variable `audit_ops´ has initializer but incomplete type
    audit.c:72: warning: excess elements in struct initializer
    audit.c:72: warning: (near initialization for `audit_ops&acute
    audit.c:73: warning: excess elements in struct initializer
    audit.c:73: warning: (near initialization for `audit_ops&acute
    audit.c:74: warning: excess elements in struct initializer
    audit.c:74: warning: (near initialization for `audit_ops&acute
    audit.c:78: warning: excess elements in struct initializer
    audit.c:78: warning: (near initialization for `audit_ops&acute
    audit.c:79: warning: excess elements in struct initializer
    audit.c:79: warning: (near initialization for `audit_ops&acute
    audit.c:80: warning: excess elements in struct initializer
    audit.c:80: warning: (near initialization for `audit_ops&acute
    audit.c:81: warning: excess elements in struct initializer
    audit.c:81: warning: (near initialization for `audit_ops&acute
    audit.c:82: warning: excess elements in struct initializer
    audit.c:82: warning: (near initialization for `audit_ops&acute
    audit.c:86: warning: excess elements in struct initializer
    audit.c:86: warning: (near initialization for `audit_ops&acute
    audit.c:87: warning: excess elements in struct initializer
    audit.c:87: warning: (near initialization for `audit_ops&acute
    audit.c:88: warning: excess elements in struct initializer
    audit.c:88: warning: (near initialization for `audit_ops&acute
    audit.c:89: warning: excess elements in struct initializer
    audit.c:89: warning: (near initialization for `audit_ops&acute
    audit.c:90: warning: excess elements in struct initializer
    audit.c:90: warning: (near initialization for `audit_ops&acute
    audit.c:91: warning: excess elements in struct initializer
    audit.c:91: warning: (near initialization for `audit_ops&acute
    audit.c:92: warning: excess elements in struct initializer
    audit.c:92: warning: (near initialization for `audit_ops&acute
    audit.c:93: warning: excess elements in struct initializer
    audit.c:93: warning: (near initialization for `audit_ops&acute
    audit.c:94: warning: excess elements in struct initializer
    audit.c:94: warning: (near initialization for `audit_ops&acute
    audit.c:95: warning: excess elements in struct initializer
    audit.c:95: warning: (near initialization for `audit_ops&acute
    audit.c:96: warning: excess elements in struct initializer
    audit.c:96: warning: (near initialization for `audit_ops&acute
    audit.c:97: warning: excess elements in struct initializer
    audit.c:97: warning: (near initialization for `audit_ops&acute
    audit.c:98: warning: excess elements in struct initializer
    audit.c:98: warning: (near initialization for `audit_ops&acute
    audit.c:99: warning: excess elements in struct initializer
    audit.c:99: warning: (near initialization for `audit_ops&acute
    audit.c:100: warning: excess elements in struct initializer
    audit.c:100: warning: (near initialization for `audit_ops&acute
    audit.c:101: warning: excess elements in struct initializer
    audit.c:101: warning: (near initialization for `audit_ops&acute
    audit.c:102: warning: excess elements in struct initializer
    audit.c:102: warning: (near initialization for `audit_ops&acute
    audit.c:103: warning: excess elements in struct initializer
    audit.c:103: warning: (near initialization for `audit_ops&acute
    audit.c:104: warning: excess elements in struct initializer
    audit.c:104: warning: (near initialization for `audit_ops&acute
    audit.c:105: warning: excess elements in struct initializer
    audit.c:105: warning: (near initialization for `audit_ops&acute
    audit.c:106: warning: excess elements in struct initializer
    audit.c:106: warning: (near initialization for `audit_ops&acute
    audit.c:107: warning: excess elements in struct initializer
    audit.c:107: warning: (near initialization for `audit_ops&acute
    audit.c:108: warning: excess elements in struct initializer
    audit.c:108: warning: (near initialization for `audit_ops&acute
    audit.c:109: warning: excess elements in struct initializer
    audit.c:109: warning: (near initialization for `audit_ops&acute
    audit.c:110: warning: excess elements in struct initializer
    audit.c:110: warning: (near initialization for `audit_ops&acute
    audit.c:111: warning: excess elements in struct initializer
    audit.c:111: warning: (near initialization for `audit_ops&acute
    audit.c:112: warning: excess elements in struct initializer
    audit.c:112: warning: (near initialization for `audit_ops&acute
    audit.c:113: warning: excess elements in struct initializer
    audit.c:113: warning: (near initialization for `audit_ops&acute
    audit.c:114: warning: excess elements in struct initializer
    audit.c:114: warning: (near initialization for `audit_ops&acute
    audit.c:115: warning: excess elements in struct initializer
    audit.c:115: warning: (near initialization for `audit_ops&acute
    audit.c:117: warning: excess elements in struct initializer
    audit.c:117: warning: (near initialization for `audit_ops&acute
    audit.c:118: warning: excess elements in struct initializer
    audit.c:118: warning: (near initialization for `audit_ops&acute
    audit.c:120: warning: excess elements in struct initializer
    audit.c:120: warning: (near initialization for `audit_ops&acute
    audit.c:121: warning: excess elements in struct initializer
    audit.c:121: warning: (near initialization for `audit_ops&acute
    audit.c:122: warning: excess elements in struct initializer
    audit.c:122: warning: (near initialization for `audit_ops&acute
    audit.c:123: warning: excess elements in struct initializer
    audit.c:123: warning: (near initialization for `audit_ops&acute
    audit.c:124: warning: excess elements in struct initializer
    audit.c:124: warning: (near initialization for `audit_ops&acute
    audit.c:125: warning: excess elements in struct initializer
    audit.c:125: warning: (near initialization for `audit_ops&acute
    audit.c:126: warning: excess elements in struct initializer
    audit.c:126: warning: (near initialization for `audit_ops&acute
    audit.c:127: warning: excess elements in struct initializer
    audit.c:127: warning: (near initialization for `audit_ops&acute
    audit.c:128: warning: excess elements in struct initializer
    audit.c:128: warning: (near initialization for `audit_ops&acute
    audit.c:129: warning: excess elements in struct initializer
    audit.c:129: warning: (near initialization for `audit_ops&acute
    audit.c:130: warning: excess elements in struct initializer
    audit.c:130: warning: (near initialization for `audit_ops&acute
    audit.c:131: warning: excess elements in struct initializer
    audit.c:131: warning: (near initialization for `audit_ops&acute
    audit.c:132: warning: excess elements in struct initializer
    audit.c:132: warning: (near initialization for `audit_ops&acute
    audit.c:133: warning: excess elements in struct initializer
    audit.c:133: warning: (near initialization for `audit_ops&acute
    audit.c:134: warning: excess elements in struct initializer
    audit.c:134: warning: (near initialization for `audit_ops&acute
    audit.c:135: warning: excess elements in struct initializer
    audit.c:135: warning: (near initialization for `audit_ops&acute
    audit.c:136: warning: excess elements in struct initializer
    audit.c:136: warning: (near initialization for `audit_ops&acute
    audit.c:137: warning: excess elements in struct initializer
    audit.c:137: warning: (near initialization for `audit_ops&acute
    audit.c:138: warning: excess elements in struct initializer
    audit.c:138: warning: (near initialization for `audit_ops&acute
    audit.c:139: warning: excess elements in struct initializer
    audit.c:139: warning: (near initialization for `audit_ops&acute
    audit.c:140: warning: excess elements in struct initializer
    audit.c:140: warning: (near initialization for `audit_ops&acute
    audit.c:142: warning: excess elements in struct initializer
    audit.c:142: warning: (near initialization for `audit_ops&acute
    audit.c: In function `vfs_init´:
    audit.c:149: storage size of `tmp_ops´ isn´t known
    audit.c:151: `SMB_VFS_INTERFACE_VERSION´ undeclared (first use in this function)
    audit.c:151: (Each undeclared identifier is reported only once
    audit.c:151: for each function it appears in.)
    audit.c:152: sizeof applied to an incomplete type
    audit.c:168: sizeof applied to an incomplete type
    audit.c:149: warning: unused variable `tmp_ops´
    audit.c: At top level:
    audit.c:178: warning: `struct connection_struct´ declared inside parameter list
    audit.c:179: conflicting types for `audit_connect´
    audit.c:50: previous declaration of `audit_connect´
    audit.c: In function `audit_connect´:
    audit.c:183: invalid use of undefined type `struct vfs_ops´
    audit.c: At top level:
    audit.c:186: warning: `struct connection_struct´ declared inside parameter list
    audit.c:187: conflicting types for `audit_disconnect´
    audit.c:51: previous declaration of `audit_disconnect´
    audit.c: In function `audit_disconnect´:
    audit.c:189: invalid use of undefined type `struct vfs_ops´
    audit.c: At top level:
    audit.c:192: parse error before ´*´ token
    audit.c:192: warning: `struct connection_struct´ declared inside parameter list
    audit.c:193: warning: return type defaults to `int´
    audit.c:193: conflicting types for `audit_opendir´
    audit.c:52: previous declaration of `audit_opendir´
    audit.c: In function `audit_opendir´:
    audit.c:194: `DIR´ undeclared (first use in this function)
    audit.c:194: `result´ undeclared (first use in this function)
    audit.c:194: invalid use of undefined type `struct vfs_ops´
    audit.c: At top level:
    audit.c:204: parse error before "mode_t"
    audit.c:204: warning: `struct connection_struct´ declared inside parameter list
    audit.c: In function `audit_mkdir´:
    audit.c:206: invalid use of undefined type `struct vfs_ops´
    audit.c:206: `conn´ undeclared (first use in this function)
    audit.c:206: `path´ undeclared (first use in this function)
    audit.c:206: `mode´ undeclared (first use in this function)
    audit.c: At top level:
    audit.c:216: warning: `struct connection_struct´ declared inside parameter list
    audit.c:217: conflicting types for `audit_rmdir´
    audit.c:54: previous declaration of `audit_rmdir´
    audit.c: In function `audit_rmdir´:
    audit.c:218: invalid use of undefined type `struct vfs_ops´
    audit.c: At top level:
    audit.c:228: parse error before "mode_t"
    audit.c:228: warning: `struct connection_struct´ declared inside parameter list
    audit.c: In function `audit_open´:
    audit.c:230: invalid use of undefined type `struct vfs_ops´
    audit.c:230: `conn´ undeclared (first use in this function)
    audit.c:230: `fname´ undeclared (first use in this function)
    audit.c:230: `flags´ undeclared (first use in this function)
    audit.c:230: `mode´ undeclared (first use in this function)
    audit.c:234: `O_WRONLY´ undeclared (first use in this function)
    audit.c:234: `O_RDWR´ undeclared (first use in this function)
    audit.c: At top level:
    audit.c:241: warning: `struct files_struct´ declared inside parameter list
    audit.c:242: conflicting types for `audit_close´
    audit.c:56: previous declaration of `audit_close´
    audit.c: In function `audit_close´:
    audit.c:243: invalid use of undefined type `struct vfs_ops´
    audit.c: At top level:
    audit.c:253: warning: `struct connection_struct´ declared inside parameter list
    audit.c:254: conflicting types for `audit_rename´
    audit.c:57: previous declaration of `audit_rename´
    audit.c: In function `audit_rename´:
    audit.c:255: invalid use of undefined type `struct vfs_ops´
    audit.c: At top level:
    audit.c:265: warning: `struct connection_struct´ declared inside parameter list
    audit.c:266: conflicting types for `audit_unlink´
    audit.c:58: previous declaration of `audit_unlink´
    audit.c: In function `audit_unlink´:
    audit.c:267: invalid use of undefined type `struct vfs_ops´
    audit.c: At top level:
    audit.c:277: parse error before "mode_t"
    audit.c:277: warning: `struct connection_struct´ declared inside parameter list
    audit.c: In function `audit_chmod´:
    audit.c:279: invalid use of undefined type `struct vfs_ops´
    audit.c:279: `conn´ undeclared (first use in this function)
    audit.c:279: `path´ undeclared (first use in this function)
    audit.c:279: `mode´ undeclared (first use in this function)
    audit.c: At top level:
    audit.c:289: parse error before "mode_t"
    audit.c:289: warning: `struct connection_struct´ declared inside parameter list
    audit.c: In function `audit_chmod_acl´:
    audit.c:291: invalid use of undefined type `struct vfs_ops´
    audit.c:291: `conn´ undeclared (first use in this function)
    audit.c:291: `path´ undeclared (first use in this function)
    audit.c:291: `mode´ undeclared (first use in this function)
    audit.c: At top level:
    audit.c:301: parse error before "mode_t"
    audit.c:301: warning: `struct files_struct´ declared inside parameter list
    audit.c: In function `audit_fchmod´:
    audit.c:303: invalid use of undefined type `struct vfs_ops´
    audit.c:303: `fsp´ undeclared (first use in this function)
    audit.c:303: `fd´ undeclared (first use in this function)
    audit.c:303: `mode´ undeclared (first use in this function)
    audit.c: At top level:
    audit.c:313: parse error before "mode_t"
    audit.c:313: warning: `struct files_struct´ declared inside parameter list
    audit.c: In function `audit_fchmod_acl´:
    audit.c:315: invalid use of undefined type `struct vfs_ops´
    audit.c:315: `fsp´ undeclared (first use in this function)
    audit.c:315: `fd´ undeclared (first use in this function)
    audit.c:315: `mode´ undeclared (first use in this function)
    audit.c: At top level:
    audit.c:68: storage size of `audit_ops´ isn´t known
    make: ** [audit.lo] Erro 1
    [root@Unix-1 Samba]#

    ============================

    <IMG SRC="images/forum/icons/icon_frown.gif"> <IMG SRC="images/forum/icons/icon_biggrin.gif"> <IMG SRC="images/forum/icons/icon_frown.gif"> <IMG SRC="images/forum/icons/icon_biggrin.gif">

  4. preste atenção nesses erros:
    audit.c:22:20: config.h: No such file or directory
    audit.c:37:22: includes.h: No such file or directory
    audit.c:38:17: vfs.h: No such file or directory

    ele nao esta achando essas bibliotecas edite o arquivo audit.c e altere nas linhas 22,37 e 38 o path correto para as bibliotecas....
    pra prokura-las faça:
    find / -name config.h
    find / -name includes.h
    find / -name vfs.h



  5. #5
    PedroNasc
    Vou fazer isso...
    Obrigado...

    OBS: Desculpe pessoal pelo tamanho da minha mensagem que postei dos erros !!!! <IMG SRC="images/forum/icons/icon_cool.gif">






Tópicos Similares

  1. lixeira e auditoria no samba
    Por noir no fórum Servidores de Rede
    Respostas: 15
    Último Post: 21-11-2010, 00:35
  2. Desativar lixeira e auditoria no Samba.
    Por ShadowRed no fórum Servidores de Rede
    Respostas: 1
    Último Post: 09-12-2006, 08:52
  3. Implementar lixeira no samba
    Por Vaza no fórum Servidores de Rede
    Respostas: 1
    Último Post: 06-01-2004, 08:28
  4. Usuário poder logar apenas uma vez no SAMBA
    Por Cyberfred no fórum Servidores de Rede
    Respostas: 2
    Último Post: 17-07-2003, 15:53
  5. Lixeira no Samba
    Por marcosmamorim no fórum Servidores de Rede
    Respostas: 0
    Último Post: 23-10-2002, 14:36

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L