编译文件出错 203行
static void
btctl_controller_emit_device_service(BtctlController *bc, gchar *bdaddr,
gchar *name, guint classid, guint port),这个函数出错
原代码如下:
#include
by lifeexpert - Linux论坛 - 2004-11-03 09:34:03 阅读(1388) 回复(2)
编译文件出错 203行
static void
btctl_controller_emit_device_service(BtctlController *bc, gchar *bdaddr,
gchar *name, guint classid, guint port),这个函数出错
原代码如下:
#include
想用copy的方法把deque的元素输出,结果就是报错 ,大家看看怎么回事?
代码:
[gag@genomic-server cpp]$ more deque.cpp
#include
Steps to Reproduce: 1.make 2. 3. Actual Results: HOSTCC scripts/mod/sumversion.o scripts/mod/sumversion.c: In function ‘get_src_version’: scripts/mod/sumversion.c:384: error: ‘PATH_MAX’ undeclared (first use in this function) scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reported only once scripts/mod/sumversion.c:384: error: for each function it appears in.) scripts/mo...
http://bbs.chinaunix.net/forum/4/20041102/437365.html thanks!
http://bbs.chinaunix.net/forum/4/20041102/437365.html thanks!
void * page_address(struct page *page) 返回指针void*: (1) "convert a given page to its logical address" 根据 "Linux Kerenl developement 3rd edition" (2) "returns the linear address associated with the page frame" 根据 "understanding the linux kernel" (3) "returns the physical address of the page" 根据 "understanding the linux virtual memory manager" 这个返回指针,三本书三个不同说法: 逻辑地址...
昏, 看到gtk+-2.0教程第一个实例,自己尝试着编译就出错了 ..
系统:debian
[code]
#include
编译驱动的时候有以下错误: /home/zilong/mini2440/driver/key/key.c:29: error: 'IRQ_TYPE_EDGE_FALLING' undeclared here (not in a function) /home/zilong/mini2440/driver/key/key.c: In function '__exittest': /home/zilong/mini2440/driver/key/key.c:132: warning: return from incompatible pointer type make[2]: *** [/home/zilong/mini2440/driver/key/key.o] Error 1 make[1]: *** [_module_/home/zilong/mini2440/d...