ChinaUnix.net
相关文章推荐:

g error which is nonclass type

socket 编程中,通过gethostbyname() 或者 gethostbyaddr 取得主机的 hostent 解构的信息, 现在从中提取出地址信息: [code] struct host * host; struct sockaddr_in address; .... ... ... memcpy (&address.sin_addr, host->h_addr_list[0], sizeof(address.sin_addr)); 或者: address.sin_addr=*((struct in_addr *)host->h_addr); [/code] 编译的时候出现这样的错误: error: dereferencing pointer to incomplete type ...

by Co_Coiiz - C/C++ - 2006-12-21 16:21:40 阅读(9253) 回复(12)

相关讨论

我查了我机子的usr/bin 和bin,但没有发现perl,是不是说明我的机子没有安装perl,不能进行perl开发.另外我的一本参考书上说用which perl命令可以找到perl的路径,但我运行后提示which --not found,倒底有没有which这个命令.

by chinawsy - Perl - 2004-12-01 20:57:08 阅读(1536) 回复(8)

本贴我说不好要放在哪个具体的讨论区,觉得c区还合适,就放这里了, 本贴的目的是帮比我还菜的小鸟遇到这个问题好解决些,写完这个我 想在google或者baidu上搜partitions.h:61: error: field `list' has incomplete type 这样的关键字,应该能找到这贴了吧. 我今天在编译linux2.6.14.2的内核的时候,遇到了这个问题, 但是在google和baidu上找,都是提问的,就没有理睬过,那好 我就自己找答案: 主要是针对s3c2410的内核移植, 在我都培植好后...

by fydream - C/C++ - 2015-11-19 16:25:47 阅读(15435) 回复(4)

cstm检测出来 ext/DIMM: ext3a/3b error type :single-bit 88 address(es) with errors logged by memory logging daemon.

by antozerg - HP-UX - 2006-09-28 12:40:08 阅读(2177) 回复(3)

原来在windows下能运行的程序,移植到linux下,出现上述错误,请大侠不吝赐教! 附部分相关代码: struct listen { char Cookie; long RequestTimeStamp; long RequestFileSize; struct listen *left, *right ; }listenqueue; struct BufferQueue *h=NULL ; h=(struct BufferQueue *)malloc(sizeof ( BufferQueue)); h->Cookie=a ; h->RequestTimeStamp=finish ; h->RequestFileSize = (rand()%100) ; h->le...

by 51167899 - C/C++ - 2006-07-24 16:11:47 阅读(1571) 回复(2)

ibm netfinity5500上装sco5.07时get fs type error??? 是什么原因??

by softmachine - 其他UNIX - 2005-06-30 10:21:00 阅读(879) 回复(1)

freebsd72# which nologin /sbin/nologin freebsd72# whereis nologin nologin: /usr/sbin/nologin /usr/share/man/man8/nologin.8.gz /usr/src/usr.sbin/nologin nologin命令实际上在/usr/sbin/目录。 我的问题是 为什么which会返回这样的结果?这个结果是错误的。 如何修正这个错误?

by lushy - BSD - 2009-07-14 12:58:35 阅读(1335) 回复(2)

用smitty hacmp或 smitty cl_convg创建了并发卷组,major number都一样,用于磁盘心跳,没有创建任何逻辑卷;创建后用smitty hacmp使用List All Concurrent Volume Groups on the Cluster 显示 cl_lsvg: no volume groups found 有人遇到过这个问题么?用磁盘做心跳需要什么条件;目前的情况使用的是tmssa做的heartbeat

by jat_15 - AIX - 2010-11-10 15:34:26 阅读(6108) 回复(12)

which "${0##*/}" 中的 "${0##*/}"是什么意思呀

by huanghaojie - Shell - 2008-07-09 16:38:19 阅读(4516) 回复(14)

I don't know wether it‘s appropriate to discuz this when we boot from livecd which is readonly. right? why we can create file on it even we know after reboot it will disappear ? we can vi rename ...whare ever you want where is the place that the tmp file store ? how did it access?

by nuclearxin - Shell - 2008-06-24 15:01:21 阅读(2565) 回复(10)

how to measure [ 本帖最后由 flyingbig 于 2008-4-25 18:23 编辑 ]

by flyingbig - Solaris - 2008-04-25 20:06:27 阅读(1303) 回复(1)