자꾸질문올려서 죄송한데요 make modules 실행시에...
In file included from drivers/net/tokenring/smctr.c:46:
include/linux/mca-legacy.h:12:2: warning: #warning "MCA legacy - please move your driver to the new sysfs api"
drivers/net/tokenring/smctr.c: In function `smctr_close':
drivers/net/tokenring/smctr.c:733: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:494)
drivers/net/tokenring/smctr.c: In function `smctr_open':
drivers/net/tokenring/smctr.c:3494: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:482)
CC [M] drivers/net/tokenring/3c359.o
CC [M] drivers/net/wan/z85230.o
CC [M] drivers/net/wan/syncppp.o
CC [M] drivers/net/wan/hostess_sv11.o
drivers/net/wan/hostess_sv11.c: In function `hostess_open':
drivers/net/wan/hostess_sv11.c:125: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:482)
drivers/net/wan/hostess_sv11.c: In function `hostess_close':
drivers/net/wan/hostess_sv11.c:157: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:494)
CC [M] drivers/net/wan/sealevel.o
CC [M] drivers/net/wan/cosa.o
CC [M] drivers/net/wan/dlci.o
CC [M] drivers/net/wan/sdla.o
CC [M] drivers/net/wan/sbni.o
drivers/net/wan/sbni.c: In function `sbni_pci_probe':
drivers/net/wan/sbni.c:308: warning: `check_region' is deprecated (declared at include/linux/ioport.h:119)
저런문구들이 많이 나오는데 에러메시죠??
경고라는걸 봐서는 뭔가 잘못된거 같은데 지금 make modules을 실행하는동안 계속 나오고 있어서요...
뭐가 잘못됐다는소린지 알아들을수가 없네요...
답답하기만하고....
허접한 질문 자꾸올려 죄송합니다...
warning은 문제를 일으킬수도 있다는 정도이므로,컴파일 한 다
warning은 문제를 일으킬수도 있다는 정도이므로,
컴파일 한 다음에 큰 문제가 없으면 그냥 쓰시면 됩니다.
----
It is essential, if man is not to be compelled to have recourse, as a last resort, to rebellion against tyranny and oppression, that human rights should be protected by the rule of law.
[Universal Declaration of Human Rights]
Re: 자꾸질문올려서 죄송한데요 make modules 실행시에...
`MOD_DEC_USE_COUNT', `MOD_INC_USE_COUNT'
는 module.h 파일을 추가하시면 없어질 Warning같군요
Warning은 윗 분이 말씀하셨듯이 일단 컴파일할 때 Critical하게
문제가 생기지 않는 부분입니다. 그렇지만, 오동작을 일으킬 수 있는
부분도 있으니 보통은 Warning도 없애는 것이 좋겟죠...
그럼...
댓글 달기