Quel est le dossier source de Qemu?

champo -  
[Dal] Messages postés 6122 Date d'inscription   Statut Contributeur Dernière intervention   -
bonjour atous

j'essaye dinstaller Qemu je voudrais savoir dans kel dossier ce trouve les sources de qemu pour pouvoir installer Kqemu jai telecharger qemu et je les decompresser il me reste plus ka mettre kqemu dfans les sources.

merci

@+

4 réponses

  1. champon
     
    desolé de repondre plutard mais jetais au boulot

    jai suivi les instruction du lien ke tu ma donner et sa me prend pa en compte le support kqemu:

    Could not find kernel includes in /lib/modules or /usr/src/linux - cannot buildthe kqemu module
    Install prefix /usr/local
    BIOS directory /usr/local/share/qemu
    binary directory /usr/local/bin
    Manual directory /usr/local/share/man
    ELF interp prefix /usr/gnemul/qemu-%M
    Source path /tmp/qemu-0.7.2
    C compiler gcc
    Host C compiler gcc
    make make
    host CPU i386
    host big endian no
    target list i386-user arm-user armeb-user sparc-user ppc-user i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu
    gprof enabled no
    static build no
    SDL support yes
    SDL static link no
    mingw32 support no
    Adlib support no
    FMOD support no
    kqemu support no

    autre chose:

    je kan meme esssayer le make sa me donne ca:

    gcc -Wall -O2 -g -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o dyngen dyngen.c
    gcc -DQEMU_TOOL -Wall -O2 -g -fno-strict-aliasing -g -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o qemu-img qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c block-cloop.c block-dmg.c block-bochs.c block-vpc.c block-vvfat.c -lz
    block-qcow.c:26:18: zlib.h : Aucun fichier ou répertoire de ce type
    block-qcow.c: Dans la fonction « decompress_buffer »:
    block-qcow.c:408: error: `z_stream' undeclared (first use in this function)
    block-qcow.c:408: error: (Each undeclared identifier is reported only once
    block-qcow.c:408: error: for each function it appears in.)
    block-qcow.c:408: error: erreur de syntaxe before "strm1"
    block-qcow.c:411: error: `strm' undeclared (first use in this function)
    block-qcow.c:418: attention : implicit declaration of function `inflateInit2'
    block-qcow.c:419: error: `Z_OK' undeclared (first use in this function)
    block-qcow.c:421: attention : implicit declaration of function `inflate'
    block-qcow.c:421: error: `Z_FINISH' undeclared (first use in this function)
    block-qcow.c:423: error: `Z_STREAM_END' undeclared (first use in this function)
    block-qcow.c:423: error: `Z_BUF_ERROR' undeclared (first use in this function)
    block-qcow.c:425: attention : implicit declaration of function `inflateEnd'
    block-qcow.c: Dans la fonction « qcow_compress_cluster »:
    block-qcow.c:620: error: `z_stream' undeclared (first use in this function)
    block-qcow.c:620: error: erreur de syntaxe before "strm"
    block-qcow.c:633: error: `strm' undeclared (first use in this function)
    block-qcow.c:634: attention : implicit declaration of function `deflateInit2'
    block-qcow.c:634: error: `Z_DEFAULT_COMPRESSION' undeclared (first use in this function)
    block-qcow.c:635: error: `Z_DEFLATED' undeclared (first use in this function)
    block-qcow.c:636: error: `Z_DEFAULT_STRATEGY' undeclared (first use in this function)
    block-qcow.c:647: attention : implicit declaration of function `deflate'
    block-qcow.c:647: error: `Z_FINISH' undeclared (first use in this function)
    block-qcow.c:648: error: `Z_STREAM_END' undeclared (first use in this function)
    block-qcow.c:648: error: `Z_OK' undeclared (first use in this function)
    block-qcow.c:650: attention : implicit declaration of function `deflateEnd'
    block-cloop.c:26:18: zlib.h : Aucun fichier ou répertoire de ce type
    block-cloop.c:37: error: erreur de syntaxe before "z_stream"
    block-cloop.c:37: attention : pas de point virgule à la fin de la structure ou de l'union
    block-cloop.c:38: attention : type defaults to `int' in declaration of `BDRVCloopState'
    block-cloop.c:38: attention : data definition has no type or storage class
    block-cloop.c: Dans la fonction « cloop_open »:
    block-cloop.c:55: error: `s' undeclared (first use in this function)
    block-cloop.c:55: error: (Each undeclared identifier is reported only once
    block-cloop.c:55: error: for each function it appears in.)
    block-cloop.c:96: attention : implicit declaration of function `inflateInit'
    block-cloop.c:96: error: `Z_OK' undeclared (first use in this function)
    block-cloop.c: Hors de toute fonction :
    block-cloop.c:105: error: erreur de syntaxe before '*' token
    block-cloop.c: Dans la fonction « cloop_read_block »:
    block-cloop.c:107: error: `s' undeclared (first use in this function)
    block-cloop.c:107: error: `block_num' undeclared (first use in this function)
    block-cloop.c:120: attention : implicit declaration of function `inflateReset'
    block-cloop.c:121: error: `Z_OK' undeclared (first use in this function)
    block-cloop.c:123: attention : implicit declaration of function `inflate'
    block-cloop.c:123: error: `Z_FINISH' undeclared (first use in this function)
    block-cloop.c:124: error: `Z_STREAM_END' undeclared (first use in this function)
    block-cloop.c: Dans la fonction « cloop_read »:
    block-cloop.c:135: error: `s' undeclared (first use in this function)
    block-cloop.c: Dans la fonction « cloop_close »:
    block-cloop.c:150: error: `s' undeclared (first use in this function)
    block-cloop.c:156: attention : implicit declaration of function `inflateEnd'
    block-dmg.c:27:18: zlib.h : Aucun fichier ou répertoire de ce type
    block-dmg.c:49: error: erreur de syntaxe before "z_stream"
    block-dmg.c:49: attention : pas de point virgule à la fin de la structure ou del'union
    block-dmg.c:50: attention : type defaults to `int' in declaration of `BDRVDMGState'
    block-dmg.c:50: attention : data definition has no type or storage class
    block-dmg.c: Dans la fonction « dmg_open »:
    block-dmg.c:78: error: `s' undeclared (first use in this function)
    block-dmg.c:78: error: (Each undeclared identifier is reported only once
    block-dmg.c:78: error: for each function it appears in.)
    block-dmg.c:166: attention : implicit declaration of function `inflateInit'
    block-dmg.c:166: error: `Z_OK' undeclared (first use in this function)
    block-dmg.c: Hors de toute fonction :
    block-dmg.c:174: error: erreur de syntaxe before '*' token
    block-dmg.c: Dans la fonction « is_sector_in_chunk »:
    block-dmg.c:177: error: `chunk_num' undeclared (first use in this function)
    block-dmg.c:177: error: `s' undeclared (first use in this function)
    block-dmg.c:177: error: `sector_num' undeclared (first use in this function)
    block-dmg.c: Hors de toute fonction :
    block-dmg.c:184: error: erreur de syntaxe before '*' token
    block-dmg.c: Dans la fonction « search_chunk »:
    block-dmg.c:187: error: `s' undeclared (first use in this function)
    block-dmg.c:190: error: `sector_num' undeclared (first use in this function)
    block-dmg.c: Hors de toute fonction :
    block-dmg.c:200: error: erreur de syntaxe before '*' token
    block-dmg.c: Dans la fonction « dmg_read_chunk »:
    block-dmg.c:202: error: `s' undeclared (first use in this function)
    block-dmg.c:202: error: `sector_num' undeclared (first use in this function)
    block-dmg.c:235: attention : implicit declaration of function `inflateReset'
    block-dmg.c:236: error: `Z_OK' undeclared (first use in this function)
    block-dmg.c:238: attention : implicit declaration of function `inflate'
    block-dmg.c:238: error: `Z_FINISH' undeclared (first use in this function)
    block-dmg.c:239: error: `Z_STREAM_END' undeclared (first use in this function)
    block-dmg.c: Dans la fonction « dmg_read »:
    block-dmg.c:259: error: `s' undeclared (first use in this function)
    block-dmg.c: Dans la fonction « dmg_close »:
    block-dmg.c:274: error: `s' undeclared (first use in this function)
    block-dmg.c:285: attention : implicit declaration of function `inflateEnd'
    make: *** [qemu-img] Erreur 1

    bon si vous pouvez maider sa serai vraimen tres bien :

    encore uen chose jai trouver ca sur un site mais je sui un debutant c trop dur pour moi:

    http://forum.ubuntu-fr.org/viewtopic.php?pid=74847

    merci d'avance

    @ +

    je suis sous debian sarge
    0
  2. champo
     
    personne peut repondre a ma question

    @
    0
  3. [Dal] Messages postés 6122 Date d'inscription   Statut Contributeur Dernière intervention   1 108
     
    Salut Champo,

    Ton message d'erreur indique :

    Could not find kernel includes (...)

    ... que tu pourrais rapprocher de ce passage de la documentation qui spécifie bien que les entêtes des sources du noyau (noyau = kernel) Linux doivent être installés sur ta machine :

    http://fabrice.bellard.free.fr/qemu/kqemu-doc.html#SEC4

    A toi de jouer !

    Dal
    0