<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Помогите собрать драйвер под MIPS]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=25302&amp;type=atom" />
	<updated>2012-12-03T00:40:53Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=25302</id>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=312258#p312258" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Nikel2007 пишет:</cite><blockquote><p>не могу собрать wpa_supplicant, не могли бы вы мне помочь ?<br />Собрать пытаюсь тот wpa_supplicant, который идет вместе с драйверами для rtl8191SU.</p></blockquote></div><p>забыл ответить сразу...<br />a) Don&#039;t ask to ask<br />b) в отдельный тред...</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-12-03T00:40:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=312258#p312258</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=312050#p312050" />
			<content type="html"><![CDATA[<p>не могу собрать wpa_supplicant, не могли бы вы мне помочь <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" />?<br />Собрать пытаюсь тот wpa_supplicant, который идет вместе с драйверами для rtl8191SU.</p>]]></content>
			<author>
				<name><![CDATA[Nikel2007]]></name>
				<uri>https://linuxforum.ru/profile.php?id=26763</uri>
			</author>
			<updated>2012-12-01T15:00:11Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=312050#p312050</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=312012#p312012" />
			<content type="html"><![CDATA[<p>Кстати, да, если у Вас не получится с текущей версией драйвера от Realtek - попробуйте вот эти: <a href="http://rghost.ru/41929437">http://rghost.ru/41929437</a></p>]]></content>
			<author>
				<name><![CDATA[Nikel2007]]></name>
				<uri>https://linuxforum.ru/profile.php?id=26763</uri>
			</author>
			<updated>2012-12-01T11:35:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=312012#p312012</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=311529#p311529" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>а что не так было, неизвестно? у меня гипотеза была, что надо ядро собрать было....</p></blockquote></div><p>Как мне кажется, драйвер надо было собирать имеено на CentOS 5/6, а также в конце, когда драйвер уже собрался надо было также выполнить еще одну команду:<br /></p><div class="codebox"><pre><code>mips-linux-gnu-strip --strip-unneeded 8712u.ko</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Nikel2007]]></name>
				<uri>https://linuxforum.ru/profile.php?id=26763</uri>
			</author>
			<updated>2012-11-28T19:09:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=311529#p311529</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=311455#p311455" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Nikel2007 пишет:</cite><blockquote><p>Ура, ура, ура.... товарищи!!!</p></blockquote></div><p>а что не так было, неизвестно? у меня гипотеза была, что надо ядро собрать было....</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-11-28T12:31:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=311455#p311455</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=311389#p311389" />
			<content type="html"><![CDATA[<p><strong>Finita la komedia</strong>!!! Ура, ура, ура.... товарищи!!! Дррайвер скомпилен и установлен в телек успешно!!! СПАСИБО <strong>Fat-Zer</strong>.</p><p>И да, хост система - CentOS 5.0 (только в ней получилось скомпилить драйвер без проблем).</p><p>Если вдруг кому понадобится - <a href="http://rghost.ru/41857889">http://rghost.ru/41857889</a>, телек Samsung LE32C530 (модель меняем на C550).</p>]]></content>
			<author>
				<name><![CDATA[Nikel2007]]></name>
				<uri>https://linuxforum.ru/profile.php?id=26763</uri>
			</author>
			<updated>2012-11-27T22:57:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=311389#p311389</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=311382#p311382" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>в dmesg подробностей не насыпало?</p></blockquote></div><p>Да есть немного (гуглю как раз):<br /></p><div class="codebox"><pre><code>8712u: no symbol version for struct_module</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Nikel2007]]></name>
				<uri>https://linuxforum.ru/profile.php?id=26763</uri>
			</author>
			<updated>2012-11-27T21:43:03Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=311382#p311382</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=311381#p311381" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Nikel2007 пишет:</cite><blockquote><p>insmod: cannot insert &#039;/dtv/usb/sda1/8712u.ko&#039;: Invalid module format (-1): Exec format error</p></blockquote></div><p>в dmesg подробностей не насыпало?</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-11-27T21:37:10Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=311381#p311381</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=311375#p311375" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>наверняка где-то ошибся...</p></blockquote></div><p>Попробовал скомпилить драйвер для платформы <strong>CONFIG_PLATFORM_MSTAR389</strong>, и таки да, он скомпилился без ошибок, правда установиться в телевизор так и не захотел. Та же ошибка что и свашим вариантом.<br /></p><div class="codebox"><pre><code>insmod /dtv/usb/sda1/8712u.ko
insmod: cannot insert &#039;/dtv/usb/sda1/8712u.ko&#039;: Invalid module format (-1): Exec format error</code></pre></div><p>Замечу также, что собрать драйвер удалось на CentOS 5.0</p>]]></content>
			<author>
				<name><![CDATA[Nikel2007]]></name>
				<uri>https://linuxforum.ru/profile.php?id=26763</uri>
			</author>
			<updated>2012-11-27T21:13:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=311375#p311375</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=311371#p311371" />
			<content type="html"><![CDATA[<p>Спасибо <strong>Fat-Zer</strong>, буду пробовать по вашей инструкции.</p>]]></content>
			<author>
				<name><![CDATA[Nikel2007]]></name>
				<uri>https://linuxforum.ru/profile.php?id=26763</uri>
			</author>
			<updated>2012-11-27T20:33:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=311371#p311371</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=311363#p311363" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Nikel2007 пишет:</cite><blockquote><p>CONFIG_PLATFORM_MIPS_RMI&nbsp; &nbsp; &nbsp; &nbsp; =&nbsp; &nbsp; &nbsp; &nbsp;y</p></blockquote></div><p>уверен, что архитектура та? я собирал с CONFIG_PLATFORM_MSTAR389 = y&nbsp; т.к. там по дефолту префикс был задан нужный и конфиг ядра под неё.<br />если уверен, то по идее ядро нужно переконфигурировать... ну и конфиг ядра в студию...<br />тулчейн скорей всего тоже другой нужен [в этом не уверен]...</p><div class="quotebox"><cite>aliaksei1818 пишет:</cite><blockquote><p>Я не знаю как собрал уважаемый Fat-Zer, но у меня c параметром V=1 не проходит тест, хотя файлы явно существуют:</p></blockquote></div><p>это не ошибка... он только саму команду вывел...</p><div class="quotebox"><cite>Nikel2007 пишет:</cite><blockquote><p>Захожу в /home/nikel/tv/kernel/vdlinux-mstar-kernel/2.6.28.9</p></blockquote></div><p>а тут инклюду у какого-то алексея ищет:<br /></p><div class="quotebox"><cite>aliaksei1818 пишет:</cite><blockquote><p>-I/home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/mach-malta -I/home/aliaksei/tv/kernel/2.6.28.9/arch/mips/mips-boards/titania3 -I/home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/mach-generic</p></blockquote></div><p>лучше удали всё и распакуй из архивов заново....</p><div class="quotebox"><cite>Nikel2007 пишет:</cite><blockquote><p>KVER:= 2.6.28.10</p></blockquote></div><p>я KVER сменил на 2.6.28.9, но думаю. что это не существенно.</p><p>я так Makefile отредактировал:<br /></p><div class="codebox"><pre><code>$ diff -u {rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/,rtl871-driver/}Makefile
--- rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/Makefile       2012-04-05 06:42:09.000000000 +0400
+++ rtl871-driver/Makefile      2012-11-27 23:32:51.182403639 +0400
@@ -11,7 +11,7 @@

 CONFIG_MP_INCLUDED              =       y

-CONFIG_PLATFORM_I386_PC         =       y
+CONFIG_PLATFORM_I386_PC         =       n
 CONFIG_PLATFORM_ANDROID_X86     =       n
 CONFIG_PLATFORM_ARM_S3C         =       n
 CONFIG_PLATFORM_ARM_PXA         =       n
@@ -19,7 +19,7 @@
 CONFIG_PLATFORM_RTK_DMP         =       n
 CONFIG_PLATFORM_MIPS_PLM        =       n
 CONFIG_PLATFORM_RTD2880B        =       n
-CONFIG_PLATFORM_MSTAR389        =       n
+CONFIG_PLATFORM_MSTAR389        =       y
 CONFIG_PLATFORM_ARM_TCC8900     =       n

 CONFIG_MLME_EXT                 =       n
@@ -149,9 +149,9 @@
 ifeq ($(CONFIG_PLATFORM_MSTAR389), y)
 EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR389
 ARCH:=mips
-CROSS_COMPILE:= mips-linux-gnu-
-KVER:= 2.6.28.10
-KSRC:= /home/mstar/mstar_linux/2.6.28.9/
+CROSS_COMPILE:= /tmp/VDLinux-mips34kc-toolchain-lite-20100223/bin/mips-linux-gnu-
+KVER:= 2.6.28.9
+KSRC:= /tmp/vdlinux-mstar-kernel/$(KVER)/
 endif

 ifeq ($(CONFIG_PLATFORM_ARM_TCC8900), y)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-11-27T19:24:56Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=311363#p311363</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=311360#p311360" />
			<content type="html"><![CDATA[<p>Я не знаю как собрал уважаемый <strong>Fat-Zer,</strong> но у меня c параметром V=1 не проходит тест, хотя файлы явно существуют:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code>make ARCH=mips CROSS_COMPILE=mips-linux-gnu- -C /home/aliaksei/tv/kernel/2.6.28.9 M=/home/aliaksei/tv/drv  modules
make[1]: Вход в каталог `/home/aliaksei/tv/kernel/2.6.28.9&#039;
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (            \
echo;                                                           \
echo &quot;  ERROR: Kernel configuration is invalid.&quot;;               \
echo &quot;         include/linux/autoconf.h or include/config/auto.conf are missing.&quot;;      \
echo &quot;         Run &#039;make oldconfig &amp;&amp; make prepare&#039; on kernel src to fix it.&quot;;  \
echo;                                                           \
/bin/false)
mkdir -p /home/aliaksei/tv/drv/.tmp_versions ; rm -f /home/aliaksei/tv/drv/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/aliaksei/tv/drv
  ~/tv/build/toolchain/bin/mips-linux-gnu-gcc -mel -mglibc -Wp,-MD,/home/aliaksei/tv/drv/cmd/.rtl871x_cmd.o.d  -nostdinc -isystem /home/aliaksei/tv/build/toolchain/bin/../lib/gcc/mips-linux-gnu/4.3.3/include -D__KERNEL__ -Iinclude  -I/home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -ffunction-sections -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -ffreestanding -EL -UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -DMIPSEL -D_MIPSEL -D__MIPSEL -D__MIPSEL__ -march=mips32r2 -Wa,-mips32r2 -Wa,--trap -I/home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/mach-malta -I/home/aliaksei/tv/kernel/2.6.28.9/arch/mips/mips-boards/titania3 -I/home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/mach-generic -D&quot;VMLINUX_LOAD_ADDRESS=0xffffffff80400000&quot; -fno-stack-protector -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -O1 -Wno-unused-variable -Wno-unused-value -Wno-unused-label -Wno-unused-parameter -Wno-uninitialized -I/home/aliaksei/tv/drv/include -Wno-unused -Wno-unused-function -DCONFIG_LITTLE_ENDIAN -DMODULE -mlong-calls -D&quot;KBUILD_STR(s)=#s&quot; -D&quot;KBUILD_BASENAME=KBUILD_STR(rtl871x_cmd)&quot;  -D&quot;KBUILD_MODNAME=KBUILD_STR(8712u)&quot;  -c -o /home/aliaksei/tv/drv/cmd/.tmp_rtl871x_cmd.o /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c
In file included from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from include/linux/percpu.h:5,
                 from include/linux/rcupdate.h:39,
                 from include/linux/sem.h:81,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:49,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory
include/linux/mmzone.h:256:5: warning: &quot;MAX_NR_ZONES&quot; is not defined
In file included from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from include/linux/percpu.h:5,
                 from include/linux/rcupdate.h:39,
                 from include/linux/sem.h:81,                                                                                                                                       
                 from /home/aliaksei/tv/drv/include/osdep_service.h:49,                                                                                                             
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:                                                                                                                   
include/linux/mmzone.h:277: error: &#039;MAX_NR_ZONES&#039; undeclared here (not in a function)                                                                                               
In file included from /home/aliaksei/tv/drv/include/byteorder/little_endian.h:30,                                                                                                   
                 from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,                                                                                                         
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,                                                                                                            
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:                                                                                                                   
/home/aliaksei/tv/drv/include/byteorder/swab.h:24: error: redefinition of typedef &#039;__u16&#039;                                                                                           
include/asm-generic/int-ll64.h:21: error: previous declaration of &#039;__u16&#039; was here                                                                                                  
/home/aliaksei/tv/drv/include/byteorder/swab.h:28: error: redefinition of typedef &#039;__u32&#039;                                                                                           
include/asm-generic/int-ll64.h:24: error: previous declaration of &#039;__u32&#039; was here                                                                                                  
/home/aliaksei/tv/drv/include/byteorder/swab.h:32: error: redefinition of typedef &#039;__u8&#039;                                                                                            
include/asm-generic/int-ll64.h:18: error: previous declaration of &#039;__u8&#039; was here                                                                                                   
/home/aliaksei/tv/drv/include/byteorder/swab.h:36: error: redefinition of typedef &#039;__u64&#039;                                                                                           
include/asm-generic/int-ll64.h:28: error: previous declaration of &#039;__u64&#039; was here                                                                                                  
/home/aliaksei/tv/drv/include/byteorder/swab.h:40: error: redefinition of &#039;___swab16&#039;                                                                                               
include/linux/swab.h:47: error: previous definition of &#039;___swab16&#039; was here                                                                                                         
/home/aliaksei/tv/drv/include/byteorder/swab.h:50: error: redefinition of &#039;___swab32&#039;                                                                                               
include/linux/swab.h:56: error: previous definition of &#039;___swab32&#039; was here                                                                                                         
/home/aliaksei/tv/drv/include/byteorder/swab.h:60: error: redefinition of &#039;___swab64&#039;                                                                                               
include/linux/swab.h:65: error: previous definition of &#039;___swab64&#039; was here                                                                                                         
In file included from /home/aliaksei/tv/drv/include/byteorder/little_endian.h:30,                                                                                                   
                 from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,                                                                                                         
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,                                                                                                            
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/swab.h:103:1: warning: &quot;__swab16&quot; redefined
In file included from include/linux/byteorder.h:5,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/swab.h:99:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/byteorder/little_endian.h:30,
                 from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/swab.h:104:1: warning: &quot;__swab32&quot; redefined
In file included from include/linux/byteorder.h:5,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/swab.h:108:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/byteorder/little_endian.h:30,
                 from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/swab.h:105:1: warning: &quot;__swab64&quot; redefined
In file included from include/linux/byteorder.h:5,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/swab.h:117:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:32:1: warning: &quot;__constant_htonl&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:69:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:33:1: warning: &quot;__constant_ntohl&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:70:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:34:1: warning: &quot;__constant_htons&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:71:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:35:1: warning: &quot;__constant_ntohs&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:72:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:36:1: warning: &quot;__constant_cpu_to_le64&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:83:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:37:1: warning: &quot;__constant_le64_to_cpu&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:76:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:38:1: warning: &quot;__constant_cpu_to_le32&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:82:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:39:1: warning: &quot;__constant_le32_to_cpu&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:75:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:40:1: warning: &quot;__constant_cpu_to_le16&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:81:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:41:1: warning: &quot;__constant_le16_to_cpu&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:74:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:42:1: warning: &quot;__constant_cpu_to_be64&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:86:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:43:1: warning: &quot;__constant_be64_to_cpu&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:79:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:44:1: warning: &quot;__constant_cpu_to_be32&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:85:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:45:1: warning: &quot;__constant_be32_to_cpu&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:78:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:46:1: warning: &quot;__constant_cpu_to_be16&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:84:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:47:1: warning: &quot;__constant_be16_to_cpu&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:77:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:48:1: warning: &quot;__cpu_to_le64&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:39:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:49:1: warning: &quot;__le64_to_cpu&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:36:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:50:1: warning: &quot;__cpu_to_le32&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:38:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:51:1: warning: &quot;__le32_to_cpu&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:35:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:52:1: warning: &quot;__cpu_to_le16&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:37:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:53:1: warning: &quot;__le16_to_cpu&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:34:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:54:1: warning: &quot;__cpu_to_be64&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:46:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:55:1: warning: &quot;__be64_to_cpu&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:43:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:56:1: warning: &quot;__cpu_to_be32&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:45:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:57:1: warning: &quot;__be32_to_cpu&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:42:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:58:1: warning: &quot;__cpu_to_be16&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:44:1: warning: this is the location of the previous definition
In file included from /home/aliaksei/tv/drv/include/rtl871x_byteorder.h:31,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:316,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
/home/aliaksei/tv/drv/include/byteorder/little_endian.h:59:1: warning: &quot;__be16_to_cpu&quot; redefined
In file included from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/byteorder.h:65,
                 from /home/aliaksei/tv/kernel/2.6.28.9/arch/mips/include/asm/bitops.h:21,
                 from include/linux/bitops.h:17,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from /home/aliaksei/tv/drv/include/osdep_service.h:39,
                 from /home/aliaksei/tv/drv/cmd/rtl871x_cmd.c:23:
include/linux/byteorder.h:41:1: warning: this is the location of the previous definition
make[2]: *** [/home/aliaksei/tv/drv/cmd/rtl871x_cmd.o] Ошибка 1
make[1]: *** [_module_/home/aliaksei/tv/drv] Ошибка 2
make[1]: Выход из каталога `/home/aliaksei/tv/kernel/2.6.28.9&#039;
make: *** [modules] Ошибка 2</code></pre></div></div></div>]]></content>
			<author>
				<name><![CDATA[aliaksei1818]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15716</uri>
			</author>
			<updated>2012-11-27T19:02:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=311360#p311360</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=311347#p311347" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>не вывод его, а сам Makefile в студию... и пути по которым разложил всё. и на всякий случай ls -l в них. <br />наверняка где-то ошибся...</p></blockquote></div><p><strong>Makefile:</strong><br /></p><div class="codebox"><pre><code>EXTRA_CFLAGS += -O1 -Wno-unused-variable -Wno-unused-value -Wno-unused-label -Wno-unused-parameter -Wno-uninitialized
EXTRA_CFLAGS += -I$(src)/include  -Wno-unused -Wno-unused-function

CONFIG_RTL8711                  =       n
CONFIG_RTL8712                  =       y


CONFIG_USB_HCI                  =       y
CONFIG_SDIO_HCI                 =       n


CONFIG_MP_INCLUDED              =       y

CONFIG_PLATFORM_I386_PC         =       n
CONFIG_PLATFORM_ANDROID_X86     =       n
CONFIG_PLATFORM_ARM_S3C         =       n
CONFIG_PLATFORM_ARM_PXA         =       n
CONFIG_PLATFORM_MIPS_RMI        =       y
CONFIG_PLATFORM_RTK_DMP         =       n
CONFIG_PLATFORM_MIPS_PLM        =       n
CONFIG_PLATFORM_RTD2880B        =       n
CONFIG_PLATFORM_MSTAR389        =       n
CONFIG_PLATFORM_ARM_TCC8900     =       n

CONFIG_MLME_EXT                 =       n
CONFIG_DRVEXT_MODULE    = n


ifeq ($(CONFIG_RTL8711), y)
RTL871X = rtl8711
MODULE_NAME = 8711
endif

ifeq ($(CONFIG_RTL8712), y)

RTL871X = rtl8712

ifeq ($(CONFIG_SDIO_HCI), y)
MODULE_NAME = 8712s
endif
ifeq ($(CONFIG_USB_HCI), y)
MODULE_NAME = 8712u
endif

endif

ifeq ($(CONFIG_SDIO_HCI), y)

 
_OS_INTFS_FILES := os_intf/osdep_service.o \
                    os_intf/linux/os_intfs.o \
                    os_intf/osdep_sdio_intf.o \
                    os_intf/linux/sdio_intf.o \

_HAL_INTFS_FILES := hal/$(RTL871X)/hal_init.o \
            hal/$(RTL871X)/sdio_halinit.o \
            hal/$(RTL871X)/sdio_ops.o \
            hal/$(RTL871X)/sdio_ops_linux.o        

endif


ifeq ($(CONFIG_USB_HCI), y)
 

_OS_INTFS_FILES := os_intf/osdep_service.o \
                    os_intf/linux/os_intfs.o \
                    os_intf/linux/usb_intf.o \
                    os_dep/linux/ioctl_cfg80211.o \
                    os_dep/linux/rtw_android.o \

_HAL_INTFS_FILES := hal/$(RTL871X)/hal_init.o \
                    hal/$(RTL871X)/usb_ops.o \
                    hal/$(RTL871X)/usb_ops_linux.o \
                    hal/$(RTL871X)/usb_halinit.o \
        
endif



ifeq ($(CONFIG_PLATFORM_I386_PC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?=
KVER  := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
INSTALL_PREFIX :=
endif

ifeq ($(CONFIG_PLATFORM_ANDROID_X86), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
ARCH := $(SUBARCH)
CROSS_COMPILE := i686-unknown-linux-gnu-
KSRC := /usr/src/froyo-x86/out/target/product/eeepc/obj/kernel
MODULE_NAME = wlan
endif

ifeq ($(CONFIG_PLATFORM_ARM_S3C), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm
CROSS_COMPILE := arm-linux-
KVER  := 2.6.24.7_$(ARCH)
KSRC := /usr/src/kernels/linux-$(KVER)
endif

ifeq ($(CONFIG_PLATFORM_RTD2880B), y)
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN -DCONFIG_PLATFORM_RTD2880B
ARCH:=
CROSS_COMPILE:=
KVER:=
KSRC:=
endif

ifeq ($(CONFIG_PLATFORM_MT53XX), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MT53XX
ARCH:= arm
CROSS_COMPILE:= arm11_mtk_le-
KVER:= 2.6.27
KSRC:= /proj/mtk00802/BD_Compare/BDP/Dev/BDP_V301/BDP_Linux/linux-2.6.27
endif

ifeq ($(CONFIG_PLATFORM_MIPS_RMI), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH:=mips
CROSS_COMPILE:=mips-linux-gnu-
KVER:= 2.6.28.10
KSRC:= /home/nikel/tv/kernel/vdlinux-mstar-kernel/2.6.28.9
endif

ifeq ($(CONFIG_PLATFORM_RTK_DMP), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DRTK_DMP_PLATFORM
ARCH:=mips
CROSS_COMPILE:=mipsel-linux-
KVER:= 
KSRC ?= /root/Desktop/SVN/linux-2.6.12
endif

ifeq ($(CONFIG_PLATFORM_MIPS_PLM), y)
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
ARCH:=mips
CROSS_COMPILE:=mipsisa32r2-uclibc-
KVER:= 
KSRC:= /root/work/kernel_realtek
endif

ifeq ($(CONFIG_PLATFORM_MSTAR389), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR389
ARCH:=mips
CROSS_COMPILE:= mips-linux-gnu-
KVER:= 2.6.28.10
KSRC:= /home/mstar/mstar_linux/2.6.28.9/
endif

ifeq ($(CONFIG_PLATFORM_ARM_TCC8900), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN #-DCONFIG_MINIMAL_MEMORY_USAGE
ARCH ?= arm
CROSS_COMPILE ?= /media/DATA-1/telechips/SDK_2302_20110425/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
KSRC ?=/media/DATA-1/telechips/SDK_2302_20110425/kernel
MODULE_NAME := wlan
endif

ifneq ($(KERNELRELEASE),)


$(MODULE_NAME)-y += cmd/rtl871x_cmd.o cmd/$(RTL871X)_cmd.o

$(MODULE_NAME)-y += crypto/rtl871x_security.o 
$(MODULE_NAME)-y += debug/rtl871x_debug.o 

$(MODULE_NAME)-y += eeprom/rtl871x_eeprom.o efuse/rtl8712_efuse.o

$(MODULE_NAME)-y += $(_HAL_INTFS_FILES)

$(MODULE_NAME)-y += io/rtl871x_io.o \
            io/$(RTL871X)_io.o

$(MODULE_NAME)-y += ioctl/rtl871x_ioctl_query.o \
                      ioctl/rtl871x_ioctl_set.o \
                       ioctl/rtl871x_ioctl_linux.o \
                    ioctl/rtl871x_ioctl_rtl.o

$(MODULE_NAME)-y += led/rtl8712_led.o

$(MODULE_NAME)-y += mlme/ieee80211.o mlme/rtl871x_mlme.o                
$(MODULE_NAME)-$(CONFIG_MLME_EXT) += mlme/rtl871x_mlme_ext.o mlme/rtl871x_wlan_mlme.o mlme/rtl871x_wlan_sme.o

$(MODULE_NAME)-$(CONFIG_MP_INCLUDED) += mp/rtl871x_mp.o \
                    mp/rtl871x_mp_ioctl.o

$(MODULE_NAME)-y += os_dep/linux/io_linux.o \
                    os_dep/linux/xmit_linux.o \
                    os_dep/linux/cmd_linux.o \
                    os_dep/linux/mlme_linux.o \
                    os_dep/linux/recv_linux.o

$(MODULE_NAME)-y += $(_OS_INTFS_FILES)

$(MODULE_NAME)-y += pwrctrl/rtl871x_pwrctrl.o

$(MODULE_NAME)-y += recv/rtl871x_recv.o recv/$(RTL871X)_recv.o

$(MODULE_NAME)-y += rf/rtl871x_rf.o rf/$(RTL871X)_rf.o
$(MODULE_NAME)-y += sta_mgt/rtl871x_sta_mgt.o

$(MODULE_NAME)-y += xmit/rtl871x_xmit.o xmit/$(RTL871X)_xmit.o


obj-$(CONFIG_RTL8712U) := $(MODULE_NAME).o

else

export CONFIG_RTL8712U = m

all: modules

modules:
    $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd)  modules

install:
    install -p -m 644 $(MODULE_NAME).ko  $(MODDESTDIR)
    /sbin/depmod -a ${KVER}

uninstall:
    rm -f $(MODDESTDIR)/$(MODULE_NAME).ko
    /sbin/depmod -a ${KVER}
    
    
config_r:
    @echo &quot;make config&quot;
    /bin/bash script/Configure script/config.in
    
.PHONY: modules clean

clean:
    rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
    rm .tmp_versions -fr ; rm Module.symvers -fr
    cd cmd ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd crypto ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd debug ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd eeprom ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd hal/$(RTL871X) ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd io ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd ioctl ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd mlme ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd mp ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd os_intf ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd os_intf/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd pwrctrl ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd recv ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd rf ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd sta_mgt ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd xmit; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 
    cd efuse; rm -fr *.mod.c *.mod *.o .*.cmd *.ko 

endif</code></pre></div><p><strong>ls -l [/home/nikel/tv]</strong><br /></p><div class="codebox"><pre><code>drwxr-xr-x 21 nikel nikel 4096 2012-11-27 19:42 drv
drwxr-xr-x 16 nikel nikel 4096 2012-11-26 16:00 kernel</code></pre></div><p><strong>ls -l [/home/nikel/tv/drv]</strong><br /></p><div class="codebox"><pre><code>-rwx------ 1 nikel nikel 3715 2012-04-05 05:42 autoconf_rtl8712_usb_linux.h
-rwx------ 1 nikel nikel  151 2012-04-05 05:42 clean
drwxrwxrwx 2 nikel nikel 4096 2012-11-27 19:39 cmd
-rwx------ 1 nikel nikel  516 2012-04-05 05:42 config
drwxrwxrwx 2 nikel nikel 4096 2012-11-27 19:38 crypto
drwxrwxrwx 2 nikel nikel 4096 2012-11-27 19:38 debug
drwxrwxrwx 2 nikel nikel 4096 2012-11-27 19:38 eeprom
drwxrwxrwx 2 nikel nikel 4096 2012-11-27 19:38 efuse
drwxrwxrwx 3 nikel nikel 4096 2012-04-05 05:42 hal
-rwx------ 1 nikel nikel   54 2012-04-05 05:42 ifcfg-wlan0
drwxrwxrwx 4 nikel nikel 4096 2012-04-05 05:42 include
drwxrwxrwx 2 nikel nikel 4096 2012-11-27 19:38 io
drwxrwxrwx 2 nikel nikel 4096 2012-11-27 19:38 ioctl
-rwx------ 1 nikel nikel  107 2012-04-05 05:42 Kconfig
drwxrwxrwx 2 nikel nikel 4096 2012-11-27 19:38 led
-rwx------ 1 nikel nikel 7256 2012-11-27 19:38 Makefile
drwxrwxrwx 2 nikel nikel 4096 2012-11-27 19:38 mlme
drwxrwxrwx 2 nikel nikel 4096 2012-11-27 19:38 mp
drwxrwxrwx 3 nikel nikel 4096 2012-04-05 05:42 os_dep
drwxrwxrwx 3 nikel nikel 4096 2012-11-27 19:38 os_intf
drwxrwxrwx 2 nikel nikel 4096 2012-04-05 05:42 pwrctrl
drwxrwxrwx 2 nikel nikel 4096 2012-04-05 05:42 recv
drwxrwxrwx 2 nikel nikel 4096 2012-04-05 05:42 rf
-rwx------ 1 nikel nikel  423 2012-04-05 05:42 runwpa
drwxrwxrwx 2 nikel nikel 4096 2012-04-05 05:42 sta_mgt
-rwx------ 1 nikel nikel  294 2012-04-05 05:42 wlan0dhcp
-rwx------ 1 nikel nikel  338 2012-04-05 05:42 wpa1.conf
drwxrwxrwx 2 nikel nikel 4096 2012-04-05 05:42 xmit </code></pre></div><p><strong>ls -l [/home/nikel/tv/kernel]</strong><br /></p><div class="codebox"><pre><code>-rw-r--r--  1 nikel nikel 5389 2011-01-04 11:56 HOW_TO_BUILD.txt
-rw-r--r--  1 nikel nikel 7425 2011-01-04 11:57 HOW_TO_INSTALL.txt
drwxr-xr-x  7 nikel nikel 4096 2009-04-06 14:11 iptables-1.4.3.2
drwxr-xr-x  4 nikel nikel 4096 2011-09-29 10:32 LGPL_LIBGPHOTO2
drwxr-xr-x  4 nikel nikel 4096 2011-09-29 10:28 LGPL_LIBUSB
drwxr-xr-x 17 nikel nikel 4096 2003-05-22 23:20 libiconv-1.9.1
drwxr-xr-x  6 nikel nikel 4096 2010-05-27 03:21 libthai-0.1.6
drwxr-xr-x  9 nikel nikel 4096 2010-08-30 17:10 MBoot_SEC_AA
drwxr-xr-x  5 nikel nikel 4096 2010-06-10 05:28 NETIF
drwxr-xr-x 31 nikel nikel 4096 2010-03-25 03:12 selp_busybox-1.6.0-7.0.10-mstar-20100215
drwxr-xr-x  4 nikel nikel 4096 2010-06-10 05:28 UTIL
drwxr-xr-x  8 nikel nikel 4096 2010-02-13 09:32 VDLinux-mips34kc-toolchain-lite-20100223
drwxr-xr-x  4 nikel nikel 4096 2010-06-08 15:42 vdlinux-mstar-kernel
drwxr-xr-x 20 nikel nikel 4096 2011-09-29 10:49 VDLinux-mstar-src-mips-4.3-154-mips-linux-gnu
drwxr-xr-x  4 nikel nikel 4096 2010-06-10 07:13 wireless_tools.29
drwxr-xr-x 27 nikel nikel 4096 2010-02-19 13:35 xfsprogs-3.0.5 </code></pre></div><p><strong>ls -l [/home/nikel/tv/kernel/vdlinx-mstar-kernel/2.6.28.9]</strong><br /></p><div class="codebox"><pre><code>drwxr-xr-x  4 nikel nikel   4096 2010-02-18 10:35 arch
drwxr-xr-x  2 nikel nikel   4096 2010-08-30 16:18 block
-rwxr-xr-x  1 nikel nikel   3362 2010-02-13 10:30 boot.sh
drwxr-xr-x  2 nikel nikel   4096 2010-06-08 15:27 configs
-rwxr-xr-x  1 nikel nikel  18693 2010-02-13 10:30 COPYING
-rwxr-xr-x  1 nikel nikel  93212 2010-02-13 10:30 CREDITS
drwxr-xr-x  3 nikel nikel   4096 2010-08-30 16:18 crypto
drwxr-xr-x 82 nikel nikel   4096 2010-02-13 10:31 Documentation
drwxr-xr-x 84 nikel nikel   4096 2010-08-30 16:18 drivers
drwxr-xr-x 18 nikel nikel   4096 2010-08-30 16:18 firmware
drwxr-xr-x 66 nikel nikel   4096 2010-08-30 16:18 fs
drwxr-xr-x 23 nikel nikel   4096 2012-11-26 16:42 include
drwxr-xr-x  2 nikel nikel   4096 2010-08-30 16:18 init
drwxr-xr-x  2 nikel nikel   4096 2010-08-30 16:18 ipc
-rwxr-xr-x  1 nikel nikel   2430 2010-02-13 10:30 Kbuild
drwxr-xr-x  7 nikel nikel   4096 2012-11-26 16:42 kernel
drwxr-xr-x  6 nikel nikel   4096 2010-08-30 16:18 lib
-rwxr-xr-x  1 nikel nikel 106036 2010-02-13 10:30 MAINTAINERS
-rwxr-xr-x  1 nikel nikel  57989 2010-03-11 07:09 Makefile
-rwxr-xr-x  1 nikel nikel    505 2010-02-13 10:30 make.sh
drwxr-xr-x  2 nikel nikel   4096 2010-08-30 16:18 mm
-rw-r--r--  1 nikel nikel   9843 2010-08-30 16:18 Module.symvers
drwxr-xr-x 45 nikel nikel   4096 2010-08-30 16:18 net
-rwxr-xr-x  1 nikel nikel  16930 2010-02-13 10:30 README
-rwxr-xr-x  1 nikel nikel   3172 2010-02-13 10:30 REPORTING-BUGS
drwxr-xr-x  7 nikel nikel   4096 2010-02-13 10:31 samples
drwxr-xr-x 10 nikel nikel   4096 2012-11-26 16:42 scripts
drwxr-xr-x  5 nikel nikel   4096 2010-08-30 16:18 security
drwxr-xr-x 20 nikel nikel   4096 2010-08-30 16:18 sound
drwxr-xr-x  3 nikel nikel   4096 2010-08-30 16:18 usr
-rwxr-xr-x  1 nikel nikel    310 2010-03-10 05:53 version_mk.sh
drwxr-xr-x  3 nikel nikel   4096 2010-02-13 10:31 virt </code></pre></div><p><strong>Итак все по порядку:</strong><br />в <strong>home</strong> директории текущего пользователя (nikel) создаю директорию <strong>tv</strong>, в ней еще 2 субдиректории: <strong>drv, kernel</strong>.<br />Захожу в <strong>/home/nikel/tv/kernel/vdlinux-mstar-kernel/2.6.28.9</strong>, выполняю: <strong>make prepare; make modules_prepare</strong> (выполняется без ошибок, все ок).<br />Захожу в <strong>/home/nikel/tv/drv</strong> - редактирую <strong>Makefile</strong> (можно посмотреть выше), выполняю: <strong>make clean; make</strong> - заканчивается все ошибкой, приведенной в шапке.</p>]]></content>
			<author>
				<name><![CDATA[Nikel2007]]></name>
				<uri>https://linuxforum.ru/profile.php?id=26763</uri>
			</author>
			<updated>2012-11-27T17:54:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=311347#p311347</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=311344#p311344" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>вот что получилось: <a href="http://ompldr.org/vZ2gwcQ/8712u.ko.xz">http://ompldr.org/vZ2gwcQ/8712u.ko.xz</a></p></blockquote></div><p>Попытался установить модуль в телевизор, вот что вышло (естественно распакованый):<br /></p><div class="codebox"><pre><code>insmod /dtv/usb/sda1/8712u.ko
insmod: cannot insert &#039;/dtv/usb/sda1/8712u.ko&#039;: Invalid module format (-1): Exec format error</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Nikel2007]]></name>
				<uri>https://linuxforum.ru/profile.php?id=26763</uri>
			</author>
			<updated>2012-11-27T17:33:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=311344#p311344</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Помогите собрать драйвер под MIPS]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=311333#p311333" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Nikel2007 пишет:</cite><blockquote><p>Тулчейн я не собирал, он уже есть готовый, в шапке есть ссылка</p></blockquote></div><p>не заметил его... а ведь сначала удивился ещё, с чего это ядро под 400 метров весит...</p><p>ну собрал ... УМВР... правда пришлось ручками отключить CONFIG_IOCTL_CFG80211, как это по-приличному сделать - не знаю..</p><p>вот что получилось: <a href="http://ompldr.org/vZ2gwcQ/8712u.ko.xz">http://ompldr.org/vZ2gwcQ/8712u.ko.xz</a> <br />правда модуль весит 5,5 метров...</p><div class="quotebox"><cite>Nikel2007 пишет:</cite><blockquote><p>В шапке как раз есть вывод make</p></blockquote></div><p>не вывод его, а сам Makefile в студию... и пути по которым разложил всё. и на всякий случай ls -l в них. <br />наверняка где-то ошибся...</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2012-11-27T16:35:59Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=311333#p311333</id>
		</entry>
</feed>
