yankee495 wrote:SORRY: I do think Mageia2 has the driver built in. Use MCC>Install Software and install kernel-desktop-devel-3.3.6-2.mga2.
It does show Atheros to be in that file.
[root@localhost src]# make
gcc: error: /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/autoconf.h: No such file or directory
gcc: fatal error: no input files
compilation terminated.
Makefile:188: ***
Makefile:193: *** Warning: kernel source configuration (UP)
Makefile:194: *** does not match running kernel (SMP)
Makefile:196: *** Continuing with build,
Makefile:197: *** resulting driver may not be what you want
Makefile:198: ***
gcc -mcmodel=kernel -mno-red-zone -DDRIVER_ATL1E -DDRIVER_NAME=atl1e -DDRIVER_NAME_CAPS=ATL1E -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -DDBG=0 -I/lib/modules/3.3.6-desktop-2.mga2/build/include -I. -c -o at_common_main.o at_common_main.c
In file included from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/kernel.h:13:0,
from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/cache.h:4,
from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/time.h:7,
from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/stat.h:60,
from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/module.h:10,
from kcompat.h:28,
from at_common.h:4,
from at_common_main.c:1:
/lib/modules/3.3.6-desktop-2.mga2/build/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
compilation terminated.
make: *** [at_common_main.o] Error 1
[root@localhost src]# make install
gcc: error: /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/autoconf.h: No such file or directory
gcc: fatal error: no input files
compilation terminated.
Makefile:188: ***
Makefile:193: *** Warning: kernel source configuration (UP)
Makefile:194: *** does not match running kernel (SMP)
Makefile:196: *** Continuing with build,
Makefile:197: *** resulting driver may not be what you want
Makefile:198: ***
make
gcc: error: /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/autoconf.h: No such file or directory
gcc: fatal error: no input files
compilation terminated.
make[1]: Entering directory `/home/suzamaki/Desktop/AR81Family-linux-v1.0.1.14/src'
Makefile:188: ***
Makefile:193: *** Warning: kernel source configuration (UP)
Makefile:194: *** does not match running kernel (SMP)
Makefile:196: *** Continuing with build,
Makefile:197: *** resulting driver may not be what you want
Makefile:198: ***
gcc -mcmodel=kernel -mno-red-zone -DDRIVER_ATL1E -DDRIVER_NAME=atl1e -DDRIVER_NAME_CAPS=ATL1E -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -DDBG=0 -I/lib/modules/3.3.6-desktop-2.mga2/build/include -I. -c -o at_common_main.o at_common_main.c
In file included from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/kernel.h:13:0,
from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/cache.h:4,
from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/time.h:7,
from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/stat.h:60,
from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/module.h:10,
from kcompat.h:28,
from at_common.h:4,
from at_common_main.c:1:
/lib/modules/3.3.6-desktop-2.mga2/build/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
compilation terminated.
make[1]: *** [at_common_main.o] Error 1
make[1]: Leaving directory `/home/suzamaki/Desktop/AR81Family-linux-v1.0.1.14/src'
make: *** [default] Error 2
[root@localhost AR81Family-linux-v1.0.1.14]# make
make -C ./src
make[1]: Entering directory `/home/suzamaki/Desktop/AR81Family-linux-v1.0.1.14/src'
gcc -mcmodel=kernel -mno-red-zone -DDRIVER_ATL1E -DDRIVER_NAME=atl1e -DDRIVER_NAME_CAPS=ATL1E -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -DDBG=0 -I/lib/modules/3.3.6-desktop-2.mga2/build/include -I. -D__SMP__ -c -o at_common_main.o at_common_main.c
In file included from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/kernel.h:13:0,
from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/cache.h:4,
from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/time.h:7,
from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/stat.h:60,
from /lib/modules/3.3.6-desktop-2.mga2/build/include/linux/module.h:10,
from kcompat.h:28,
from at_common.h:4,
from at_common_main.c:1:
/lib/modules/3.3.6-desktop-2.mga2/build/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory
compilation terminated.
make[1]: *** [at_common_main.o] Error 1
make[1]: Leaving directory `/home/suzamaki/Desktop/AR81Family-linux-v1.0.1.14/src'
make: *** [all] Error 2
[root@localhost src]# locate linkage.h
/usr/src/linux-3.3.6-2.mga2/arch/arm/include/asm/linkage.h
/usr/src/linux-3.3.6-2.mga2/arch/x86/include/asm/linkage.h
/usr/src/linux-3.3.6-2.mga2/include/asm-generic/linkage.h
/usr/src/linux-3.3.6-2.mga2/include/linux/linkage.h
/usr/src/linux-3.3.6-2.mga2/tools/perf/util/include/linux/linkage.h
/usr/src/linux-3.3.6-desktop-2.mga2/arch/x86/include/asm/linkage.h
/usr/src/linux-3.3.6-desktop-2.mga2/include/asm-generic/linkage.h
/usr/src/linux-3.3.6-desktop-2.mga2/include/linux/linkage.h
[root@localhost src]# make
make -C ./src
gcc: /lib/modules/2.6.33.7-desktop-2mnb/build/include/linux/autoconf.h: No such file or directory
gcc: no input files
make[1]: Entering directory `/home/john/src/src'
Makefile:188: ***
Makefile:193: *** Warning: kernel source configuration (UP)
Makefile:194: *** does not match running kernel (SMP)
Makefile:196: *** Continuing with build,
Makefile:197: *** resulting driver may not be what you want
Makefile:198: ***
make -C /lib/modules/2.6.33.7-desktop-2mnb/build SUBDIRS=/home/john/src/src modules
make[2]: Entering directory `/usr/src/linux-2.6.33.7-desktop-2mnb'
gcc: /lib/modules/2.6.33.7-desktop-2mnb/build/include/linux/autoconf.h: No such file or directory
gcc: no input files
/home/john/src/src/Makefile:188: ***
/home/john/src/src/Makefile:193: *** Warning: kernel source configuration (UP)
/home/john/src/src/Makefile:194: *** does not match running kernel (SMP)
/home/john/src/src/Makefile:196: *** Continuing with build,
/home/john/src/src/Makefile:197: *** resulting driver may not be what you want
/home/john/src/src/Makefile:198: ***
Building modules, stage 2.
gcc: /lib/modules/2.6.33.7-desktop-2mnb/build/include/linux/autoconf.h: No such file or directory
gcc: no input files
/home/john/src/src/Makefile:188: ***
/home/john/src/src/Makefile:193: *** Warning: kernel source configuration (UP)
/home/john/src/src/Makefile:194: *** does not match running kernel (SMP)
/home/john/src/src/Makefile:196: *** Continuing with build,
/home/john/src/src/Makefile:197: *** resulting driver may not be what you want
/home/john/src/src/Makefile:198: ***
MODPOST 1 modules
make[2]: Leaving directory `/usr/src/linux-2.6.33.7-desktop-2mnb'
make[1]: Leaving directory `/home/john/src/src'
[root@localhost src]# make -C /usr/src/linux-3.3.6-desktop-2.mga2 M=`pwd`
make: Entering directory `/usr/src/linux-3.3.6-desktop-2.mga2'
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/john/ar8151/src/Makefile". Fix it to use ccflags-y. Stop.
make: *** [_module_/home/john/ar8151/src] Error 2
make: Leaving directory `/usr/src/linux-3.3.6-desktop-2.mga2'
[root@localhost src]#
linuxero wrote:If it is a firmware problem why just not copy it from /lib/firmware on a working livecd into the same folder of your installation!
suzamaki wrote: I had thought about that but i dont know what i would need to copy from the live CD that makes the ethernet work that would be different on my installation. Live CD i have is 32 bit and installation i have is 64. ill try downloading the 64 Live CD and messing around with that more.
Users browsing this forum: No registered users and 1 guest