Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 12
  1. #1
    Utente di HTML.it
    Registrato dal
    Sep 2004
    Messaggi
    70

    problemi compilazione driver nvidia

    Buongiorno,

    stò impazzendo cercando di compilare i driver nvidia per la mia GeForce4 440.
    Usando l'installer mi dice:"unable to compile module" mentre se scompatto i driver in una cartella e faccio "make install" mi da una cascata di errori tutti riguardanti a files in /usr/include/ (linux e asm).
    Posto solo l'ultimo pezzo perchè è lunghissimo:

    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> No precompiled kernel interface was found to match your kernel; would you li
    ke the installer to attempt to download a kernel interface for your kernel f
    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
    -> No precompiled kernel interface was found to match your kernel; this means
    that the installer will need to compile a new kernel interface.
    -> Kernel source path: '/lib/modules/2.6.8.1/build'
    -> Performing cc_version_check with CC="cc".
    -> Performing rivafb check.
    -> Performing rivafb module check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
    ce.o os-registry.o nvidia.mod.o
    rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
    rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.8.1/build S
    YSOUT=/lib/modules/2.6.8.1/build'...

    NVIDIA: calling KBUILD...
    make -C /lib/modules/2.6.8.1/build \
    KBUILD_SRC=/usr/src/linux-2.6.8.1 KBUILD_VERBOSE=1 \
    KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/
    usr/src/nv" \
    -f /usr/src/linux-2.6.8.1/Makefile modules
    mkdir -p /tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_vers
    ions
    make -f /usr/src/linux-2.6.8.1/scripts/Makefile.build obj=/tmp/selfgz1173/NV
    IDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
    echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz1173/NVI
    DIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv_compiler.h
    cc -Wp,-MD,/tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.nv.o
    .d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/s
    rc/linux-2.6.8.1/include -I/tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/u
    sr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno
    -common -pipe -msoft-float -mpreferred-stack-boundary=2 -march=athlon -I/usr
    /src/linux-2.6.8.1/include/asm-i386/mach-default -Iin
    clude/asm-i386/mach-default -O2 -fomit-frame-pointer -I/tmp/selfgz1173/NVID
    IA-Linux-x86-1.0-6111-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitc
    h -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -W
    error -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D_
    _KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -
    DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111 -DNV_
    UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHA
    NGE_PAGE_ATTR_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia
    -c -o /tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o /tmp/se
    lfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c
    In file included from /tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
    /nv/nv-linux.h:17,
    from /tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
    /nv/nv.c:14:
    include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
    In file included from include/linux/kernel.h:11,
    from /tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
    /nv/nv-linux.h:51,
    from /tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
    /nv/nv.c:14:
    include/linux/linkage.h:5:25: asm/linkage.h: No such file or directory
    In file included from include/linux/types.h:13,
    from include/linux/kernel.h:13,
    from /tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
    /nv/nv-linux.h:51,
    from /tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
    /nv/nv.c:14:
    include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or direct
    ory
    In file included from include/linux/kernel.h:13,
    from /tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
    /nv/nv-linux.h:51,
    from /tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
    /nv/nv.c:14:
    include/linux/types.h:14:23: asm/types.h: No such file or directory
    In file included from include/linux/kernel.h:13,
    from /tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
    /nv/nv-linux.h:51,
    from /tmp/selfgz1173/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
    /nv/nv.c:14:
    include/linux/types.h:18: error: parse error before "__kernel_dev_t"
    include/linux/types.h:18: warning: type defaults to `int' in declaration of
    `__kernel_dev_t'
    include/linux/types.h:18: warning: data definition has no type or storage cl
    ass
    include/linux/types.h:21: error: parse error before "dev_t"
    include/linux/types.h:21: warning: type defaults to `int' in declaration of
    `dev_t'
    include/linux/types.h:21: warning: data definition has no type or storage cl
    ass
    include/linux/types.h:22: error: parse error before "ino_t"
    include/linux/types.h:22: warning: type defaults to `int' in declaration of
    `ino_t'
    include/linux/types.h:22: warning: data definition has no type or storage cl
    ass
    include/linux/types.h:23: error: parse error before "mode_t"
    include/linux/types.h:23: warning: type defaults to `int' in declaration of
    `mode_t'
    include/linux/types.h:23: warning: data definition has no type or storage cl
    ass

    .....

    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3507: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3508: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3524: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3525: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3527: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3528: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3533: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3534: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3534: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3536: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3537: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3537: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3539: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3599: warning: implicit declaration of function `pci_release_regions'
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3633: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3637: error: dereferencing pointer to incomplete type
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: At top level:
    include/linux/elf.h:433: warning: array `_DYNAMIC' assumed to have one element
    include/linux/sched.h:201: error: storage size of `mmap_sem' isn't known
    include/linux/sched.h:231: error: storage size of `default_kioctx' isn't known
    include/linux/sched.h:256: error: storage size of `shared_pending' isn't known
    include/linux/sched.h:347: error: storage size of `wall_to_prev' isn't known
    include/linux/sched.h:471: error: storage size of `rlim' isn't known
    include/linux/sched.h:479: error: storage size of `thread' isn't known
    include/linux/sched.h:491: error: storage size of `pending' isn't known
    include/linux/stat.h:68: error: storage size of `atime' isn't known
    include/linux/stat.h:69: error: storage size of `mtime' isn't known
    include/linux/stat.h:70: error: storage size of `ctime' isn't known
    include/linux/fs.h:276: error: storage size of `ia_atime' isn't known
    include/linux/fs.h:277: error: storage size of `ia_mtime' isn't known
    include/linux/fs.h:278: error: storage size of `ia_ctime' isn't known
    include/linux/quota.h:224: error: storage size of `dq_dqb' isn't known
    include/linux/fs.h:356: error: storage size of `bd_sem' isn't known
    include/linux/fs.h:357: error: storage size of `bd_mount_sem' isn't known
    include/linux/fs.h:431: error: storage size of `i_atime' isn't known
    include/linux/fs.h:432: error: storage size of `i_mtime' isn't known
    include/linux/fs.h:433: error: storage size of `i_ctime' isn't known
    include/linux/fs.h:440: error: storage size of `i_sem' isn't known
    include/linux/fs.h:441: error: storage size of `i_alloc_sem' isn't known
    include/linux/fs.h:447: error: storage size of `i_data' isn't known
    include/linux/fs.h:574: error: storage size of `f_owner' isn't known
    include/linux/fs.h:745: error: storage size of `s_umount' isn't known
    include/linux/fs.h:746: error: storage size of `s_lock' isn't known
    include/linux/fs.h:773: error: storage size of `s_vfs_rename_sem' isn't known
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:785: error: storage size of `tasklet' isn't known
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:796: error: storage size of `ldata_lock' isn't known
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv-linux.h:799: error: storage size of `at_lock' isn't known
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:227: error: storage size of `nv_fops' isn't known
    /root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:127: warning: `nvos_proc_remove_all' declared `static' but never defined
    make[4]: *** [/root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o] Error 1
    make[3]: *** [_module_/root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv] Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[2]: *** [module] Error 1
    make[1]: *** [install] Error 2
    make[1]: Leaving directory `/root/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv'
    make: *** [kernel_module_install] Error 2



    Il tutto si ripete per molti di quei files in /usr/include/

    Sapete aiutarmi?

    Grazie

  2. #2
    cos'è, una mandrake?
    Basta così poco...

    www.centvrion.com

  3. #3
    hai il kernel-source e il kernel-headers?
    [ SimplyMepis 8 ]Copyleft
    www.mepisitalia.org IL SITO ITALIANO UFFICIALE DI MEPIS
    www.salentomovida.it LA MOVIDA DEL SALENTO HA UN NUOVO PUNTO D'INCONTRO SUL WEB
    [ SUD SOUND SYSTEM MINA FUECU INTRA ALLU SALENTU ]

  4. #4
    Utente di HTML.it
    Registrato dal
    Sep 2004
    Messaggi
    70
    non è una mandrake ma LFS.

    Non capisco perchè accada questo infatti fino a qualche giorno fa funzionava tutto perfettamente.

  5. #5
    Originariamente inviato da alex86
    hai il kernel-source e il kernel-headers?
    per installare con l'.sh servono..li hai??
    [ SimplyMepis 8 ]Copyleft
    www.mepisitalia.org IL SITO ITALIANO UFFICIALE DI MEPIS
    www.salentomovida.it LA MOVIDA DEL SALENTO HA UN NUOVO PUNTO D'INCONTRO SUL WEB
    [ SUD SOUND SYSTEM MINA FUECU INTRA ALLU SALENTU ]

  6. #6
    Utente di HTML.it
    Registrato dal
    Sep 2004
    Messaggi
    70
    i sorgenti li ho, ho pure creato il link linux->linux-2.6.8.1.
    Gli headers li ho installati come viene spiegato nel libro ma vedendo che i driver non si compilavano ho provato a reinstallarli sia quelli del kernel 2.4.26 che quelli del 2.6.8.1 (che è quello che uso di norma).

  7. #7
    in ke senso come viene spiegato dal libro...basta un urpmi kernel-headers
    [ SimplyMepis 8 ]Copyleft
    www.mepisitalia.org IL SITO ITALIANO UFFICIALE DI MEPIS
    www.salentomovida.it LA MOVIDA DEL SALENTO HA UN NUOVO PUNTO D'INCONTRO SUL WEB
    [ SUD SOUND SYSTEM MINA FUECU INTRA ALLU SALENTU ]

  8. #8
    Utente di HTML.it
    Registrato dal
    Sep 2004
    Messaggi
    70
    Come ho spiegato sopra NON ho mandrake ma LFS.
    Dicendo "libro" mi riferivo al libro di LFS che spiega come completare tutta l'installazione e compilazione.

    http://www2.fr.linuxfromscratch.org/lfs/view/stable/

  9. #9
    sembra che manchi autoconf prova ad installare l'ultima versione anche di automake

  10. #10
    Utente di HTML.it
    Registrato dal
    Sep 2004
    Messaggi
    70
    autoconf e automake già ci sono ma comunque ok provo a reinstallarli, ma quello che non capisco è perchè così all'improvviso senza neanche installare nuove versioni di pacchetti si sia scasinato tutto.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.