Article 5T56T Slackware64 14.2 - i broke nvidia

Slackware64 14.2 - i broke nvidia

by
inukaze
from LinuxQuestions.org on (#5T56T)
Hi there again XD, after of making test with "chroot" for access directly from Slackware64 14.2 to Slackware32 14.2 (is real installation on another partition), like i post on "Here" i publish too on "StackExchange"

after a lot of try for reach the access to (NV-)GLX making test with that but without the result i desire.

i try to compile nvidia-legacy304 drivers directly on chroot and that result very bad, right now i not had 3D/DRI on my Slackware64 14.2 because i can't compile "nvidia-legeacy304-kernel" i just got the follow error :

Code:Creating directory NVIDIA-Linux-x86_64-304.137
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 304.137................................................................................................................................................................
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.

*** Unable to determine the target kernel version. ***

makefile:53: fallo en las instrucciones para el objetivo 'select_makefile'i just trying to recompile "nvidia.ko" (kernel object module) for enable 3D/DRI again on my main s.o .

trying to recompile "nvidia-legacy304-kernel" the "nvidia-installer" says "GCC=5.5.0" are not the same the linux was against compile, the linux i am using was compile against "GCC=5.3.0".

i try to compile linux-4.4.14 from source
Code:cd /usr/src/linux-4.4.14
zcat /proc/config.gz > .config

make olddefconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/bin2c
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --olddefconfig Kconfig
#
# configuration written to .config
#

make menuconfig
HOSTCC scripts/kconfig/mconf.o
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

make bzImage

scripts/kconfig/conf --silentoldconfig Kconfig
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
HOSTLD arch/x86/tools/relocs
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
CC scripts/mod/devicetable-offsets.s
In file included from ./arch/x86/include/asm/string.h:4:0,
from include/linux/string.h:17,
from include/uapi/linux/uuid.h:25,
from include/linux/uuid.h:23,
from include/linux/mod_devicetable.h:12,
from scripts/mod/devicetable-offsets.c:2:
./arch/x86/include/asm/string_64.h:30:14: aviso: tipos en conflicto para la funcion interna memcpy'
extern void *memcpy(void *to, const void *from, size_t l
^
./arch/x86/include/asm/string_64.h:55:7: aviso: tipos en conflicto para la funcion interna memset'
void *memset(void *s, int c, size_t n);
^
./arch/x86/include/asm/string_64.h:59:7: aviso: tipos en conflicto para la funcion interna memmove'
void *memmove(void *dest, const void *src, size_t count)
^
./arch/x86/include/asm/string_64.h:62:5: aviso: tipos en conflicto para la funcion interna memcmp'
int memcmp(const void *cs, const void *ct, size_t count)
^
./arch/x86/include/asm/string_64.h:63:8: aviso: tipos en conflicto para la funcion interna strlen'
size_t strlen(const char *s);
^
In file included from include/uapi/linux/uuid.h:25:0,
from include/linux/uuid.h:23,
from include/linux/mod_devicetable.h:12,
from scripts/mod/devicetable-offsets.c:2:
include/linux/string.h:23:15: aviso: tipos en conflicto para la funcion interna strncpy'
extern char * strncpy(char *,const char *, __kernel_size
^
include/linux/string.h:35:15: aviso: tipos en conflicto para la funcion interna strncat'
extern char * strncat(char *, const char *, __kernel_siz
^
include/linux/string.h:44:12: aviso: tipos en conflicto para la funcion interna strncmp'
extern int strncmp(const char *,const char *,__kernel_si
^
include/linux/string.h:50:12: aviso: tipos en conflicto para la funcion interna strncasecmp'
extern int strncasecmp(const char *s1, const char *s2, s
^
include/linux/string.h:92:24: aviso: tipos en conflicto para la funcion interna strspn'
extern __kernel_size_t strspn(const char *,const char *)
^
include/linux/string.h:95:24: aviso: tipos en conflicto para la funcion interna strcspn'
extern __kernel_size_t strcspn(const char *,const char *
^
include/linux/string.h:114:15: aviso: tipos en conflicto para la funcion interna memchr'
extern void * memchr(const void *,int,__kernel_size_t);
^
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/recordmcount
HOSTCC scripts/sortextable
HOSTCC scripts/extract-cert
HOSTCC scripts/asn1_compiler
CC init/main.o
In file included from ./arch/x86/include/asm/string.h:4:0,
from include/linux/string.h:17,
from include/linux/dynamic_debug.h:111,
from include/linux/printk.h:277,
from include/linux/kernel.h:13,
from include/linux/list.h:8,
from include/linux/module.h:9,
from init/main.c:15:
./arch/x86/include/asm/string_64.h:30:14: aviso: tipos en conflicto para la funcion interna memcpy'
extern void *memcpy(void *to, const void *from, size_t l
^
./arch/x86/include/asm/string_64.h:55:7: aviso: tipos en conflicto para la funcion interna memset'
void *memset(void *s, int c, size_t n);
^
./arch/x86/include/asm/string_64.h:59:7: aviso: tipos en conflicto para la funcion interna memmove'
void *memmove(void *dest, const void *src, size_t count)
^
./arch/x86/include/asm/string_64.h:62:5: aviso: tipos en conflicto para la funcion interna memcmp'
int memcmp(const void *cs, const void *ct, size_t count)
^
./arch/x86/include/asm/string_64.h:63:8: aviso: tipos en conflicto para la funcion interna strlen'
size_t strlen(const char *s);
^
In file included from include/linux/dynamic_debug.h:111:0,
from include/linux/printk.h:277,
from include/linux/kernel.h:13,
from include/linux/list.h:8,
from include/linux/module.h:9,
from init/main.c:15:
include/linux/string.h:23:15: aviso: tipos en conflicto para la funcion interna strncpy'
extern char * strncpy(char *,const char *, __kernel_size
^
include/linux/string.h:35:15: aviso: tipos en conflicto para la funcion interna strncat'
extern char * strncat(char *, const char *, __kernel_siz
^
include/linux/string.h:44:12: aviso: tipos en conflicto para la funcion interna strncmp'
extern int strncmp(const char *,const char *,__kernel_si
^
include/linux/string.h:50:12: aviso: tipos en conflicto para la funcion interna strncasecmp'
extern int strncasecmp(const char *s1, const char *s2, s
^
include/linux/string.h:92:24: aviso: tipos en conflicto para la funcion interna strspn'
extern __kernel_size_t strspn(const char *,const char *)
^
include/linux/string.h:95:24: aviso: tipos en conflicto para la funcion interna strcspn'
extern __kernel_size_t strcspn(const char *,const char *
^
include/linux/string.h:114:15: aviso: tipos en conflicto para la funcion interna memchr'
extern void * memchr(const void *,int,__kernel_size_t);
^
In file included from include/linux/list.h:8:0,
from include/linux/module.h:9,
from init/main.c:15:
include/linux/kernel.h:405:5: aviso: tipos en conflicto para la funcion interna snprintf'
int snprintf(char *buf, size_t size, const char *fmt, ..
^
include/linux/kernel.h:407:5: aviso: tipos en conflicto para la funcion interna vsnprintf'
int vsnprintf(char *buf, size_t size, const char *fmt, v
^
In file included from include/linux/ktime.h:297:0,
from include/linux/rcupdate.h:47,
from include/linux/srcu.h:33,
from include/linux/notifier.h:15,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:735,
from include/linux/gfp.h:5,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from init/main.c:15:
include/linux/timekeeping.h: En la funcion do_settimeofday':
include/linux/timekeeping.h:51:27: aviso: se pasa el argumento 1 de do_settimeofday64' desde un tipo de puntero incompatible [-Wincompatible-pointer-types]
return do_settimeofday64(ts);
^
include/linux/timekeeping.h:13:12: nota: se esperaba const struct timespec64 *' pero el argumento es de tipo const struct timespec *'
extern int do_settimeofday64(const struct timespec64 *ts
^
include/linux/timekeeping.h: En la funcion __getnstimeofday':
include/linux/timekeeping.h:56:28: aviso: se pasa el argumento 1 de __getnstimeofday64' desde un tipo de puntero incompatible [-Wincompatible-pointer-types]
return __getnstimeofday64(ts);
^
include/linux/timekeeping.h:41:12: nota: se esperaba struct timespec64 *' pero el argumento es de tipo struct timespec *'
extern int __getnstimeofday64(struct timespec64 *tv);
^
include/linux/timekeeping.h: En la funcion getnstimeofday':
include/linux/timekeeping.h:61:19: aviso: se pasa el argumento 1 de getnstimeofday64' desde un tipo de puntero incompatible [-Wincompatible-pointer-types]
getnstimeofday64(ts);
^
include/linux/timekeeping.h:42:13: nota: se esperaba struct timespec64 *' pero el argumento es de tipo struct timespec *'
extern void getnstimeofday64(struct timespec64 *tv);
^
include/linux/timekeeping.h: En la funcion ktime_get_ts':
include/linux/timekeeping.h:66:17: aviso: se pasa el argumento 1 de ktime_get_ts64' desde un tipo de puntero incompatible [-Wincompatible-pointer-types]
ktime_get_ts64(ts);
^
include/linux/timekeeping.h:37:13: nota: se esperaba struct timespec64 *' pero el argumento es de tipo struct timespec *'
extern void ktime_get_ts64(struct timespec64 *ts);
^
include/linux/timekeeping.h: En la funcion ktime_get_real_ts':
include/linux/timekeeping.h:71:19: aviso: se pasa el argumento 1 de getnstimeofday64' desde un tipo de puntero incompatible [-Wincompatible-pointer-types]
getnstimeofday64(ts);
^
include/linux/timekeeping.h:42:13: nota: se esperaba struct timespec64 *' pero el argumento es de tipo struct timespec *'
extern void getnstimeofday64(struct timespec64 *tv);
^
include/linux/timekeeping.h: En la funcion getrawmonotonic':
include/linux/timekeeping.h:76:20: aviso: se pasa el argumento 1 de getrawmonotonic64' desde un tipo de puntero incompatible [-Wincompatible-pointer-types]
getrawmonotonic64(ts);
^
include/linux/timekeeping.h:36:13: nota: se esperaba struct timespec64 *' pero el argumento es de tipo struct timespec *'
extern void getrawmonotonic64(struct timespec64 *ts);
^
include/linux/timekeeping.h: En la funcion get_monotonic_coarse':
include/linux/timekeeping.h:81:9: error: tipos incompatible al devolver el tipo struct timespec64' pero se esperaba struct timespec'
return get_monotonic_coarse64();
^
include/linux/timekeeping.h: En la funcion getboottime':
include/linux/timekeeping.h:86:23: aviso: se pasa el argumento 1 de getboottime64' desde un tipo de puntero incompatible [-Wincompatible-pointer-types]
return getboottime64(ts);
^
include/linux/timekeeping.h:43:13: nota: se esperaba struct timespec64 *' pero el argumento es de tipo struct timespec *'
extern void getboottime64(struct timespec64 *ts);
^
In file included from include/linux/bio.h:24:0,
from include/linux/writeback.h:192,
from init/main.c:40:
include/linux/mempool.h: En la funcion mempool_create_kmalloc_pool':
include/linux/mempool.h:60:10: aviso: conversion a puntero desde un entero de tamano diferente [-Wint-to-pointer-cast]
(void *) size);
^
scripts/Makefile.build:258: fallo en las instrucciones para el objetivo 'init/main.o'
make[1]: *** [init/main.o] Error 1
Makefile:944: fallo en las instrucciones para el objetivo 'init'
make: *** [init] Error 2and that last line make working just finish on 2 minutes with "Error 2"

well after 17 hours trying to fix my nvidia drivers, i don't had more ideas for fix it, i had download "GCC" & "GLIBC" packages directly from Slackware Packages site and use "installpkg *.t?z" for install all that packages, but i can't make "nvidia-legacy304-kernel" packages because the error i put above.latest?d=yIl2AUoC8zA latest?i=bQZUWw8sJBU:gsgHBWeM_1Q:F7zBnMy latest?i=bQZUWw8sJBU:gsgHBWeM_1Q:V_sGLiP latest?d=qj6IDK7rITs latest?i=bQZUWw8sJBU:gsgHBWeM_1Q:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments