or is the new kernel the culprit?

/var/lib/dkms/nvidia340/340.76-1/build/nv-pat.c:38:5: error: implicit 
declaration of function ‘read_cr4’ [-Werror=implicit-function-declaration]
     *cr4 = read_cr4();
     ^
/var/lib/dkms/nvidia340/340.76-1/build/nv-pat.c:39:5: error: implicit 
declaration of function ‘write_cr4’ [-Werror=implicit-function-declaration]
     if (*cr4 & 0x80) write_cr4(*cr4 & ~0x80);
     ^
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/nvidia340/340.76-1/build/nv-pat.o] Error 1
make[1]: *** [_module_/var/lib/dkms/nvidia340/340.76-1/build] Error 2
make[1]: Leaving directory `/usr/src/linux-4.1.3-nrjQL-desktop-3omv'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [nvidia.ko] Error 1






Il 17/08/2015 09:51, Robert Xu ha scritto:
Hmm, looks like it's because it's looking for nvidia.ko instead of nvidia-uvm.ko. Could be because of NVIDIA's build process change.

On 17 August 2015 at 01:36, luca pedrielli <[email protected] <mailto:[email protected]>> wrote:

    here is the log file.




    Il 16/08/2015 23:39, Jean-Claude Vanier ha scritto:

        A French people has exactly the same output (
        https://forums.openmandriva.org/fr/discussion/226 ).
        What is the content of the make.log?

        2015-08-16 22:16 GMT+02:00 luca pedrielli
        <[email protected] <mailto:[email protected]>>:

            same problem with 340 driver

            # urpmi dkms-nvidia340
            Package dkms-2.2.0.3.1-0.20130827.4-omv2014.0.noarch is
            already installed


                 $MIRRORLIST:
            media/non-free/updates/dkms-nvidia340-340.76-1-omv2014.0.x86_64.rpm
            installing dkms-nvidia340-340.76-1-omv2014.0.x86_64.rpm from
            /var/cache/urpmi/rpms
            Preparing...
            #############################################
                   1/1: dkms-nvidia340
            #############################################

            Creating symlink /var/lib/dkms/nvidia340/340.76-1/source ->
                              /usr/src/nvidia340-340.76-1

            DKMS: add completed.

            Kernel preparation unnecessary for this kernel. Skipping...

            Building module:
            cleaning build area...
            make KERNELRELEASE=4.1.3-nrjQL-desktop-3omv
            SYSSRC=/lib/modules/4.1.3-nrjQL-desktop-3omv/build module;
            make
            SYSSRC=/lib/modules/4.1.3-nrjQL-desktop-3omv/build -C uvm
            module
            KBUILD_EXTMOD=/var/lib/dkms/nvidia340/340.76-1/build/uvm
            -j2............
            Error!  Build of nvidia.ko failed for:
            4.1.3-nrjQL-desktop-3omv (x86_64)
            Consult the make.log in the build directory
            /var/lib/dkms/nvidia340/340.76-1/build/ for more information.




            Il 16/08/2015 21:27, Blackcrack ha scritto:

            Hi,

            i have an error with the Nvidia 304 Dirvers for an 6600GT
            Nvidia in 2014.X
            would install the drivers but became an error :
            (bad exit status: 2)
            i have build up an x64 2Core Computer for ... i am build
            again something up,
            with 3 Peoples
            as start-up .. and therefore i have build this computer up
            with this
            Graphics card.. (as an small explain)
            and therefore i want use OmLx .. (if i am earn money, in
            maybe 2 years, if
            works,
            can you think what i am make.. (also with our OMLx))
            press me the thumps / finger crossing ..

            best regards
            Blacky
            
--------------------------------------------------------------------------------


            Holen der RPM-Dateien von Medium »non-free
            (Phosphorus2014.0-9)« …
             x11-driver-video-nvidia304-304.121-1-omv2014.0.x86_64.rpm
            nvidia304-cuda-opencl-304.121-1-omv2014.0.x86_64.rpm
            nvidia304-doc-html-304.121-1-omv2014.0.x86_64.rpm
            dkms-nvidia304-304.121-1-omv2014.0.x86_64.rpm wurde geholt
            … Holen beendet
            nvidia304-cuda-opencl-304.121-1-omv2014.0.x86_64.rpm
            x11-driver-video-nvidia304-304.121-1-omv2014.0.x86_64.rpm
            dkms-nvidia304-304.121-1-omv2014.0.x86_64.rpm
            nvidia304-doc-html-304.121-1-omv2014.0.x86_64.rpm von
            /var/cache/urpmi/rpms
            wird installiert
            starting installing packages
            Vorgang zum Installieren auf / gestellt (entfernen=0,
            installieren=0,
            aktualisieren=4)
            warning: LOOP:
            warning: removing x11-driver-video-nvidia304-304.121-1.x86_64
            "Requires(hint): nvidia304-doc-html" from tsort relations.
            warning: removing nvidia304-doc-html-304.121-1.x86_64
            "Requires:
            x11-driver-video-nvidia304 = 304.121-1" from tsort relations.
            warning: LOOP:
            warning: removing
            x11-driver-video-nvidia304-304.121-1.x86_64 "Requires:
            kmod(nvidia304) = 304.121" from tsort relations.
            warning: removing dkms-nvidia304-304.121-1.x86_64 "Requires:
            x11-driver-video-nvidia304 = 304.121" from tsort relations.
            update-alternatives: using /etc/nvidia304/ld.so.conf to
            provide
            /etc/ld.so.conf.d/GL.conf (gl_conf) in auto mode

            Creating symlink /var/lib/dkms/nvidia304/304.121-1/source ->
                              /usr/src/nvidia304-304.121-1

            DKMS: add completed.

            Kernel preparation unnecessary for this kernel. Skipping...

            Building module:
            cleaning build area...
            make KERNELRELEASE=4.1.3-nrjQL-desktop-3omv
            SYSSRC=/lib/modules/4.1.3-nrjQL-desktop-3omv/build module
            -j4.......(bad
            exit status: 2)
            Error! Bad return status for module build on kernel:
            4.1.3-nrjQL-desktop-3omv (x86_64)
            Consult /var/lib/dkms/nvidia304/304.121-1/build/make.log
            for more
            information.
            Installierte RPMs
            (nvidia304-cuda-opencl-304.121-1-omv2014.0.x86_64.rpm
            x11-driver-video-nvidia304-304.121-1-omv2014.0.x86_64.rpm
            dkms-nvidia304-304.121-1-omv2014.0.x86_64.rpm
            nvidia304-doc-html-304.121-1-omv2014.0.x86_64.rpm) werden von
            /var/cache/urpmi/rpms entfernt
            
----------------------------------------------------------------------
            Mehr Informationen über das Paket
            x11-driver-video-nvidia304-304.121-1-omv2014.0.x86_64
            This driver is for GeForce 6/7 based cards.

            Use XFdrake to configure X to use the correct NVIDIA
            driver. Any needed
            packages will be automatically installed if not already
            present.
            1. Run XFdrake as root.
            2. Go to the Graphics Card list.
            3. Select your card (it is usually already autoselected).
            4. Answer any questions asked and then quit.

            If you do not want to use XFdrake, see README.manual-setup.

            
----------------------------------------------------------------------
            unlocking urpmi database
            unlocking rpm database
            getting lock on urpmi



            _______________________________________________
            OM-Cooker mailing list
            [email protected]
            <mailto:[email protected]>
            http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org



            --
            Saluti, Luca Pedrielli


            _______________________________________________
            OM-Cooker mailing list
            [email protected]
            <mailto:[email protected]>
            http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

        _______________________________________________
        OM-Cooker mailing list
        [email protected]
        <mailto:[email protected]>
        http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org



-- Saluti, Luca Pedrielli


    _______________________________________________
    OM-Cooker mailing list
    [email protected] <mailto:[email protected]>
    http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org




--
cheers, Robert :: github.com/robxu9 <http://github.com/robxu9>


_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org


--
Saluti, Luca Pedrielli

_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

Reply via email to