|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] implicit declaration of function `printk'
Hi List,
I was trying to use minios to implement network frontend driver. When I added
gnttab.c, the fowllowing messages appear:
[ -e include/xen ] || ln -sf ../../../xen/include/public include/xen
# [ -e xenbus/xenstored.h ] || ln -sf ../../../tools/xenstore/xenstored.h
xenbus/xenstored.h
gcc -fno-builtin -Wall -Werror -Iinclude/ -Wredundant-decls -Wno-format
-Wstrict-prototypes -Wnested-externs -Wpointer-arith -Winline -m32 -march=i686
-g -c gnttab.c -o gnttab.o
gnttab.c: In function `gnttab_end_access':
gnttab.c:90: warning: implicit declaration of function `printk'
gnttab.c:93: warning: implicit declaration of function `synch_cmpxchg'
gnttab.c: In function `gnttab_alloc_and_grant':
gnttab.c:135: warning: implicit declaration of function `virt_to_mfn'
gnttab.c: In function `gnttabop_error':
gnttab.c:146: warning: implicit declaration of function `ARRAY_SIZE'
gnttab.c: In function `init_gnttab':
gnttab.c:165: warning: implicit declaration of function `set_xen_guest_handle'
gnttab.c:168: warning: implicit declaration of function `map_frames'
gnttab.c:168: warning: assignment makes pointer from integer without a cast
make: *** [gnttab.o] Error 1
The code is the same as the posted. Could someone give some help?
Thanks a lot!
-zheng
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] implicit declaration of function `printk',
Cui Zheng <=
|
|
|
|
|