리눅스 분류
CentOS Make 조언
작성자 정보
- 흑곰팜 작성
- 작성일
컨텐츠 정보
- 2,956 조회
- 2 댓글
- 0 추천
- 목록
본문
현재 CentOS 6.5 버젼을 사용중인데... 랜카드 하나를 더 달기 위해 USB3.0 디바이스인 AX88179 칩셋을
사용중인 USB to GigaLAN 카드를 장착하려고 하나 make시 오류가 납니다...
첨부파일을 다운 받고 압축된 파일을 풀어서
make 실행시 소스 디렉토리를 찾을수 없어서 찾을수 없다고 나오며 ... 소스의 디렉토리를 생성해서 make 시
아래와 같이 나옵니다.
[root@Server AX88179_178A_LINUX_DRIVER_v1.3.0_SOURCE]# make
make -C /lib/modules/2.6.32-431.11.2.el6.x86_64/build SUBDIRS=/root/AX88179_178A_LINUX_DRIVER_v1.3.0_SOURCE modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-431.11.2.el6.x86_64'
make[1]: `modules'를 위해 할 일이 없습니다
make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.11.2.el6.x86_64'
[root@Server AX88179_178A_LINUX_DRIVER_v1.3.0_SOURCE]#
Fedora 20 을 설치하여 make 시에는 정상적으로 make 됩니다.
왜 CentOS 5.9 6.4 6.5 에서는 make 되지 않습니다.
조언좀 부탁드립니다.
관련자료
-
링크
-
이전
-
다음
댓글 2
쭈운님의 댓글
- 쭈운
- 작성일
kernel-headers kernel-devel 설치해서 해보시죠.
흑곰팜님의 댓글
- 흑곰팜
- 작성일
kernel-devel 이 문제였군요. 감사합니다.
[root@Server ~]# yum install kernel-headers
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.tt.co.kr
* extras: centos.tt.co.kr
* updates: centos.tt.co.kr
Setting up Install Process
Package kernel-headers-2.6.32-431.11.2.el6.x86_64 already installed and latest version
Nothing to do
[root@Server ~]# yum install kernel-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.tt.co.kr
* extras: centos.tt.co.kr
* updates: centos.tt.co.kr
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_64 0:2.6.32-431.11.2.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================
Package Arch Version Repository Size
======================================================================================================================
Installing:
kernel-devel x86_64 2.6.32-431.11.2.el6 updates 8.8 M
Transaction Summary
======================================================================================================================
Install 1 Package(s)
Total download size: 8.8 M
Installed size: 24 M
Is this ok [y/N]: y
Downloading Packages:
kernel-devel-2.6.32-431.11.2.el6.x86_64.rpm | 8.8 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-devel-2.6.32-431.11.2.el6.x86_64 1/1
Verifying : kernel-devel-2.6.32-431.11.2.el6.x86_64 1/1
Installed:
kernel-devel.x86_64 0:2.6.32-431.11.2.el6
Complete!
[root@Server AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE]# make
make -C /lib/modules/2.6.32-431.11.2.el6.x86_64/build SUBDIRS=/root/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-431.11.2.el6.x86_64'
CC [M] /root/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE/ax88179_178a.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE/ax88179_178a.mod.o
LD [M] /root/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE/ax88179_178a.ko.unsigned
NO SIGN [M] /root/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE/ax88179_178a.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.11.2.el6.x86_64'
[root@Server AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE]# make install
su -c "cp -v ax88179_178a.ko /lib/modules/2.6.32-431.11.2.el6.x86_64/kernel/drivers/net/usb && /sbin/depmod -a"
`ax88179_178a.ko' -> `/lib/modules/2.6.32-431.11.2.el6.x86_64/kernel/drivers/net/usb/ax88179_178a.ko'
[root@Server ~]# yum install kernel-headers
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.tt.co.kr
* extras: centos.tt.co.kr
* updates: centos.tt.co.kr
Setting up Install Process
Package kernel-headers-2.6.32-431.11.2.el6.x86_64 already installed and latest version
Nothing to do
[root@Server ~]# yum install kernel-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.tt.co.kr
* extras: centos.tt.co.kr
* updates: centos.tt.co.kr
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_64 0:2.6.32-431.11.2.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================
Package Arch Version Repository Size
======================================================================================================================
Installing:
kernel-devel x86_64 2.6.32-431.11.2.el6 updates 8.8 M
Transaction Summary
======================================================================================================================
Install 1 Package(s)
Total download size: 8.8 M
Installed size: 24 M
Is this ok [y/N]: y
Downloading Packages:
kernel-devel-2.6.32-431.11.2.el6.x86_64.rpm | 8.8 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-devel-2.6.32-431.11.2.el6.x86_64 1/1
Verifying : kernel-devel-2.6.32-431.11.2.el6.x86_64 1/1
Installed:
kernel-devel.x86_64 0:2.6.32-431.11.2.el6
Complete!
[root@Server AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE]# make
make -C /lib/modules/2.6.32-431.11.2.el6.x86_64/build SUBDIRS=/root/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-431.11.2.el6.x86_64'
CC [M] /root/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE/ax88179_178a.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE/ax88179_178a.mod.o
LD [M] /root/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE/ax88179_178a.ko.unsigned
NO SIGN [M] /root/AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE/ax88179_178a.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-431.11.2.el6.x86_64'
[root@Server AX88179_178A_LINUX_DRIVER_v1.9.0_SOURCE]# make install
su -c "cp -v ax88179_178a.ko /lib/modules/2.6.32-431.11.2.el6.x86_64/kernel/drivers/net/usb && /sbin/depmod -a"
`ax88179_178a.ko' -> `/lib/modules/2.6.32-431.11.2.el6.x86_64/kernel/drivers/net/usb/ax88179_178a.ko'