[Xfree] Modversions.h

Bonjour,

Voila cela fait environ 2semaines que je m'acharne sur l'installation de ma carte graphique linux ...
Pour cela il faut tout d'abord installer Xfree. J'ai trouvé un tuto qui pour une fois fonctionne pour moi (j'en ai deja essayé pleins d'autres du net !) http://download.nvidia.com/XFree86/Linux-x86/1.0-4496/README.txt
mais une fois le serveur X fermé je lance l'installation... et un probleme se pose a cause du noyau:

The kernel header file /lib/modules/2.6.12-12mdk/build/include/linux/modversions.h doesn't exist ..... or have been not configured.

En regardant en effet je n'en ai pas.
J'ai recommencer le tuto trois fois mais a chaque fois la meme erreur.

Merci d'avance pour votre aide

6 réponses

  1. J'ajoute que c est bizarre car :

    [david@David src]$ whereis kernel
    kernel: /usr/src/linux-2.6.12-12mdk/kernel /usr/src/linux-2.6.15.6/kernel
    [david@David src]$ uname -r
    2.6.12-12mdk
    [david@David src]$
    


    Donc le noyau installé correspond aux sources noyau dont je dispose ... or nvidia n'est pas de cet avis ...
    1. Désolé du super retard. Oui ce repertoire existe ; il y a meme ces fichiers

      [root@David tmp]# cd /lib/modules/2.6.12-12mdk/build/include/linux/
      [root@David linux]# ls
      8250_pci.h              i2c-id.h             percpu.h
      ac97_codec.h            i2c-sensor.h         personality.h
      acct.h                  i2c-vid.h            pfkeyv2.h
      acpi.h                  i2o-dev.h            pg.h
      adb.h                   i2o.h                phonedev.h
      adfs_fs.h               i8k.h                pid.h
      adfs_fs_i.h             ibmtr.h              pipe_fs_i.h
      adfs_fs_sb.h            icmp.h               pktcdvd.h
      affs_fs.h               icmpv6.h             pkt_cls.h
      affs_hardblocks.h       ide.h                pkt_sched.h
      agp_backend.h           idr.h                platform.h
      agpgart.h               if_arcnet.h          pm.h
      aio_abi.h               if_arp.h             pmu.h
      aio.h                   if_bonding.h         pnpbios.h
      amifd.h                 if_bridge.h          pnp.h
      amifdreg.h              if_cablemodem.h      poll.h
      amigaffs.h              if_ec.h              posix_acl.h
      a.out.h                 if_eql.h             posix_acl_xattr.h
      apm_bios.h              if_ether.h           posix-timers.h
      arcdevice.h             if_fc.h              posix_types.h
      ata.h                   if_fddi.h            ppdev.h
      atalk.h                 if_frad.h            ppp_channel.h
      atmapi.h                if.h                 ppp-comp.h
      atmarp.h                if_hippi.h           ppp_defs.h
      atmbr2684.h             if_infiniband.h      prctl.h
      atmclip.h               if_ltalk.h           preempt.h
      atmdev.h                if_packet.h          prefetch.h
      atm_eni.h               if_plip.h            prio_tree.h
      atm.h                   if_ppp.h             proc_fs.h
      atm_he.h                if_pppox.h           profile.h
      atm_idt77105.h          if_shaper.h          ps2esdi.h
      atmioc.h                if_slip.h            ptrace.h
      atmlec.h                if_strip.h           qic117.h
      atmmpc.h                if_tr.h              qnx4_fs.h
      atm_nicstar.h           if_tun.h             qnxtypes.h
      atmppp.h                if_tunnel.h          quota.h
      atmsap.h                if_vlan.h            quotaio_v1.h
      atm_suni.h              if_wanpipe_common.h  quotaio_v2.h
      atmsvc.h                if_wanpipe.h         quotaops.h
      atm_tcp.h               igmp.h               radeonfb.h
      atm_zatm.h              in6.h                radix-tree.h
      attribute_container.h   inetdevice.h         raid/
      audit.h                 inet.h               ramfs.h
      autoconf.h              in.h                 random.h
      auto_fs4.h              init.h               raw.h
      auto_fs.h               initrd.h             rbtree.h
      awe_voice.h             init_task.h          rcupdate.h
      ax25.h                  inotify.h            reboot_fixups.h
      b1lli.h                 input.h              reboot.h
      b1pcmcia.h              in_route.h           reiserfs_acl.h
      backing-dev.h           interrupt.h          reiserfs_fs.h
      backlight.h             ioc4_common.h        reiserfs_fs_i.h
      baycom.h                ioctl32.h            reiserfs_fs_sb.h
      bcd.h                   ioctl.h              reiserfs_xattr.h
      bfs_fs.h                ioport.h             resource.h
      binfmts.h               iosem.h              rhconfig.h
      bio.h                   ip6_tunnel.h         rmap.h
      bitmap.h                ipc.h                romfs_fs.h
      bitops.h                ip.h                 root_dev.h
      blkdev.h                ipmi.h               rose.h
      blkpg.h                 ipmi_msgdefs.h       route.h
      blockgroup_lock.h       ipmi_smi.h           rslib.h
      bootmem.h               ip_mp_alg.h          rtc.h
      bpqether.h              ipsec.h              rtnetlink.h
      buffer_head.h           ipv6.h               rwsem.h
      byteorder/              ipv6_route.h         rwsem-spinlock.h
      cache.h                 ipx.h                sc26198.h
      capability.h            irda.h               scatterlist.h
      capi.h                  irq_cpustat.h        scc.h
      cciss_ioctl.h           irq.h                sched.h
      cd1400.h                isapnp.h             sctp.h
      cdev.h                  isdn/                scx200_gpio.h
      cdk.h                   isdn_divertif.h      scx200.h
      cdrom.h                 isdn.h               sdla_asy.h
      circ_buf.h              isdnif.h             sdla_chdlc.h
      cobalt-nvram.h          isdn_ppp.h           sdladrv.h
      coda_cache.h            isicom.h             sdla_fr.h
      coda_fs_i.h             iso_fs.h             sdla.h
      coda.h                  istallion.h          sdlapci.h
      coda_linux.h            ite_gpio.h           sdla_ppp.h
      coda_proc.h             ixjuser.h            sdlasfm.h
      coda_psdev.h            jbd.h                sdla_x25.h
      coff.h                  jffs2_fs_i.h         seccomp.h
      com20020.h              jffs2_fs_sb.h        securebits.h
      compat.h                jffs2.h              security.h
      compat_ioctl.h          jffs.h               selection.h
      compiler-gcc2.h         jhash.h              selinux_netlink.h
      compiler-gcc3.h         jiffies.h            sem.h
      compiler-gcc4.h         journal-head.h       seq_file.h
      compiler-gcc.h          joystick.h           seqlock.h
      compiler.h              kallsyms.h           serial167.h
      compiler-intel.h        kbd_diacr.h          serial_8250.h
      completion.h            kbd_kern.h           serial_core.h
      comstats.h              kdb.h                serial.h
      concap.h                kdbprivate.h         serialP.h
      config.h                kdev_t.h             serial_reg.h
      console.h               kd.h                 serio.h
      consolemap.h            kernelcapi.h         shmem_fs.h
      console_struct.h        kernel.h             shm.h
      cpufreq.h               kernel_stat.h        signal.h
      cpu.h                   keyboard.h           skbuff.h
      cpumask.h               keyctl.h             slab.h
      cpuset.h                key.h                smb_fs.h
      cramfs_fs.h             key-ui.h             smb_fs_i.h
      cramfs_fs_sb.h          kfifo.h              smb_fs_sb.h
      crc32c.h                kmalloc_sizes.h      smb.h
      crc32.h                 kmod.h               smb_mount.h
      crc-ccitt.h             kobject.h            smbno.h
      crypto.h                kobject_uevent.h     smp.h
      cryptohash.h            kobj_map.h           smp_lock.h
      ctype.h                 kprobes.h            snmp.h
      cuda.h                  kref.h               socket.h
      cyclades.h              kthread.h            sockios.h
      cyclomx.h               lapb.h               som.h
      cycx_cfm.h              lcd.h                sonet.h
      cycx_drv.h              libata.h             sonypi.h
      cycx_x25.h              libps2.h             sort.h
      dcache.h                limits.h             soundcard.h
      dcookies.h              linkage.h            sound.h
      debugfs.h               linux_logo.h         spinlock.h
      delay.h                 list.h               squashfs_fs.h
      devfs_fs.h              llc.h                squashfs_fs_i.h
      devfs_fs_kernel.h       lockd/               squashfs_fs_sb.h
      device.h                loop.h               stallion.h
      device-mapper.h         lp.h                 statfs.h
      devpts_fs.h             major.h              stat.h
      dio.h                   matroxfb.h           stddef.h
      dirent.h                mbcache.h            stop_machine.h
      dis-asm.h               mc146818rtc.h        string.h
      divert.h                mc6821.h             stringify.h
      dma-mapping.h           mca.h                sunrpc/
      dmapool.h               mca-legacy.h         superhyway.h
      dmi.h                   mempolicy.h          supermount_media.h
      dm-ioctl.h              mempool.h            suspend.h
      dn.h                    meye.h               swap.h
      dnotify.h               mii.h                swapops.h
      dqblk_v1.h              minix_fs.h           synclink.h
      dqblk_v2.h              miscdevice.h         syscalls.h
      dqblk_xfs.h             mman.h               sysctl.h
      drbd_config.h           mmc/                 sysdev.h
      drbd.h                  mm.h                 sysfs.h
      ds1286.h                mm_inline.h          sys.h
      dtlk.h                  mmtimer.h            sysrq.h
      dvb/                    mmzone.h             sysv_fs.h
      dwarf2.h                mod_devicetable.h    tc_act/
      dwarf2-lang.h           module.h             tc_ematch/
      edd.h                   moduleloader.h       tcp_diag.h
      eeprom.h                moduleparam.h        tcp.h
      efi.h                   mount.h              telephony.h
      efs_dir.h               mpage.h              termios.h
      efs_fs.h                mqueue.h             thread_info.h
      efs_fs_i.h              mroute.h             threads.h
      efs_fs_sb.h             msdos_fs.h           ticable.h
      efs_vh.h                msg.h                time.h
      eisa.h                  mtd/                 timer.h
      elevator.h              mtio.h               times.h
      elfcore.h               mv643xx.h            timex.h
      elf-fdpic.h             namei.h              tiocl.h
      elf.h                   namespace.h          topology.h
      err.h                   nbd.h                toshiba.h
      errno.h                 ncp_fs.h             transport_class.h
      errqueue.h              ncp_fs_i.h           trdevice.h
      etherdevice.h           ncp_fs_sb.h          tty_driver.h
      ethtool.h               ncp.h                tty_flip.h
      eventpoll.h             ncp_mount.h          tty.h
      ext2_fs.h               ncp_no.h             tty_ldisc.h
      ext2_fs_sb.h            netdevice.h          types.h
      ext3_fs.h               netfilter/           udf_fs.h
      ext3_fs_i.h             netfilter_arp/       udf_fs_i.h
      ext3_fs_sb.h            netfilter_arp.h      udf_fs_sb.h
      ext3_jbd.h              netfilter_bridge/    udp.h
      fadvise.h               netfilter_bridge.h   ufs_fs.h
      fatx_fs.h               netfilter_decnet.h   ufs_fs_i.h
      fatx_fs_i.h             netfilter.h          ufs_fs_sb.h
      fatx_fs_sb.h            netfilter_helpers.h  uinput.h
      fb.h                    netfilter_ipv4/      uio.h
      fcdevice.h              netfilter_ipv4.h     ultrasound.h
      fcntl.h                 netfilter_ipv6/      umem.h
      fd1772.h                netfilter_ipv6.h     un.h
      fddidevice.h            netfilter_logging.h  unistd.h
      fd.h                    netfilter_mime.h     usb_cdc.h
      fdreg.h                 net.h                usb_ch9.h
      file.h                  netlink.h            usbdevice_fs.h
      filter.h                netpoll.h            usb_gadgetfs.h
      firmware.h              netrom.h             usb_gadget.h
      flat.h                  nfs2.h               usb.h
      font.h                  nfs3.h               usb_otg.h
      fs.h                    nfs4_acl.h           usb_sl811.h
      fsl_devices.h           nfs4.h               user.h
      fsnotify.h              nfs4_mount.h         utime.h
      fs_struct.h             nfsacl.h             uts.h
      ftape.h                 nfsd/                utsname.h
      ftape-header-segment.h  nfsd_idmap.h         vermagic.h
      ftape-vendors.h         nfs_fs.h             vfs.h
      futex.h                 nfs_fs_i.h           via.h
      gameport.h              nfs_fs_sb.h          video_decoder.h
      generic_serial.h        nfs.h                videodev2.h
      genhd.h                 nfs_idmap.h          videodev.h
      gen_stats.h             nfs_mount.h          video_encoder.h
      gfp.h                   nfs_page.h           videotext.h
      hardirq.h               nfs_xdr.h            vmalloc.h
      harrier_defs.h          nls.h                vt_buffer.h
      hash.h                  nmi.h                vt.h
      hayesesp.h              node.h               vt_kern.h
      hdlc/                   nodemask.h           wait.h
      hdlcdrv.h               notifier.h           wanpipe.h
      hdlc.h                  n_r3964.h            wanrouter.h
      hdpu_features.h         nubus.h              watchdog.h
      hdreg.h                 numa.h               wavefront.h
      hdsmart.h               nvram.h              wireless.h
      hiddev.h                openprom_fs.h        workqueue.h
      highmem.h               oprofile.h           writeback.h
      highuid.h               page-flags.h         x25.h
      hippidevice.h           pagemap.h            xattr_acl.h
      hpet.h                  pagevec.h            xattr.h
      hpfs_fs.h               param.h              xboxfbctl.h
      hugetlb.h               parport.h            xbox.h
      hysdn_if.h              parport_pc.h         xfrm.h
      i2c-algo-bit.h          parser.h             yam.h
      i2c-algo-ite.h          patchkey.h           zconf.h
      i2c-algo-pca.h          pci-acpi.h           zftape.h
      i2c-algo-pcf.h          pci-dynids.h         zlib.h
      i2c-algo-sgi.h          pcieport_if.h        zorro.h
      i2c-algo-sibyte.h       pci.h                zorro_ids.h
      i2c-dev.h               pci_ids.h            zutil.h
      i2c.h                   percpu_counter.h
      
      1. Modérateur
        Ah...
        Le repertoire /lib/modules/2.6.12-12mdk/build/include/linux/ existe?
        1. Comme dis precedemment c 'est la mandriva (donc 2006).

          La commande me retourne

          linux@ linux-2.6.12-12mdk/ RPM/

          Voila pour plus d'info. n'hésitez pas.
          1. Modérateur
            Salut,

            Il te manque probablement les sources de ton kernel (noyau Linux).
            Ca te donne quoi cette commande ?
            ls /usr/src

            Et est ce que tu pourrais donner le nom de ta distribution Linux ?