언뜻 보니
리눅스 커널 소스에 포함되어 있는 파일을 include 하는데요. (linux/errno.h, asm/...)
커널 소스가 지정된 위치에 없거나 혹은 /usr/include 에 적절히 링크가 안되어 있는
듯합니다.
만약 커널 소스가 있다면
커널 소스의 linux, asm 디렉토리를 /usr/include에 링크 시켜 주세요.
예를 들면..
[root@baby:/usr/include] ls -l asm linux
lrwxrwxrwx 1 root root 31 4월 24 16:24 asm -> /usr/src/linux/i
nclude/asm-i386/
lrwxrwxrwx 1 root root 28 4월 30 13:05 linux -> /usr/src/linux
/include/linux/
이런 식으로요.
: : make 시에 어떠한 에러메세지가 떨어지나요?
: :
:
: make를 하면 아래와 같은 에러가 뜹니다.
: [root@rcn7xx ssh-2.4.0]# make
: make all-recursive
: make[1]: Entering directory `/root/ssh-2.4.0'
: Making all in lib
: make[2]: Entering directory `/root/ssh-2.4.0/lib'
: Making all in sshutil
: make[3]: Entering directory `/root/ssh-2.4.0/lib/sshutil'
: Making all in sshcore
: make[4]: Entering directory `/root/ssh-2.4.0/lib/sshutil/sshcore'
: gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I. -I../../.. -I../../.. -I../../../lib/sshutil -I../../../lib/sshu
: til/sshcore -I../../../lib/sshutil/sshadt -I../../../lib/sshutil/ssholdadt -I../../../lib/sshutil/sshstrutil -I../../.
: ./lib/sshutil/ssheloop -I../../../lib/sshutil/sshstream -I../../../lib/sshutil/sshfsm -I../../../lib/sshutil/sshsysutil -I../../../lib/sshutil/sshnet -I../../../lib/sshutil/sshmisc -I../../../lib/sshutil/sshpacketstream -I../../../lib/sshutil/sshtestutil -I../../../lib/zlib -I../../../lib/sshmath -I../../../lib/sshreadline -I../../../lib/sshapputil -I../../../lib/sshcrypt -I../../../lib/sshproto -I../../../lib/sshsession -I../../../lib/sshpgp -I../../../lib/sshfilexfer -D_GNU_SOURCE -g -O2 -Wall -Wno-unknown-pragmas -c sshdebug.c In file included from /usr/include/errno.h:36,
: from ../../../lib/sshutil/sshincludes_unix.h:100,
: from ../../../lib/sshutil/sshincludes.h:62,
: from sshdebug.c:14:
: /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
: In file included from /usr/include/signal.h:300,
: from ../../../lib/sshutil/sshincludes_unix.h:103,
: from ../../../lib/sshutil/sshincludes.h:62,
: from sshdebug.c:14:
: /usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or directory
: make[4]: *** [sshdebug.o] Error 1
: make[4]: Leaving directory `/root/ssh-2.4.0/lib/sshutil/sshcore'
: make[3]: *** [all-recursive] Error 1
: make[3]: Leaving directory `/root/ssh-2.4.0/lib/sshutil'
: make[2]: *** [all-recursive] Error 1
: make[2]: Leaving directory `/root/ssh-2.4.0/lib'
: make[1]: *** [all-recursive] Error 1
: make[1]: Leaving directory `/root/ssh-2.4.0'
: make: *** [all-recursive-am] Error 2
:
: 파일이 없어서(?) 생기는 문제인거 같은데... configure 시에 제대로 됮 않은 건지 잘 모르겠
: 습니다. 친절히 답변을 해 주셔서 감사합니다.
--
껌을 씹을 때는 조용히...