Автор Тема: Не могу установить драйвер nvidia  (Прочитано 13375 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн baks

  • Новичок
  • **
  • Автор темы
  • Сообщений: 75
Не могу установить драйвер nvidia
« : Апрель 19, 2012, 02:49:27 »
Други! Помогите! Проблема описанная выше повторилась и у меня, разница только в версии ядра и драйвера nvidia. С момента покупки и до последнего обновления с видео проблем не имел.
Другие версии ядра и\или nvidia-current ничего не меняют,
Ошибка установки: ПоказатьСкрыть
baks@STAR1K:~$ sudo apt-get install nvidia-180-libvdpau
Чтение списков пакетов... Готово
Построение дерева зависимостей      
Чтение информации о состоянии... Готово
Будут установлены следующие дополнительные пакеты:
  nvidia-185-libvdpau nvidia-current
Рекомендуемые пакеты:
  nvidia-settings
НОВЫЕ пакеты, которые будут установлены:
  nvidia-180-libvdpau nvidia-185-libvdpau nvidia-current
обновлено 0, установлено 3 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Необходимо скачать 0B/58,6MB архивов.
После данной операции, объём занятого дискового пространства возрастёт на 184MB.
Хотите продолжить [Д/н]? y
Selecting previously unselected package nvidia-current.
(Чтение базы данных ... на данный момент установлено 202712 файлов и каталогов.)
Распаковывается пакет nvidia-current (из файла .../nvidia-current_295.40-0ubuntu1~lucid~xup1_amd64.deb)...
Selecting previously unselected package nvidia-185-libvdpau.
Распаковывается пакет nvidia-185-libvdpau (из файла .../nvidia-185-libvdpau_295.40-0ubuntu1~lucid~xup1_amd64.deb)...
Selecting previously unselected package nvidia-180-libvdpau.
Распаковывается пакет nvidia-180-libvdpau (из файла .../nvidia-180-libvdpau_185.18.36-0ubuntu9_amd64.deb)...
Обрабатываются триггеры для man-db ...
Настраивается пакет nvidia-current (295.40-0ubuntu1~lucid~xup1) ...
update-alternatives: используется `/usr/lib/nvidia-current/ld.so.conf' для предоставления `/etc/ld.so.conf.d/GL.conf' (gl_conf) в автоматический режим.
update-initramfs: deferring update (trigger activated)
Loading new nvidia-current-295.40 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.32-40-generic
Building for architecture x86_64
Building initial module for 2.6.32-40-generic

Error! Bad return status for module build on kernel: 2.6.32-40-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/nvidia-current/295.40/build/ for more information.
dpkg: не удалось обработать параметр nvidia-current (--configure):
 подпроцесс установлен сценарий post-installation возвратил код ошибки 10
dpkg: зависимости пакетов не позволяют настроить пакет nvidia-185-libvdpau:
 nvidia-185-libvdpau зависит от nvidia-current, однако:
  Пакет nvidia-current пока не настроен.
dpkg: не удалось обработать параметр nvidia-185-libvdpau (--configure):
 проблемы зависимостей -- оставляем не настроенным
dpkg: зависимости пакетов не позволяют настроить пакет nvidia-180-libvdpau:
 nvidia-180-libvdpau зависит от nvidia-185-libvdpau, однако:
  Пакет nvidia-185-libvdpau пока не настроен.
dpkg: не удалось обработать параметр nvidia-180-libvdpau (--configure):
Отчёты apport не записаны, так как сообщение об ошибке указывает на повторную ошибку от предыдущего отказа.
                           Отчёты apport не записаны, так как сообщение об ошибке указывает на повторную ошибку от предыдущего отказа.
                                                       проблемы зависимостей -- оставляем не настроенным
Обрабатываются триггеры для python-gmenu ...
Rebuilding /usr/share/applications/desktop.ru_RU.utf8.cache...
Обрабатываются триггеры для initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-40-generic
Обрабатываются триггеры для python-support ...
При обработке следующих пакетов произошли ошибки:
 nvidia-current
 nvidia-185-libvdpau
 nvidia-180-libvdpau
E: Sub-process /usr/bin/dpkg returned an error code (1)

baks@STAR1K:~$ uname -a
Linux STAR1K 2.6.32-40-generic #87-Ubuntu SMP Tue Mar 6 00:56:56 UTC 2012 x86_64 GNU/Linux
 lspci -v
02:00.0 VGA compatible controller: nVidia Corporation C77 [GeForce 8200] (rev a2)
Subsystem: Giga-byte Technology Device d000
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Memory at e8000000 (64-bit, prefetchable) [size=128M]
Memory at f0000000 (64-bit, prefetchable) [size=32M]
I/O ports at b000 [size=128]
[virtual] Expansion ROM at f2000000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Kernel modules: nvidiafb, nouveau

NVIDIA-Linux-x86_64-295.40.run не устанавливается
nvidia-installer.log: ПоказатьСкрыть
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Apr 19 00:43:26 2012
installer version: 295.40

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin

nvidia-installer command line:
    ./nvidia-installer

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 295.40.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:

Could not compile 'gcc-version-check.c'.  Please be  sure you have your Linux distribution's gcc  and libc development packages installed.

If you know what you are doing and want to ignore the gcc version check, select "No" to continue installation.  Otherwise, select "Yes" to abort installation, set the CC environment variable to the name of the compiler used to compile your kernel, and restart installation.  Abort now? (Answer: No)
-> Kernel source path: '/lib/modules/2.6.32-40-generic/build'
-> Kernel output path: '/lib/modules/2.6.32-40-generic/build'
ERROR: 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.
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
« Последнее редактирование: Апрель 19, 2012, 02:54:45 от baks »

Оффлайн butjapka

  • Местный
  • *****
  • Сообщений: 1147
  • Компьютер думает так, как думает его хозяин.
Re: Не могу установить драйвер nvidia
« Ответ #1 : Апрель 19, 2012, 07:19:00 »
Други! Помогите! Проблема описанная выше повторилась и у меня, разница только в версии ядра и драйвера nvidia.
Посмотрите совет Как заставить нормально работать карточку  от Nvidia vdpau в этой теме, хотя тема для XFCE но думаю прокатит. У меня по крайней мере после проделанных манипуляций завелась.

Оффлайн sunset

  • Постоялец
  • ***
  • Сообщений: 106
Re: Не могу установить драйвер nvidia
« Ответ #2 : Апрель 19, 2012, 08:38:53 »

DKMS make.log for nvidia-173-173.14.22 for kernel 2.6.35-22-generic (i686)
Птн Ноя 19 18:57:59 EET 2010
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. ***

make: *** [select_makefile] Ошибка 1

--- a/NVIDIA-Linux-x86-96.43.19-pkg0/usr/src/nv/conftest.sh      2011-07-30 12:24:39.770031044 -0400
+++ b/NVIDIA-Linux-x86-96.43.19-pkg0/usr/src/nv/conftest.sh      2011-07-30 12:25:49.059315428 -0400
@@ -77,7 +77,7 @@
 build_cflags() {
     ARCH=`uname -m | sed -e 's/i.86/i386/'`

-    BASE_CFLAGS="-D__KERNEL__ \
+    BASE_CFLAGS="-O2 -D__KERNEL__ \
 -DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
 -nostdinc -isystem $ISYSTEM"


C 173.14.22 - По аналогии, для соответсвующих строк.

для ядер 3.x - дополнительно:
--- a/NVIDIA-Linux-x86-96.43.19-pkg0/usr/src/nv/conftest.sh      2011-07-30 12:24:39.770031044 -0400
+++ b/NVIDIA-Linux-x86-96.43.19-pkg0/usr/src/nv/conftest.sh      2011-07-30 12:25:49.059315428 -0400
@@ -77,7 +77,7 @@
 build_cflags() {
     ARCH=`uname -m | sed -e 's/i.86/i386/'`

-    BASE_CFLAGS="-D__KERNEL__ \
+    BASE_CFLAGS="-O2 -D__KERNEL__ \
 -DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
 -nostdinc -isystem $ISYSTEM"

--- a/NVIDIA-Linux-x86-96.43.19-pkg0/usr/src/nv/nv-linux.h       2011-07-30 12:27:09.341819608 -0400
+++ b/NVIDIA-Linux-x86-96.43.19-pkg0/usr/src/nv/nv-linux.h       2011-07-30 12:27:28.854951411 -0400
@@ -30,7 +30,7 @@
 #  define KERNEL_2_4
 #elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
 #  error This driver does not support 2.5 kernels!
-#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 7, 0)
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
 #  define KERNEL_2_6
 #else
 #  error This driver does not support development kernels!
@@ -80,7 +80,9 @@
 #if !defined(KERNEL_2_4)
 #include <linux/sched.h>            /* suser(), capable() replacement   */
 #include <linux/moduleparam.h>      /* module_param()                   */
-#include <linux/smp_lock.h>         /* kernel_locked                    */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
+#include <linux/smp_lock.h>      /* For (un)lock_kernel */
+#endif
 #include <asm/tlbflush.h>           /* flush_tlb(), flush_tlb_all()     */
 #include <asm/kmap_types.h>         /* page table entry lookup          */
 #endif

Оффлайн Feduka

  • Активист
  • ****
  • Сообщений: 428
  • Меняю путина на Ходорковского
Re: Не могу установить драйвер nvidia
« Ответ #3 : Апрель 19, 2012, 08:46:17 »
Мне помогла замена версии драйвера. Есть два десктопа, похожих по конфигурации несвежего железа. На обоих AGP-шные нвидии, 7200 с буковками на одном и 6100 (кажется) без буковок на другом. Стоит сборка 10.04  с гномом от HsH, ядро в обоих случаях обновлено до 3.0.0-19. Скрипт с нвидиевского сайта срабатывает в обоих случаях, драйвер (модули) собираются. Но в случае 6100 глючит тупит и тормозит версия 295.40, а работает нормально 295.33. В случае с картой 7200 почему-то строго наоборот :)
2:5020/655.11

Оффлайн sunset

  • Постоялец
  • ***
  • Сообщений: 106
Re: Не могу установить драйвер nvidia
« Ответ #4 : Апрель 19, 2012, 10:00:26 »
Мне помогла замена версии драйвера. Есть два десктопа, похожих по конфигурации несвежего железа. На обоих AGP-шные нвидии, 7200 с буковками на одном и 6100 (кажется) без буковок на другом. Стоит сборка 10.04  с гномом от HsH, ядро в обоих случаях обновлено до 3.0.0-19. Скрипт с нвидиевского сайта срабатывает в обоих случаях, драйвер (модули) собираются. Но в случае 6100 глючит тупит и тормозит версия 295.40, а работает нормально 295.33. В случае с картой 7200 почему-то строго наоборот :)

Тут ситуация другая. Последний драйвер поддерживающий FX 5500 - 173.14.31.
Нужно его патчить, потому что в нём код,  ничего не знающий о новых ядрах, и
будущих изменениях.

Сейчас посмотрел:

Version:173.14.22
Release Date:2009.11.17
Operating System:Linux
Language:English (U.S.)
File Size:19.5 MB

Version:173.14.31 Certified
Release Date:2011.08.17
Operating System:Linux
Language:English (U.S.)
File Size:20.7 MB

В версии 173.14.22:
   BASE_CFLAGS="-D__KERNEL__ \
А в версии 173.14.31 - уже:
   BASE_CFLAGS="-O2 -D__KERNEL__ \

Патчить не требуется - рекомендую попробовать его.
« Последнее редактирование: Апрель 19, 2012, 10:30:21 от sunset »

Оффлайн baks

  • Новичок
  • **
  • Автор темы
  • Сообщений: 75
Re: Не могу установить драйвер nvidia
« Ответ #5 : Апрель 19, 2012, 16:46:40 »
 butjapka это не тот случай, т.к. именно из этого рра и ставлю.
Я не могу разобраться где именно указать nvidia-current версию ядра, тогда можно скачать пакет, внести правки и установить

Оффлайн sunset

  • Постоялец
  • ***
  • Сообщений: 106
Re: Не могу установить драйвер nvidia
« Ответ #6 : Апрель 19, 2012, 19:19:44 »
baks
295.40 - патчить не надо, драйвер новый.
Все ли пакеты - для компиляции модуля установлены ?

Could not compile 'gcc-version-check.c'.  Please be  sure you have your Linux distribution's gcc  and libc development packages installed.

sudo apt-get update
sudo apt-get install debhelper  cdbs fakeroot linux-headers-2.6.32-40-generic build-essential

Симлинк /usr/src/linux - тоже должен быть.
sudo su
ln -sf /usr/src/linux-headers-2.6.32-40-generic /usr/src/linux

Потом повторить процесс установки драйвера nvidia


Slip
Модифицированный nvidia-173_173.14.22-0ubuntu11.1_i386.deb
Должен нормально скомпилироваться с kernel-2.6.35 (cо всей линейкой 2.6.x и 3.x)

P.S.
Не проверял
« Последнее редактирование: Апрель 19, 2012, 23:54:35 от sunset »

Оффлайн baks

  • Новичок
  • **
  • Автор темы
  • Сообщений: 75
Re: Не могу установить драйвер nvidia
« Ответ #7 : Апрель 20, 2012, 10:03:29 »
 Без изменений
baks@STAR1K:~$ sudo apt-get install debhelper  cdbs fakeroot linux-headers-2.6.32-40-generic build-essential
Чтение списков пакетов... Готово
Построение дерева зависимостей       
Чтение информации о состоянии... Готово
Уже установлена самая новая версия fakeroot.
fakeroot установлен вручную.
Уже установлена самая новая версия linux-headers-2.6.32-40-generic.
Уже установлена самая новая версия build-essential.
Будут установлены следующие дополнительные пакеты:
  fdupes html2text intltool-debian po-debconf
Предлагаемые пакеты:
  devscripts dh-make libmail-box-perl
Рекомендуемые пакеты:
  libmail-sendmail-perl
НОВЫЕ пакеты, которые будут установлены:
  cdbs debhelper fdupes html2text intltool-debian po-debconf
обновлено 0, установлено 6 новых пакетов, для удаления отмечено 0 пакетов, и 2 пакетов не обновлено.
не установлено до конца или удалено 3 пакетов.
Необходимо скачать 1 986kБ архивов.
После данной операции, объём занятого дискового пространства возрастёт на 4 166kB.
Хотите продолжить [Д/н]? y
Получено:1 http://ftp.byfly.by/ubuntu/ lucid/main html2text 1.3.2a-14build1 [104kB]
Получено:2 http://ppa.launchpad.net/lucid-bleed/ppa/ubuntu/ lucid/main debhelper 8.9.0ubuntu1~ppa1~lucid1 [571kB]
Получено:3 http://ftp.byfly.by/ubuntu/ lucid/main intltool-debian 0.35.0+20060710.1 [31,6kB]
Получено:4 http://ftp.byfly.by/ubuntu/ lucid/main po-debconf 1.0.16 [224kB]
Получено:5 http://ftp.byfly.by/ubuntu/ lucid/main fdupes 1.50-PR2-2build1 [20,3kB]
Получено:6 http://ftp.byfly.by/ubuntu/ lucid/main cdbs 0.4.62+nmu1ubuntu9 [1 035kB]
Получено 1 986kБ за 4с (477kБ/c)                               
Selecting previously unselected package html2text.
(Чтение базы данных ... на данный момент установлено 202927 файлов и каталогов.)
Распаковывается пакет html2text (из файла .../html2text_1.3.2a-14build1_amd64.deb)...
Selecting previously unselected package intltool-debian.
Распаковывается пакет intltool-debian (из файла .../intltool-debian_0.35.0+20060710.1_all.deb)...
Selecting previously unselected package po-debconf.
Распаковывается пакет po-debconf (из файла .../po-debconf_1.0.16_all.deb)...
Selecting previously unselected package debhelper.
Распаковывается пакет debhelper (из файла .../debhelper_8.9.0ubuntu1~ppa1~lucid1_all.deb)...
Selecting previously unselected package fdupes.
Распаковывается пакет fdupes (из файла .../fdupes_1.50-PR2-2build1_amd64.deb)...
Selecting previously unselected package cdbs.
Распаковывается пакет cdbs (из файла .../cdbs_0.4.62+nmu1ubuntu9_all.deb)...
Обрабатываются триггеры для man-db ...
Обрабатываются триггеры для doc-base ...
Processing 2 added doc-base file(s)...
Registering documents with scrollkeeper...
Настраивается пакет nvidia-current (295.40-0ubuntu1~lucid~xup1) ...
update-initramfs: deferring update (trigger activated)
Removing old nvidia-current-295.40 DKMS files...

------------------------------
Deleting module version: 295.40
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-295.40 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.32-40-generic
Building for architecture x86_64
Building initial module for 2.6.32-40-generic

Error! Bad return status for module build on kernel: 2.6.32-40-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/nvidia-current/295.40/build/ for more information.
dpkg: не удалось обработать параметр nvidia-current (--configure):
 подпроцесс установлен сценарий post-installation возвратил код ошибки 10
dpkg: зависимости пакетов не позволяют настроить пакет nvidia-185-libvdpau:
 nvidia-185-libvdpau зависит от nvidia-current, однако:
  Пакет nvidia-current пока не настроен.
dpkg: не удалось обработать параметр nvidia-185-libvdpau (--configure):
 проблемы зависимостей -- оставляем не настроенным
dpkg: зависимости пакетов не позволяют настроить пакет nvidia-180-libvdpau:
 nvidia-180-libvdpau зависит от nvidia-185-libvdpau, однако:
  Пакет nvidia-185-libvdpau пока не настроен.
dpkg: не удалось обработать параметр nvidia-180-libvdpau (--configure):
 проблемы зависимостей -- оставляем не настроенным
Отчёты apport не записаны, так как сообщение об ошибке указывает на повторную ошибку от предыдущего отказа.
                            Отчёты apport не записаны, так как сообщение об ошибке указывает на повторную ошибку от предыдущего отказа.
                                                        Настраивается пакет html2text (1.3.2a-14build1) ...
Настраивается пакет intltool-debian (0.35.0+20060710.1) ...
Настраивается пакет po-debconf (1.0.16) ...
Настраивается пакет debhelper (8.9.0ubuntu1~ppa1~lucid1) ...
Настраивается пакет fdupes (1.50-PR2-2build1) ...
Настраивается пакет cdbs (0.4.62+nmu1ubuntu9) ...
Обрабатываются триггеры для python-gmenu ...
Rebuilding /usr/share/applications/desktop.ru_RU.utf8.cache...
Обрабатываются триггеры для initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-40-generic
Обрабатываются триггеры для python-support ...
При обработке следующих пакетов произошли ошибки:
 nvidia-current
 nvidia-185-libvdpau
 nvidia-180-libvdpau
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ lucid/partner Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_lucid_partner_binary-amd64_Packages)
W: Вы можете запустить 'apt-get update' для исправления этих ошибок
E: Sub-process /usr/bin/dpkg returned an error code (1)

 Но и без доустановленных пакетов проблем раньше не было

Оффлайн sunset

  • Постоялец
  • ***
  • Сообщений: 106
Re: Не могу установить драйвер nvidia
« Ответ #8 : Апрель 20, 2012, 12:00:31 »
baks

Забыл дописать:

su
cd /usr/src/linux
make oldconfig
make prepare (не помню, нужно-ли в ubuntu - под gentoo делаю)


Оффлайн baks

  • Новичок
  • **
  • Автор темы
  • Сообщений: 75
Re: Не могу установить драйвер nvidia
« Ответ #9 : Апрель 20, 2012, 16:29:37 »
sunset даже oldconfig вываливается с ошибкой:
root@STAR1K:/usr/src/linux# make oldconfig
  HOSTCC  scripts/basic/fixdep
In file included from scripts/basic/fixdep.c:106:
/usr/include/sys/types.h:147:20: error: stddef.h: Нет такого файла или каталога
In file included from scripts/basic/fixdep.c:108:
/usr/include/sys/mman.h:58: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:77: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:82: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:90: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:95: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:99: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:104: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:107: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:124: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from scripts/basic/fixdep.c:109:
/usr/include/unistd.h:357: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:363: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:507: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from scripts/basic/fixdep.c:109:
/usr/include/unistd.h:618: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘confstr’
/usr/include/unistd.h:790: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:826: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:837: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:873: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from scripts/basic/fixdep.c:109:
/usr/include/unistd.h:895: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:902: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:913: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:915: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:933: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:934: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/unistd.h:1150,
                 from scripts/basic/fixdep.c:109:
/usr/include/bits/unistd.h:24: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:25: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:26: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:28: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:28: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:35: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘read’:
/usr/include/bits/unistd.h:37: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/unistd.h:37: error: (Each undeclared identifier is reported only once
/usr/include/bits/unistd.h:37: error: for each function it appears in.)
/usr/include/bits/unistd.h:39: error: ‘__nbytes’ undeclared (first use in this function)
/usr/include/bits/unistd.h:40: error: too many arguments to function ‘__read_chk’
/usr/include/bits/unistd.h:43: error: too many arguments to function ‘__read_chk_warn’
/usr/include/bits/unistd.h:45: error: too many arguments to function ‘__read_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:125: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:126: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:128: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:132: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:132: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:140: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘readlink’:
/usr/include/bits/unistd.h:143: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/unistd.h:145: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/unistd.h:146: error: too many arguments to function ‘__readlink_chk’
/usr/include/bits/unistd.h:149: error: too many arguments to function ‘__readlink_chk_warn’
/usr/include/bits/unistd.h:151: error: too many arguments to function ‘__readlink_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:157: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:158: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:160: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:165: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:165: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:174: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘readlinkat’:
/usr/include/bits/unistd.h:177: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/unistd.h:179: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/unistd.h:180: error: too many arguments to function ‘__readlinkat_chk’
/usr/include/bits/unistd.h:184: error: too many arguments to function ‘__readlinkat_chk_warn’
/usr/include/bits/unistd.h:186: error: too many arguments to function ‘__readlinkat_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:190: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:190: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:192: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:194: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:194: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:201: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘getcwd’:
/usr/include/bits/unistd.h:203: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/unistd.h:205: error: ‘__size’ undeclared (first use in this function)
/usr/include/bits/unistd.h:206: error: too many arguments to function ‘__getcwd_chk’
/usr/include/bits/unistd.h:209: error: too many arguments to function ‘__getcwd_chk_warn’
/usr/include/bits/unistd.h:211: error: too many arguments to function ‘__getcwd_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:215: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘getwd’:
/usr/include/bits/unistd.h:224: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/unistd.h:225: error: too many arguments to function ‘__getwd_chk’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:230: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__confstr_chk’
/usr/include/bits/unistd.h:232: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__confstr_alias’
/usr/include/bits/unistd.h:234: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__confstr_chk_warn’
/usr/include/bits/unistd.h:241: error: expected ‘,’ or ‘;’ before ‘confstr’
/usr/include/bits/unistd.h:255: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:259: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘getgroups’:
/usr/include/bits/unistd.h:271: error: too many arguments to function ‘__getgroups_chk’
/usr/include/bits/unistd.h:274: error: too many arguments to function ‘__getgroups_chk_warn’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:280: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:281: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:282: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:285: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:285: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:292: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘ttyname_r’:
/usr/include/bits/unistd.h:296: error: ‘__buflen’ undeclared (first use in this function)
/usr/include/bits/unistd.h:297: error: too many arguments to function ‘__ttyname_r_chk’
/usr/include/bits/unistd.h:300: error: too many arguments to function ‘__ttyname_r_chk_warn’
/usr/include/bits/unistd.h:302: error: too many arguments to function ‘__ttyname_r_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:307: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:307: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:309: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:311: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:311: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:318: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘getlogin_r’:
/usr/include/bits/unistd.h:322: error: ‘__buflen’ undeclared (first use in this function)
/usr/include/bits/unistd.h:323: error: too many arguments to function ‘__getlogin_r_chk’
/usr/include/bits/unistd.h:326: error: too many arguments to function ‘__getlogin_r_chk_warn’
/usr/include/bits/unistd.h:328: error: too many arguments to function ‘__getlogin_r_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:334: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:334: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:336: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:338: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:338: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:345: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘gethostname’:
/usr/include/bits/unistd.h:349: error: ‘__buflen’ undeclared (first use in this function)
/usr/include/bits/unistd.h:350: error: too many arguments to function ‘__gethostname_chk’
/usr/include/bits/unistd.h:353: error: too many arguments to function ‘__gethostname_chk_warn’
/usr/include/bits/unistd.h:355: error: too many arguments to function ‘__gethostname_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:363: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:366: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:366: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:374: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘getdomainname’:
/usr/include/bits/unistd.h:378: error: ‘__buflen’ undeclared (first use in this function)
/usr/include/bits/unistd.h:379: error: too many arguments to function ‘__getdomainname_chk’
/usr/include/bits/unistd.h:382: error: too many arguments to function ‘__getdomainname_chk_warn’
/usr/include/bits/unistd.h:384: error: too many arguments to function ‘__getdomainname_alias’
In file included from scripts/basic/fixdep.c:111:
/usr/include/string.h: At top level:
/usr/include/string.h:44: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:48: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:57: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:64: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:67: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:94: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:131: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:139: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:145: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:152: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strxfrm’
In file included from scripts/basic/fixdep.c:111:
/usr/include/string.h:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strxfrm_l’
/usr/include/string.h:181: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:282: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strcspn’
/usr/include/string.h:286: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strspn’
/usr/include/string.h:397: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strlen’
/usr/include/string.h:404: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strnlen’
/usr/include/string.h:425: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:449: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:453: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:457: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:460: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:538: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:575: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:578: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/string.h:635,
                 from scripts/basic/fixdep.c:111:
/usr/include/bits/string2.h:969: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c1’
/usr/include/bits/string2.h:971: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c1’
/usr/include/bits/string2.h:979: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c2’
/usr/include/bits/string2.h:982: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c2’
/usr/include/bits/string2.h:991: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c3’
/usr/include/bits/string2.h:994: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c3’
/usr/include/bits/string2.h:1045: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c1’
/usr/include/bits/string2.h:1047: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c1’
/usr/include/bits/string2.h:1056: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c2’
/usr/include/bits/string2.h:1059: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c2’
/usr/include/bits/string2.h:1068: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c3’
/usr/include/bits/string2.h:1071: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c3’
/usr/include/bits/string2.h: In function ‘__strpbrk_c2’:
/usr/include/bits/string2.h:1129: error: ‘NULL’ undeclared (first use in this function)
/usr/include/bits/string2.h:1129: error: expected ‘;’ before ‘__s’
/usr/include/bits/string2.h: In function ‘__strpbrk_c3’:
/usr/include/bits/string2.h:1142: error: ‘NULL’ undeclared (first use in this function)
/usr/include/bits/string2.h:1142: error: expected ‘;’ before ‘__s’
/usr/include/bits/string2.h: In function ‘__strtok_r_1c’:
/usr/include/bits/string2.h:1177: error: ‘NULL’ undeclared (first use in this function)
/usr/include/bits/string2.h: In function ‘__strsep_1c’:
/usr/include/bits/string2.h:1227: error: ‘NULL’ undeclared (first use in this function)
/usr/include/bits/string2.h: In function ‘__strsep_2c’:
/usr/include/bits/string2.h:1237: error: ‘NULL’ undeclared (first use in this function)
/usr/include/bits/string2.h: In function ‘__strsep_3c’:
/usr/include/bits/string2.h:1265: error: ‘NULL’ undeclared (first use in this function)
In file included from /usr/include/bits/string2.h:1298,
                 from /usr/include/string.h:635,
                 from scripts/basic/fixdep.c:111:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:471: error: expected ‘)’ before ‘__size’
/usr/include/stdlib.h:473: error: expected ‘)’ before ‘__nmemb’
In file included from /usr/include/string.h:635,
                 from scripts/basic/fixdep.c:111:
/usr/include/bits/string2.h:1322: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/string.h:640,
                 from scripts/basic/fixdep.c:111:
/usr/include/bits/string3.h:49: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘memcpy’:
/usr/include/bits/string3.h:52: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:56: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘memmove’:
/usr/include/bits/string3.h:59: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:78: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘memset’:
/usr/include/bits/string3.h:80: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:91: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘bcopy’:
/usr/include/bits/string3.h:94: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:98: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘bzero’:
/usr/include/bits/string3.h:100: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:120: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘strncpy’:
/usr/include/bits/string3.h:123: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:127: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h:128: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h:129: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h:134: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘stpncpy’:
/usr/include/bits/string3.h:137: error: ‘__n’ undeclared (first use in this function)
/usr/include/bits/string3.h:138: error: too many arguments to function ‘__stpncpy_chk’
/usr/include/bits/string3.h:139: error: too many arguments to function ‘__stpncpy_alias’
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:151: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘strncat’:
/usr/include/bits/string3.h:154: error: ‘__len’ undeclared (first use in this function)
In file included from scripts/basic/fixdep.c:112:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__ctype_get_mb_cur_max’
/usr/include/stdlib.h: In function ‘atof’:
/usr/include/stdlib.h:281: error: ‘NULL’ undeclared (first use in this function)
/usr/include/stdlib.h: In function ‘atoi’:
/usr/include/stdlib.h:286: error: ‘NULL’ undeclared (first use in this function)
/usr/include/stdlib.h: In function ‘atol’:
/usr/include/stdlib.h:291: error: ‘NULL’ undeclared (first use in this function)
/usr/include/stdlib.h: In function ‘atoll’:
/usr/include/stdlib.h:300: error: ‘NULL’ undeclared (first use in this function)
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:337: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:367: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:369: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:485: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/stdlib.h:497,
                 from scripts/basic/fixdep.c:112:
/usr/include/alloca.h:33: error: expected ‘)’ before ‘__size’
In file included from scripts/basic/fixdep.c:112:
/usr/include/stdlib.h:502: error: expected ‘)’ before ‘__size’
/usr/include/stdlib.h:507: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:507: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:751: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:751: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:752: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
/usr/include/stdlib.h:756: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:756: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:757: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:834: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:837: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:841: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:845: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:854: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:857: error: expected ‘)’ before ‘*’ token
/usr/include/stdlib.h:861: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/usr/include/stdlib.h:865: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mbstowcs’
/usr/include/stdlib.h:868: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wcstombs’
In file included from /usr/include/stdlib.h:949,
                 from scripts/basic/fixdep.c:112:
/usr/include/bits/stdlib.h:26: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:30: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h: In function ‘realpath’:
/usr/include/bits/stdlib.h:46: error: too many arguments to function ‘__realpath_chk’
/usr/include/bits/stdlib.h: At top level:
/usr/include/bits/stdlib.h:53: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:54: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:55: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:58: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:58: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:65: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h: In function ‘ptsname_r’:
/usr/include/bits/stdlib.h:69: error: ‘__buflen’ undeclared (first use in this function)
/usr/include/bits/stdlib.h:70: error: too many arguments to function ‘__ptsname_r_chk’
/usr/include/bits/stdlib.h:72: error: too many arguments to function ‘__ptsname_r_chk_warn’
/usr/include/bits/stdlib.h:74: error: too many arguments to function ‘__ptsname_r_alias’
/usr/include/bits/stdlib.h: At top level:
/usr/include/bits/stdlib.h:78: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/usr/include/bits/stdlib.h:78: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:80: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/usr/include/bits/stdlib.h:84: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/usr/include/bits/stdlib.h: In function ‘wctomb’:
/usr/include/bits/stdlib.h:94: error: ‘__wchar’ undeclared (first use in this function)
/usr/include/bits/stdlib.h:94: error: too many arguments to function ‘__wctomb_chk’
/usr/include/bits/stdlib.h:95: error: too many arguments to function ‘__wctomb_alias’
/usr/include/bits/stdlib.h: At top level:
/usr/include/bits/stdlib.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_chk’
/usr/include/bits/stdlib.h:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_alias’
/usr/include/bits/stdlib.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_chk_warn’
/usr/include/bits/stdlib.h:114: error: expected ‘,’ or ‘;’ before ‘mbstowcs’
/usr/include/bits/stdlib.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_chk’
/usr/include/bits/stdlib.h:134: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_alias’
/usr/include/bits/stdlib.h:138: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_chk_warn’
/usr/include/bits/stdlib.h:145: error: expected ‘,’ or ‘;’ before ‘wcstombs’
In file included from /usr/include/stdio.h:75,
                 from scripts/basic/fixdep.c:113:
/usr/include/libio.h:53:21: error: stdarg.h: Нет такого файла или каталога
In file included from /usr/include/stdio.h:75,
                 from scripts/basic/fixdep.c:113:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before ‘size_t’
/usr/include/libio.h:364: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/libio.h:373: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/libio.h:491: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/libio.h:493: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/libio.h:495: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’
In file included from scripts/basic/fixdep.c:113:
/usr/include/stdio.h:296: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:302: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:314: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:321: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:349: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:354: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:357: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:363: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:365: error: format string argument not a string type
/usr/include/stdio.h:367: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:368: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:369: error: format string argument not a string type
/usr/include/stdio.h:395: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:454: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:461: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:466: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:476: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:481: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:484: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:639: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:642: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:652: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:682: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’
/usr/include/stdio.h:688: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’
/usr/include/stdio.h:710: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’
/usr/include/stdio.h:712: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’
In file included from /usr/include/stdio.h:910,
                 from scripts/basic/fixdep.c:113:
/usr/include/bits/stdio2.h:24: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:26: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:28: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h:44: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h: In function ‘vsprintf’:
/usr/include/bits/stdio2.h:48: error: ‘__ap’ undeclared (first use in this function)
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:53: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:54: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:56: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:57: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:58: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h:62: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h: In function ‘snprintf’:
/usr/include/bits/stdio2.h:65: error: ‘__n’ undeclared (first use in this function)
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:75: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:75: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h: In function ‘vsnprintf’:
/usr/include/bits/stdio2.h:78: error: ‘__n’ undeclared (first use in this function)
/usr/include/bits/stdio2.h:79: error: ‘__ap’ undeclared (first use in this function)
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:90: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h:92: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h:115: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h: In function ‘vprintf’:
/usr/include/bits/stdio2.h:118: error: ‘__ap’ undeclared (first use in this function)
/usr/include/bits/stdio2.h:118: error: too many arguments to function ‘__vfprintf_chk’
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:126: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h: In function ‘vfprintf’:
/usr/include/bits/stdio2.h:128: error: ‘__ap’ undeclared (first use in this function)
/usr/include/bits/stdio2.h:128: error: too many arguments to function ‘__vfprintf_chk’
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:220: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h: In function ‘gets’:
/usr/include/bits/stdio2.h:229: error: too many arguments to function ‘__gets_chk’
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:233: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:238: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h: In function ‘fgets’:
/usr/include/bits/stdio2.h:250: error: too many arguments to function ‘__fgets_chk’
/usr/include/bits/stdio2.h:252: error: expected ‘)’ before ‘__n’
/usr/include/bits/stdio2.h:253: error: too many arguments to function ‘__fgets_chk_warn’
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:258: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_chk’
/usr/include/bits/stdio2.h:261: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_alias’
/usr/include/bits/stdio2.h:265: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_chk_warn’
/usr/include/bits/stdio2.h:274: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’
/usr/include/bits/stdio2.h:319: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_unlocked_chk’
/usr/include/bits/stdio2.h:322: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_unlocked_alias’
/usr/include/bits/stdio2.h:326: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_unlocked_chk_warn’
/usr/include/bits/stdio2.h:335: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’
In file included from scripts/basic/fixdep.c:114:
/usr/include/limits.h:125:26: error: no include path in which to search for limits.h
In file included from /usr/include/sys/uio.h:29,
                 from /usr/include/sys/socket.h:28,
                 from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/bits/uio.h:47: error: expected specifier-qualifier-list before ‘size_t’
In file included from /usr/include/sys/socket.h:40,
                 from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/bits/socket.h:251: error: expected specifier-qualifier-list before ‘size_t’
/usr/include/bits/socket.h:265: error: expected specifier-qualifier-list before ‘size_t’
/usr/include/bits/socket.h: In function ‘__cmsg_nxthdr’:
/usr/include/bits/socket.h:302: error: expected ‘)’ before ‘__cmsg’
/usr/include/bits/socket.h:307: error: ‘struct cmsghdr’ has no member named ‘cmsg_len’
/usr/include/bits/socket.h:307: error: expected ‘)’ before ‘~’ token
/usr/include/bits/socket.h:308: error: ‘struct msghdr’ has no member named ‘msg_control’
/usr/include/bits/socket.h:309: error: ‘struct msghdr’ has no member named ‘msg_controllen’
/usr/include/bits/socket.h:310: error: ‘struct cmsghdr’ has no member named ‘cmsg_len’
/usr/include/bits/socket.h:310: error: expected ‘)’ before ‘~’ token
/usr/include/bits/socket.h:311: error: ‘struct msghdr’ has no member named ‘msg_control’
/usr/include/bits/socket.h:311: error: ‘struct msghdr’ has no member named ‘msg_controllen’
In file included from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/sys/socket.h: At top level:
/usr/include/sys/socket.h:141: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/socket.h:148: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/socket.h:155: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/socket.h:166: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/sys/socket.h:251,
                 from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/bits/socket2.h:24: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:24: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:26: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:28: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:28: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:35: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h: In function ‘recv’:
/usr/include/bits/socket2.h:39: error: ‘__n’ undeclared (first use in this function)
/usr/include/bits/socket2.h:40: error: too many arguments to function ‘__recv_chk’
/usr/include/bits/socket2.h:43: error: too many arguments to function ‘__recv_chk_warn’
/usr/include/bits/socket2.h:45: error: too many arguments to function ‘__recv_alias’
/usr/include/bits/socket2.h: At top level:
/usr/include/bits/socket2.h:48: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:49: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:52: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:56: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:56: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:65: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h: In function ‘recvfrom’:
/usr/include/bits/socket2.h:70: error: ‘__n’ undeclared (first use in this function)
/usr/include/bits/socket2.h:72: error: too many arguments to function ‘__recvfrom_chk’
/usr/include/bits/socket2.h:75: error: too many arguments to function ‘__recvfrom_chk_warn’
/usr/include/bits/socket2.h:77: error: too many arguments to function ‘__recvfrom_alias’
In file included from scripts/basic/fixdep.c:116:
/usr/include/arpa/inet.h: At top level:
/usr/include/arpa/inet.h:78: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/arpa/inet.h:84: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/arpa/inet.h:90: error: expected declaration specifiers or ‘...’ before ‘size_t’
scripts/basic/fixdep.c: In function ‘grow_config’:
scripts/basic/fixdep.c:154: error: too many arguments to function ‘realloc’
scripts/basic/fixdep.c: In function ‘is_defined_config’:
scripts/basic/fixdep.c:172: error: too many arguments to function ‘memcmp’
scripts/basic/fixdep.c: In function ‘define_config’:
scripts/basic/fixdep.c:185: error: too many arguments to function ‘memcpy’
scripts/basic/fixdep.c: In function ‘use_config’:
scripts/basic/fixdep.c:212: error: too many arguments to function ‘memcpy’
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:223: error: expected declaration specifiers or ‘...’ before ‘size_t’
scripts/basic/fixdep.c: In function ‘parse_config_file’:
scripts/basic/fixdep.c:225: error: ‘len’ undeclared (first use in this function)
scripts/basic/fixdep.c:239: error: too many arguments to function ‘memcmp’
scripts/basic/fixdep.c:248: error: too many arguments to function ‘memcmp’
scripts/basic/fixdep.c: In function ‘strrcmp’:
scripts/basic/fixdep.c:259: warning: implicit declaration of function ‘strlen’
scripts/basic/fixdep.c:259: warning: incompatible implicit declaration of built-in function ‘strlen’
scripts/basic/fixdep.c:265: error: too many arguments to function ‘memcmp’
scripts/basic/fixdep.c: In function ‘do_config_file’:
scripts/basic/fixdep.c:285: error: too many arguments to function ‘mmap’
scripts/basic/fixdep.c:292: error: too many arguments to function ‘parse_config_file’
scripts/basic/fixdep.c:294: error: too many arguments to function ‘munmap’
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:299: error: expected declaration specifiers or ‘...’ before ‘size_t’
scripts/basic/fixdep.c: In function ‘parse_dep_file’:
scripts/basic/fixdep.c:302: error: ‘len’ undeclared (first use in this function)
scripts/basic/fixdep.c:311: error: too many arguments to function ‘memcpy’
scripts/basic/fixdep.c:326: error: too many arguments to function ‘memcpy’
scripts/basic/fixdep.c: In function ‘print_deps’:
scripts/basic/fixdep.c:357: error: too many arguments to function ‘mmap’
scripts/basic/fixdep.c:364: error: too many arguments to function ‘parse_dep_file’
scripts/basic/fixdep.c:366: error: too many arguments to function ‘munmap’
make[1]: *** [scripts/basic/fixdep] Ошибка 1
make: *** [scripts_basic] Ошибка 2

 Не очень давно, сразу после выхода deadbeef 0.5.2, пытался собрать его и не вышло. Но драйвер видео с тех пор обновлялся и работал.

  P.S. Очень не хочется идти widows way
« Последнее редактирование: Апрель 20, 2012, 19:13:14 от baks »

Оффлайн sunset

  • Постоялец
  • ***
  • Сообщений: 106
Re: Не могу установить драйвер nvidia
« Ответ #10 : Апрель 20, 2012, 23:11:35 »

sunset даже oldconfig вываливается с ошибкой:
root@STAR1K:/usr/src/linux# make oldconfig
  HOSTCC  scripts/basic/fixdep
In file included from scripts/basic/fixdep.c:106:
/usr/include/sys/types.h:147:20: error: stddef.h: Нет такого файла или каталога
In file included from scripts/basic/fixdep.c:108:
/usr/include/sys/mman.h:58: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:77: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:82: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:90: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:95: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:99: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:104: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:107: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/mman.h:124: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from scripts/basic/fixdep.c:109:
/usr/include/unistd.h:357: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:363: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:507: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from scripts/basic/fixdep.c:109:
/usr/include/unistd.h:618: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘confstr’
/usr/include/unistd.h:790: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:826: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:837: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:873: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from scripts/basic/fixdep.c:109:
/usr/include/unistd.h:895: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:902: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:913: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:915: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:933: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:934: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/unistd.h:1150,
                 from scripts/basic/fixdep.c:109:
/usr/include/bits/unistd.h:24: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:25: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:26: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:28: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:28: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:35: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘read’:
/usr/include/bits/unistd.h:37: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/unistd.h:37: error: (Each undeclared identifier is reported only once
/usr/include/bits/unistd.h:37: error: for each function it appears in.)
/usr/include/bits/unistd.h:39: error: ‘__nbytes’ undeclared (first use in this function)
/usr/include/bits/unistd.h:40: error: too many arguments to function ‘__read_chk’
/usr/include/bits/unistd.h:43: error: too many arguments to function ‘__read_chk_warn’
/usr/include/bits/unistd.h:45: error: too many arguments to function ‘__read_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:125: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:126: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:128: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:132: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:132: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:140: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘readlink’:
/usr/include/bits/unistd.h:143: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/unistd.h:145: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/unistd.h:146: error: too many arguments to function ‘__readlink_chk’
/usr/include/bits/unistd.h:149: error: too many arguments to function ‘__readlink_chk_warn’
/usr/include/bits/unistd.h:151: error: too many arguments to function ‘__readlink_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:157: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:158: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:160: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:165: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:165: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:174: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘readlinkat’:
/usr/include/bits/unistd.h:177: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/unistd.h:179: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/unistd.h:180: error: too many arguments to function ‘__readlinkat_chk’
/usr/include/bits/unistd.h:184: error: too many arguments to function ‘__readlinkat_chk_warn’
/usr/include/bits/unistd.h:186: error: too many arguments to function ‘__readlinkat_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:190: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:190: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:192: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:194: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:194: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:201: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘getcwd’:
/usr/include/bits/unistd.h:203: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/unistd.h:205: error: ‘__size’ undeclared (first use in this function)
/usr/include/bits/unistd.h:206: error: too many arguments to function ‘__getcwd_chk’
/usr/include/bits/unistd.h:209: error: too many arguments to function ‘__getcwd_chk_warn’
/usr/include/bits/unistd.h:211: error: too many arguments to function ‘__getcwd_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:215: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘getwd’:
/usr/include/bits/unistd.h:224: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/unistd.h:225: error: too many arguments to function ‘__getwd_chk’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:230: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__confstr_chk’
/usr/include/bits/unistd.h:232: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__confstr_alias’
/usr/include/bits/unistd.h:234: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__confstr_chk_warn’
/usr/include/bits/unistd.h:241: error: expected ‘,’ or ‘;’ before ‘confstr’
/usr/include/bits/unistd.h:255: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:259: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘getgroups’:
/usr/include/bits/unistd.h:271: error: too many arguments to function ‘__getgroups_chk’
/usr/include/bits/unistd.h:274: error: too many arguments to function ‘__getgroups_chk_warn’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:280: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:281: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:282: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:285: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:285: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:292: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘ttyname_r’:
/usr/include/bits/unistd.h:296: error: ‘__buflen’ undeclared (first use in this function)
/usr/include/bits/unistd.h:297: error: too many arguments to function ‘__ttyname_r_chk’
/usr/include/bits/unistd.h:300: error: too many arguments to function ‘__ttyname_r_chk_warn’
/usr/include/bits/unistd.h:302: error: too many arguments to function ‘__ttyname_r_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:307: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:307: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:309: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:311: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:311: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:318: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘getlogin_r’:
/usr/include/bits/unistd.h:322: error: ‘__buflen’ undeclared (first use in this function)
/usr/include/bits/unistd.h:323: error: too many arguments to function ‘__getlogin_r_chk’
/usr/include/bits/unistd.h:326: error: too many arguments to function ‘__getlogin_r_chk_warn’
/usr/include/bits/unistd.h:328: error: too many arguments to function ‘__getlogin_r_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:334: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:334: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:336: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:338: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:338: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:345: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘gethostname’:
/usr/include/bits/unistd.h:349: error: ‘__buflen’ undeclared (first use in this function)
/usr/include/bits/unistd.h:350: error: too many arguments to function ‘__gethostname_chk’
/usr/include/bits/unistd.h:353: error: too many arguments to function ‘__gethostname_chk_warn’
/usr/include/bits/unistd.h:355: error: too many arguments to function ‘__gethostname_alias’
/usr/include/bits/unistd.h: At top level:
/usr/include/bits/unistd.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:363: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:366: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:366: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h:374: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/unistd.h: In function ‘getdomainname’:
/usr/include/bits/unistd.h:378: error: ‘__buflen’ undeclared (first use in this function)
/usr/include/bits/unistd.h:379: error: too many arguments to function ‘__getdomainname_chk’
/usr/include/bits/unistd.h:382: error: too many arguments to function ‘__getdomainname_chk_warn’
/usr/include/bits/unistd.h:384: error: too many arguments to function ‘__getdomainname_alias’
In file included from scripts/basic/fixdep.c:111:
/usr/include/string.h: At top level:
/usr/include/string.h:44: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:48: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:57: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:64: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:67: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:94: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:131: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:139: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:145: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:152: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strxfrm’
In file included from scripts/basic/fixdep.c:111:
/usr/include/string.h:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strxfrm_l’
/usr/include/string.h:181: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:282: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strcspn’
/usr/include/string.h:286: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strspn’
/usr/include/string.h:397: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strlen’
/usr/include/string.h:404: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strnlen’
/usr/include/string.h:425: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:449: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:453: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:457: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:460: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:538: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:575: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:578: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/string.h:635,
                 from scripts/basic/fixdep.c:111:
/usr/include/bits/string2.h:969: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c1’
/usr/include/bits/string2.h:971: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c1’
/usr/include/bits/string2.h:979: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c2’
/usr/include/bits/string2.h:982: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c2’
/usr/include/bits/string2.h:991: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c3’
/usr/include/bits/string2.h:994: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c3’
/usr/include/bits/string2.h:1045: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c1’
/usr/include/bits/string2.h:1047: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c1’
/usr/include/bits/string2.h:1056: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c2’
/usr/include/bits/string2.h:1059: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c2’
/usr/include/bits/string2.h:1068: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c3’
/usr/include/bits/string2.h:1071: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c3’
/usr/include/bits/string2.h: In function ‘__strpbrk_c2’:
/usr/include/bits/string2.h:1129: error: ‘NULL’ undeclared (first use in this function)
/usr/include/bits/string2.h:1129: error: expected ‘;’ before ‘__s’
/usr/include/bits/string2.h: In function ‘__strpbrk_c3’:
/usr/include/bits/string2.h:1142: error: ‘NULL’ undeclared (first use in this function)
/usr/include/bits/string2.h:1142: error: expected ‘;’ before ‘__s’
/usr/include/bits/string2.h: In function ‘__strtok_r_1c’:
/usr/include/bits/string2.h:1177: error: ‘NULL’ undeclared (first use in this function)
/usr/include/bits/string2.h: In function ‘__strsep_1c’:
/usr/include/bits/string2.h:1227: error: ‘NULL’ undeclared (first use in this function)
/usr/include/bits/string2.h: In function ‘__strsep_2c’:
/usr/include/bits/string2.h:1237: error: ‘NULL’ undeclared (first use in this function)
/usr/include/bits/string2.h: In function ‘__strsep_3c’:
/usr/include/bits/string2.h:1265: error: ‘NULL’ undeclared (first use in this function)
In file included from /usr/include/bits/string2.h:1298,
                 from /usr/include/string.h:635,
                 from scripts/basic/fixdep.c:111:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:471: error: expected ‘)’ before ‘__size’
/usr/include/stdlib.h:473: error: expected ‘)’ before ‘__nmemb’
In file included from /usr/include/string.h:635,
                 from scripts/basic/fixdep.c:111:
/usr/include/bits/string2.h:1322: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/string.h:640,
                 from scripts/basic/fixdep.c:111:
/usr/include/bits/string3.h:49: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘memcpy’:
/usr/include/bits/string3.h:52: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:56: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘memmove’:
/usr/include/bits/string3.h:59: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:78: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘memset’:
/usr/include/bits/string3.h:80: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:91: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘bcopy’:
/usr/include/bits/string3.h:94: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:98: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘bzero’:
/usr/include/bits/string3.h:100: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:120: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘strncpy’:
/usr/include/bits/string3.h:123: error: ‘__len’ undeclared (first use in this function)
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:127: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h:128: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h:129: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h:134: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘stpncpy’:
/usr/include/bits/string3.h:137: error: ‘__n’ undeclared (first use in this function)
/usr/include/bits/string3.h:138: error: too many arguments to function ‘__stpncpy_chk’
/usr/include/bits/string3.h:139: error: too many arguments to function ‘__stpncpy_alias’
/usr/include/bits/string3.h: At top level:
/usr/include/bits/string3.h:151: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/string3.h: In function ‘strncat’:
/usr/include/bits/string3.h:154: error: ‘__len’ undeclared (first use in this function)
In file included from scripts/basic/fixdep.c:112:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__ctype_get_mb_cur_max’
/usr/include/stdlib.h: In function ‘atof’:
/usr/include/stdlib.h:281: error: ‘NULL’ undeclared (first use in this function)
/usr/include/stdlib.h: In function ‘atoi’:
/usr/include/stdlib.h:286: error: ‘NULL’ undeclared (first use in this function)
/usr/include/stdlib.h: In function ‘atol’:
/usr/include/stdlib.h:291: error: ‘NULL’ undeclared (first use in this function)
/usr/include/stdlib.h: In function ‘atoll’:
/usr/include/stdlib.h:300: error: ‘NULL’ undeclared (first use in this function)
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:337: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:367: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:369: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:485: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/stdlib.h:497,
                 from scripts/basic/fixdep.c:112:
/usr/include/alloca.h:33: error: expected ‘)’ before ‘__size’
In file included from scripts/basic/fixdep.c:112:
/usr/include/stdlib.h:502: error: expected ‘)’ before ‘__size’
/usr/include/stdlib.h:507: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:507: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:751: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:751: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:752: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
/usr/include/stdlib.h:756: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:756: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:757: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:834: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:837: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:841: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:845: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:854: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:857: error: expected ‘)’ before ‘*’ token
/usr/include/stdlib.h:861: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/usr/include/stdlib.h:865: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mbstowcs’
/usr/include/stdlib.h:868: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wcstombs’
In file included from /usr/include/stdlib.h:949,
                 from scripts/basic/fixdep.c:112:
/usr/include/bits/stdlib.h:26: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:30: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h: In function ‘realpath’:
/usr/include/bits/stdlib.h:46: error: too many arguments to function ‘__realpath_chk’
/usr/include/bits/stdlib.h: At top level:
/usr/include/bits/stdlib.h:53: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:54: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:55: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:58: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:58: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:65: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h: In function ‘ptsname_r’:
/usr/include/bits/stdlib.h:69: error: ‘__buflen’ undeclared (first use in this function)
/usr/include/bits/stdlib.h:70: error: too many arguments to function ‘__ptsname_r_chk’
/usr/include/bits/stdlib.h:72: error: too many arguments to function ‘__ptsname_r_chk_warn’
/usr/include/bits/stdlib.h:74: error: too many arguments to function ‘__ptsname_r_alias’
/usr/include/bits/stdlib.h: At top level:
/usr/include/bits/stdlib.h:78: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/usr/include/bits/stdlib.h:78: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdlib.h:80: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/usr/include/bits/stdlib.h:84: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
/usr/include/bits/stdlib.h: In function ‘wctomb’:
/usr/include/bits/stdlib.h:94: error: ‘__wchar’ undeclared (first use in this function)
/usr/include/bits/stdlib.h:94: error: too many arguments to function ‘__wctomb_chk’
/usr/include/bits/stdlib.h:95: error: too many arguments to function ‘__wctomb_alias’
/usr/include/bits/stdlib.h: At top level:
/usr/include/bits/stdlib.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_chk’
/usr/include/bits/stdlib.h:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_alias’
/usr/include/bits/stdlib.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__mbstowcs_chk_warn’
/usr/include/bits/stdlib.h:114: error: expected ‘,’ or ‘;’ before ‘mbstowcs’
/usr/include/bits/stdlib.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_chk’
/usr/include/bits/stdlib.h:134: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_alias’
/usr/include/bits/stdlib.h:138: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wcstombs_chk_warn’
/usr/include/bits/stdlib.h:145: error: expected ‘,’ or ‘;’ before ‘wcstombs’
In file included from /usr/include/stdio.h:75,
                 from scripts/basic/fixdep.c:113:
/usr/include/libio.h:53:21: error: stdarg.h: Нет такого файла или каталога
In file included from /usr/include/stdio.h:75,
                 from scripts/basic/fixdep.c:113:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before ‘size_t’
/usr/include/libio.h:364: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/libio.h:373: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/libio.h:491: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/libio.h:493: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/libio.h:495: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’
In file included from scripts/basic/fixdep.c:113:
/usr/include/stdio.h:296: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:302: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:314: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:321: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:349: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:354: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:357: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:363: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:365: error: format string argument not a string type
/usr/include/stdio.h:367: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:368: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:369: error: format string argument not a string type
/usr/include/stdio.h:395: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:454: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:461: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:466: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:476: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:481: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:484: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/stdio.h:639: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:642: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:652: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:682: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’
/usr/include/stdio.h:688: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’
/usr/include/stdio.h:710: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’
/usr/include/stdio.h:712: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’
In file included from /usr/include/stdio.h:910,
                 from scripts/basic/fixdep.c:113:
/usr/include/bits/stdio2.h:24: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:26: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:28: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h:44: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h: In function ‘vsprintf’:
/usr/include/bits/stdio2.h:48: error: ‘__ap’ undeclared (first use in this function)
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:53: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:54: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:56: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:57: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:58: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h:62: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h: In function ‘snprintf’:
/usr/include/bits/stdio2.h:65: error: ‘__n’ undeclared (first use in this function)
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:75: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:75: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h: In function ‘vsnprintf’:
/usr/include/bits/stdio2.h:78: error: ‘__n’ undeclared (first use in this function)
/usr/include/bits/stdio2.h:79: error: ‘__ap’ undeclared (first use in this function)
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:90: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h:92: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h:115: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h: In function ‘vprintf’:
/usr/include/bits/stdio2.h:118: error: ‘__ap’ undeclared (first use in this function)
/usr/include/bits/stdio2.h:118: error: too many arguments to function ‘__vfprintf_chk’
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:126: error: expected declaration specifiers or ‘...’ before ‘__gnuc_va_list’
/usr/include/bits/stdio2.h: In function ‘vfprintf’:
/usr/include/bits/stdio2.h:128: error: ‘__ap’ undeclared (first use in this function)
/usr/include/bits/stdio2.h:128: error: too many arguments to function ‘__vfprintf_chk’
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:220: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h: In function ‘gets’:
/usr/include/bits/stdio2.h:229: error: too many arguments to function ‘__gets_chk’
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:233: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h:238: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/stdio2.h: In function ‘fgets’:
/usr/include/bits/stdio2.h:250: error: too many arguments to function ‘__fgets_chk’
/usr/include/bits/stdio2.h:252: error: expected ‘)’ before ‘__n’
/usr/include/bits/stdio2.h:253: error: too many arguments to function ‘__fgets_chk_warn’
/usr/include/bits/stdio2.h: At top level:
/usr/include/bits/stdio2.h:258: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_chk’
/usr/include/bits/stdio2.h:261: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_alias’
/usr/include/bits/stdio2.h:265: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_chk_warn’
/usr/include/bits/stdio2.h:274: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’
/usr/include/bits/stdio2.h:319: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_unlocked_chk’
/usr/include/bits/stdio2.h:322: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_unlocked_alias’
/usr/include/bits/stdio2.h:326: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_unlocked_chk_warn’
/usr/include/bits/stdio2.h:335: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’
In file included from scripts/basic/fixdep.c:114:
/usr/include/limits.h:125:26: error: no include path in which to search for limits.h
In file included from /usr/include/sys/uio.h:29,
                 from /usr/include/sys/socket.h:28,
                 from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/bits/uio.h:47: error: expected specifier-qualifier-list before ‘size_t’
In file included from /usr/include/sys/socket.h:40,
                 from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/bits/socket.h:251: error: expected specifier-qualifier-list before ‘size_t’
/usr/include/bits/socket.h:265: error: expected specifier-qualifier-list before ‘size_t’
/usr/include/bits/socket.h: In function ‘__cmsg_nxthdr’:
/usr/include/bits/socket.h:302: error: expected ‘)’ before ‘__cmsg’
/usr/include/bits/socket.h:307: error: ‘struct cmsghdr’ has no member named ‘cmsg_len’
/usr/include/bits/socket.h:307: error: expected ‘)’ before ‘~’ token
/usr/include/bits/socket.h:308: error: ‘struct msghdr’ has no member named ‘msg_control’
/usr/include/bits/socket.h:309: error: ‘struct msghdr’ has no member named ‘msg_controllen’
/usr/include/bits/socket.h:310: error: ‘struct cmsghdr’ has no member named ‘cmsg_len’
/usr/include/bits/socket.h:310: error: expected ‘)’ before ‘~’ token
/usr/include/bits/socket.h:311: error: ‘struct msghdr’ has no member named ‘msg_control’
/usr/include/bits/socket.h:311: error: ‘struct msghdr’ has no member named ‘msg_controllen’
In file included from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/sys/socket.h: At top level:
/usr/include/sys/socket.h:141: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/socket.h:148: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/socket.h:155: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/sys/socket.h:166: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/sys/socket.h:251,
                 from /usr/include/netinet/in.h:25,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/bits/socket2.h:24: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:24: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:26: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:28: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:28: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:35: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h: In function ‘recv’:
/usr/include/bits/socket2.h:39: error: ‘__n’ undeclared (first use in this function)
/usr/include/bits/socket2.h:40: error: too many arguments to function ‘__recv_chk’
/usr/include/bits/socket2.h:43: error: too many arguments to function ‘__recv_chk_warn’
/usr/include/bits/socket2.h:45: error: too many arguments to function ‘__recv_alias’
/usr/include/bits/socket2.h: At top level:
/usr/include/bits/socket2.h:48: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:49: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:52: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:56: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:56: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h:65: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/bits/socket2.h: In function ‘recvfrom’:
/usr/include/bits/socket2.h:70: error: ‘__n’ undeclared (first use in this function)
/usr/include/bits/socket2.h:72: error: too many arguments to function ‘__recvfrom_chk’
/usr/include/bits/socket2.h:75: error: too many arguments to function ‘__recvfrom_chk_warn’
/usr/include/bits/socket2.h:77: error: too many arguments to function ‘__recvfrom_alias’
In file included from scripts/basic/fixdep.c:116:
/usr/include/arpa/inet.h: At top level:
/usr/include/arpa/inet.h:78: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/arpa/inet.h:84: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/arpa/inet.h:90: error: expected declaration specifiers or ‘...’ before ‘size_t’
scripts/basic/fixdep.c: In function ‘grow_config’:
scripts/basic/fixdep.c:154: error: too many arguments to function ‘realloc’
scripts/basic/fixdep.c: In function ‘is_defined_config’:
scripts/basic/fixdep.c:172: error: too many arguments to function ‘memcmp’
scripts/basic/fixdep.c: In function ‘define_config’:
scripts/basic/fixdep.c:185: error: too many arguments to function ‘memcpy’
scripts/basic/fixdep.c: In function ‘use_config’:
scripts/basic/fixdep.c:212: error: too many arguments to function ‘memcpy’
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:223: error: expected declaration specifiers or ‘...’ before ‘size_t’
scripts/basic/fixdep.c: In function ‘parse_config_file’:
scripts/basic/fixdep.c:225: error: ‘len’ undeclared (first use in this function)
scripts/basic/fixdep.c:239: error: too many arguments to function ‘memcmp’
scripts/basic/fixdep.c:248: error: too many arguments to function ‘memcmp’
scripts/basic/fixdep.c: In function ‘strrcmp’:
scripts/basic/fixdep.c:259: warning: implicit declaration of function ‘strlen’
scripts/basic/fixdep.c:259: warning: incompatible implicit declaration of built-in function ‘strlen’
scripts/basic/fixdep.c:265: error: too many arguments to function ‘memcmp’
scripts/basic/fixdep.c: In function ‘do_config_file’:
scripts/basic/fixdep.c:285: error: too many arguments to function ‘mmap’
scripts/basic/fixdep.c:292: error: too many arguments to function ‘parse_config_file’
scripts/basic/fixdep.c:294: error: too many arguments to function ‘munmap’
scripts/basic/fixdep.c: At top level:
scripts/basic/fixdep.c:299: error: expected declaration specifiers or ‘...’ before ‘size_t’
scripts/basic/fixdep.c: In function ‘parse_dep_file’:
scripts/basic/fixdep.c:302: error: ‘len’ undeclared (first use in this function)
scripts/basic/fixdep.c:311: error: too many arguments to function ‘memcpy’
scripts/basic/fixdep.c:326: error: too many arguments to function ‘memcpy’
scripts/basic/fixdep.c: In function ‘print_deps’:
scripts/basic/fixdep.c:357: error: too many arguments to function ‘mmap’
scripts/basic/fixdep.c:364: error: too many arguments to function ‘parse_dep_file’
scripts/basic/fixdep.c:366: error: too many arguments to function ‘munmap’
make[1]: *** [scripts/basic/fixdep] Ошибка 1
make: *** [scripts_basic] Ошибка 2

 Не очень давно, сразу после выхода deadbeef 0.5.2, пытался собрать его и не вышло. Но драйвер видео с тех пор обновлялся и работал.

  P.S. Очень не хочется идти widows way

В этом вся проблема, должно быть так:

phantom livedvd # chroot runtu /bin/bash
root@phantom:/usr/src/linux# make oldconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:105: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:307: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86/Kconfig
#
# configuration written to .config
#
root@phantom:/usr/src/linux#

Требуется удалить пакет linux-headers-2.6.32-40-generic
Удалить всё в /usr/src/
Установить  linux-headers-2.6.32-40-generic

В  /usr/src/ - должны появиться 2 каталога ( linux-headers-2.6.32-40 и  linux-headers-2.6.32-40-generic)
 linux-headers-2.6.32-40-generic - содержит множество символьных ссылок на  linux-headers-2.6.32-40
Надо проверить - чтобы ссылки были не битые.

Потом:
sudo su
ln -sf /usr/src/linux-headers-2.6.32-40-generic /usr/src/linux
cd /usr/src/linux
make oldconfig



У меня была как-то такая ситуация - когда неправильно установились linux-headers
« Последнее редактирование: Апрель 20, 2012, 23:28:19 от sunset »

Оффлайн baks

  • Новичок
  • **
  • Автор темы
  • Сообщений: 75
Re: Не могу установить драйвер nvidia
« Ответ #11 : Апрель 21, 2012, 03:17:09 »
sunset переустановил хедеры - результат тот-же. Успокаивает то, что проблема не в дровах nvidia, а в ядре и окружении. Всё равно собирался обновляться до 12.04 установкой с нуля.
 
  Всем спасибо.

Оффлайн sunset

  • Постоялец
  • ***
  • Сообщений: 106
Re: Не могу установить драйвер nvidia
« Ответ #12 : Апрель 21, 2012, 09:27:00 »
sunset переустановил хедеры - результат тот-же. Успокаивает то, что проблема не в дровах nvidia, а в ядре и окружении. Всё равно собирался обновляться до 12.04 установкой с нуля.
  
  Всем спасибо.

Вылетело из головы - с этого надо было начинать.

Цитировать (выделенное)
/usr/include/sys/types.h:147:20: error: stddef.h: Нет такого файла или каталога
Цитировать (выделенное)
/usr/include/libio.h:53:21: error: stdarg.h: Нет такого файла или каталога

sudo apt-get update
sudo apt-get install --reinstall libc6-dev linux-libc-dev
sudo apt-get install --reinstall libstdc++6-4.4-dev gcc-4.4

http://packages.ubuntu.com/maverick/i386/libc6-dev/filelist
http://packages.ubuntu.com/maverick/i386/linux-libc-dev/filelist

Думаю и deadbeef - соберётся.
« Последнее редактирование: Апрель 21, 2012, 10:44:04 от sunset »

Оффлайн baks

  • Новичок
  • **
  • Автор темы
  • Сообщений: 75
Re: Не могу установить драйвер nvidia
« Ответ #13 : Апрель 21, 2012, 13:07:04 »
sunset следует ли мне установить пакеты именно для maverick и i386  при том, что у меня lucid x64 (шутю)

  Без изменений

Оффлайн sunset

  • Постоялец
  • ***
  • Сообщений: 106
Re: Не могу установить драйвер nvidia
« Ответ #14 : Апрель 22, 2012, 15:13:49 »
sunset следует ли мне установить пакеты именно для maverick и i386  при том, что у меня lucid x64 (шутю)

  Без изменений

можно попробовать (тож шучу)

/usr/lib/gcc/x86_64-linux-gnu/4.4/include/stdarg.h
/usr/lib/gcc/x86_64-linux-gnu/4.4/include/stddef.h
http://packages.ubuntu.com/lucid/amd64/gcc-4.4/filelist

Суть в том - что не прописаны пути поиска для этих файлов

https://help.ubuntu.com/community/EnvironmentVariables#Compilation_and_software_development_related_variables

http://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html

Можно добавить путь в переменную используемую для поиска .h (CPATH)

export CPATH=$CPATH:/usr/lib/gcc/x86_64-linux-gnu/4.4/include
(Можно добавить  в .bash_profile)
« Последнее редактирование: Апрель 22, 2012, 15:21:57 от sunset »