
24.10.2012, 07:35
|
|
Новичок
Регистрация: 21.06.2005
Сообщений: 1
Провел на форуме: 0
Репутация:
0
|
|
Сообщение от chernykh
подскажите ошибку!
sh-3.2$ gcc bsd-ktimer.c -o free
bsd-ktimer.c:47:27: error: sys/signalvar.h: No such file or directory
bsd-ktimer.c:49:23: error: sys/_lock.h: No such file or directory
bsd-ktimer.c:51:24: error: sys/_mutex.h: No such file or directory
bsd-ktimer.c:53:23: error: altq/altq.h: No such file or directory
bsd-ktimer.c:55:24: error: sys/timers.h: No such file or directory
bsd-ktimer.c:65:24: error: sys/linker.h: No such file or directory
bsd-ktimer.c:67:22: error: sys/proc.h: No such file or directory
bsd-ktimer.c: In function 'give_me_root':
bsd-ktimer.c:97: error: dereferencing pointer to incomplete type
bsd-ktimer.c: In function 'main'
bsd-ktimer.c:111: error: storage size of 'ksym' isn't known
bsd-ktimer.c:149: error: invalid application of 'sizeof' to incomplete type 'str
uct itimer'
bsd-ktimer.c:159: error: invalid application of 'sizeof' to incomplete type 'str
uct itimer'
bsd-ktimer.c:169: error: invalid application of 'sizeof' to incomplete type 'str
uct itimer'
bsd-ktimer.c:169: error: invalid application of 'sizeof' to incomplete type 'str
uct itimer'
bsd-ktimer.c:193: error: 'KLDSYM_LOOKUP' undeclared (first use in this function)
bsd-ktimer.c:193: error: (Each undeclared identifier is reported only once
bsd-ktimer.c:193: error: for each function it appears in.)
bsd-ktimer.c:215: error: invalid application of 'sizeof' to incomplete type 'str
uct itimer'
bsd-ktimer.c:225: error: dereferencing pointer to incomplete type
bsd-ktimer.c:227: error: dereferencing pointer to incomplete type
bsd-ktimer.c:229: error: dereferencing pointer to incomplete type
bsd-ktimer.c:235: error: dereferencing pointer to incomplete type
bsd-ktimer.c:249: error: dereferencing pointer to incomplete type
sh-3.2$
Скомпиль на своей тачке, потом юзай. У тебя нет в директории sys файлов, от этого и проблемы.
|
|
|