求UNIX下的 /usr/include/sys/cdefs.h [问题点数:20分,结帖人heasebyy]

Bbs1
本版专家分:0
结帖率 100%
Bbs5
本版专家分:3769
Blank
黄花 2005年6月 C++ Builder大版内专家分月排行榜第二
2004年11月 C++ Builder大版内专家分月排行榜第二
Blank
蓝花 2006年5月 C/C++大版内专家分月排行榜第三
2006年5月 C++ Builder大版内专家分月排行榜第三
Bbs2
本版专家分:158
x86
Bbs8
本版专家分:35389
Blank
红花 2008年1月 Linux/Unix社区大版内专家分月排行榜第一
2007年5月 Linux/Unix社区大版内专家分月排行榜第一
2007年4月 Linux/Unix社区大版内专家分月排行榜第一
2007年3月 Linux/Unix社区大版内专家分月排行榜第一
2007年1月 Linux/Unix社区大版内专家分月排行榜第一
2006年6月 Linux/Unix社区大版内专家分月排行榜第一
2005年12月 Linux/Unix社区大版内专家分月排行榜第一
2005年11月 Linux/Unix社区大版内专家分月排行榜第一
2005年10月 Linux/Unix社区大版内专家分月排行榜第一
Blank
黄花 2007年6月 Linux/Unix社区大版内专家分月排行榜第二
2006年12月 Linux/Unix社区大版内专家分月排行榜第二
2006年7月 Linux/Unix社区大版内专家分月排行榜第二
2006年5月 Linux/Unix社区大版内专家分月排行榜第二
2006年4月 Linux/Unix社区大版内专家分月排行榜第二
2006年3月 Linux/Unix社区大版内专家分月排行榜第二
2006年2月 Linux/Unix社区大版内专家分月排行榜第二
2006年1月 Linux/Unix社区大版内专家分月排行榜第二
2002年11月 Linux/Unix社区大版内专家分月排行榜第二
Blank
蓝花 2008年9月 Linux/Unix社区大版内专家分月排行榜第三
2006年8月 Linux/Unix社区大版内专家分月排行榜第三
/usr/include/sys/types.h基本系统数据类型
<em>sys</em>/types.<em>h</em>中文名称为基本系统数据类型。在应用程序源文件中包含 以访问 _LP64 和 _ILP32 的定义。此头文件还包含适当时应使用的多个基本派生类型。所有这些类型在 ILP32 编译环境中保持为 32 位值,并会在 LP64 编译环境中增长为 64 位值。 caddr_t 核心地址。 clock_t 表示系统时间(以时钟周期为单位)。 comp_t 压缩的时钟滴答。 dev_t
QT交叉编译 缺少sys/cdefs.h
交叉编译QT,因为要用的xcb等库,所以直接把开发板内的/lib /<em>usr</em>/lib /<em>usr</em>/<em>include</em>拷贝到了虚拟机,n解压qt源码,配置qmake.confn#n# qmake configuration for building wit<em>h</em> aarc<em>h</em>64-linux-gnu-g++n#nnMAKEFILE_GENERATOR = <em>UNIX</em>nCONFIG += incrementalnQMAKE_INCREMENTAL_STYLE = sublibnn<em>include</em>(../common/linux.conf)n<em>include</em>(../common/gcc-base-unix.conf)n<em>include</em>(../common/g++-unix.conf)nnQMAKE_CXXFLAGS += -I/<em>h</em>ome/ubuntu/yk/<em>usr</em>/<em>include</em>nQMAKE_CXXFLAGS += -I/<em>h</em>ome/ubuntu/yk/<em>usr</em>/<em>include</em>/aarc<em>h</em>64-linux-gnunQMAKE_CFLAGS += -I/<em>h</em>ome/ubuntu/yk/<em>usr</em>/<em>include</em>nQMAKE_CFLAGS += -I/<em>h</em>ome/ubuntu/yk/<em>usr</em>/<em>include</em>/aarc<em>h</em>64-linux-gnunnQMAKE_LFLAGS += /<em>h</em>ome/ubuntu/yk/qt-everyw<em>h</em>ere-opensource-src-5.8.0/qtbase/lib/nQMAKE_LFLAGS += -L/<em>h</em>ome/ubuntu/yk/lib/aarc<em>h</em>64-linux-gnunQMAKE_LFLAGS += -Wl,-rpat<em>h</em>-link,/<em>h</em>ome/ubuntu/yk/lib/aarc<em>h</em>64-linux-gnu nQMAKE_LFLAGS += -L/<em>h</em>ome/ubuntu/yk/<em>usr</em>/lib/aarc<em>h</em>64-linux-gnunQMAKE_LFLAGS += -Wl,-rpat<em>h</em>-link,/<em>h</em>ome/ubuntu/yk/<em>usr</em>/lib/aarc<em>h</em>64-linux-gnunQMAKE_LFLAGS += -L/<em>h</em>ome/ubuntu/yk/libnQMAKE_LFLAGS += -Wl,-rpat<em>h</em>-link,/<em>h</em>ome/ubuntu/yk/libnQMAKE_LFLAGS += -L/<em>h</em>ome/ubuntu/yk/<em>usr</em>/libnQMAKE_LFLAGS += -Wl,-rpat<em>h</em>-link,/<em>h</em>ome/ubuntu/yk/<em>usr</em>/libnnQMAKE_LIBS += -lpt<em>h</em>read -lgobject-2.0 -lglib-2.0 -lpcrenQMAKE_CFLAGS += -O2 -marc<em>h</em>=armv7-a -mfpu=neon -mfloat-abi=<em>h</em>ardnQMAKE_CXXFLAGS += -O2 -marc<em>h</em>=armv7-a -mfpu=neon -mfloat-abi=<em>h</em>ardnnQMAKE_LFLAGS += -L/<em>h</em>ome/ubuntu/yk/libnQMAKE_LFLAGS += -Wl,-rpat<em>h</em>-link,/<em>h</em>ome/ubuntu/yk/libnQMAKE_LFLAGS += -L/<em>h</em>ome/ubuntu/yk/<em>usr</em>/libnQMAKE_LFLAGS += -Wl,-rpat<em>h</em>-link,/<em>h</em>ome/ubuntu/yk/<em>usr</em>/libnn# modifications to g++.confnQMAKE_CC = aarc<em>h</em>64-linux-gnu-gccnQMAKE_CXX = aarc<em>h</em>64-linux-gnu-g++nQMAKE_LINK = aarc<em>h</em>64-linux-gnu-g++nQMAKE_LINK_SHLIB = aarc<em>h</em>64-linux-gnu-g++nn# modifications to linux.confnQMAKE_AR = aarc<em>h</em>64-linux-gnu-ar cqsnQMAKE_OBJCOPY = aarc<em>h</em>64-linux-gnu-objcopynQMAKE_NM = aarc<em>h</em>64-linux-gnu-nm -PnQMAKE_STRIP = aarc<em>h</em>64-linux-gnu-stripnload(qt_config)nnn执行configure后提示错误nnubuntu@ubuntuPC:~/yk/qt-everyw<em>h</em>ere-opensource-src-5.8.0$ ./configure -release -nomake examples -no-iconv -qt-xcb -qpa xcb -no-opengl -<em>sys</em>root /<em>h</em>ome/ubuntu/yk/ -xplatform linux-arm-gnueabi-g++ -prefix /<em>h</em>ome/ubuntu/Qt5.8.0_arm -opensource -confirm-licensen+ cd qtbasen+ /<em>h</em>ome/ubuntu/yk/qt-everyw<em>h</em>ere-opensource-src-5.8.0/qtbase/configure -top-level -release -nomake examples -no-iconv -qt-xcb -qpa xcb -no-opengl -<em>sys</em>root /<em>h</em>ome/ubuntu/yk/ -xplatform linux-arm-gnueabi-g++ -prefix /<em>h</em>ome/ubuntu/Qt5.8.0_arm -opensource -confirm-licensennT<em>h</em>is is t<em>h</em>e Qt Open Source Edition.nnYou are licensed to use t<em>h</em>is software under t<em>h</em>e terms ofnt<em>h</em>e GNU Lesser General Public License (LGPL) version 3.nYou are also licensed to use t<em>h</em>is software under t<em>h</em>e terms ofnt<em>h</em>e GNU General Public License (GPL) version 2.nnYou <em>h</em>ave already accepted t<em>h</em>e terms of t<em>h</em>e Open Source license.nnCreating qmake...n........................................................................................Done.nInfo: creating stas<em>h</em> file /<em>h</em>ome/ubuntu/yk/qt-everyw<em>h</em>ere-opensource-src-5.8.0/.qmake.stas<em>h</em>nInfo: creating super cac<em>h</em>e file /<em>h</em>ome/ubuntu/yk/qt-everyw<em>h</em>ere-opensource-src-5.8.0/.qmake.supernnRunning configuration tests...nC<em>h</em>ecking for gold linker... yesnC<em>h</em>ecking for valid makespec... yesnC<em>h</em>ecking for target arc<em>h</em>itecture... Project ERROR: Could not determine target arc<em>h</em>itecture. See config.log for details.nn查看config.lognnexecuting config test arc<em>h</em>itecturen+ cd /<em>h</em>ome/ubuntu/yk/qt-everyw<em>h</em>ere-opensource-src-5.8.0/qtbase/config.tests/arc<em>h</em> && /<em>h</em>ome/ubuntu/yk/qt-everyw<em>h</em>ere-opensource-src-5.8.0/qtbase/bin/qmake -qtconf /<em>h</em>ome/ubuntu/yk/qt-everyw<em>h</em>ere-opensource-src-5.8.0/qtbase/bin/qt.conf "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += s<em>h</em>ared use_gold_linker console" "QMAKE_CFLAGS += --<em>sys</em>root=/<em>h</em>ome/ubuntu/yk/" "QMAKE_CXXFLAGS += --<em>sys</em>root=/<em>h</em>ome/ubuntu/yk/" "QMAKE_LFLAGS += --<em>sys</em>root=/<em>h</em>ome/ubuntu/yk/" /<em>h</em>ome/ubuntu/yk/qt-everyw<em>h</em>ere-opensource-src-5.8.0/qtbase/config.tests/arc<em>h</em>n+ cd /<em>h</em>ome/ubuntu/yk/qt-everyw<em>h</em>ere-opensource-src-5.8.0/qtbase/config.tests/arc<em>h</em> && MAKEFLAGS= /<em>usr</em>/bin/maken> g++ -c -pipe --<em>sys</em>root=/<em>h</em>ome/ubuntu/yk/ -g -Wall -W -fPIC -I. -I/<em>h</em>ome/ubuntu/yk/qt-everyw<em>h</em>ere-opensource-src-5.8.0/qtbase/mkspecs/linux-g++ -o arc<em>h</em>.o arc<em>h</em>.cppn> In file <em>include</em>d from /<em>h</em>ome/ubuntu/yk/<em>usr</em>/<em>include</em>/stdio.<em>h</em>:27:0,n> from arc<em>h</em>.cpp:43:n> /<em>h</em>ome/ubuntu/yk/<em>usr</em>/<em>include</em>/features.<em>h</em>:367:25: fatal error: <em>sys</em>/<em>cdefs</em>.<em>h</em>: No suc<em>h</em> file or directoryn> compilation terminated.n> Makefile:167: recipe for target 'arc<em>h</em>.o' failedn> make: *** [arc<em>h</em>.o] Error 1nn找不到<em>sys</em>/<em>cdefs</em>.<em>h</em>n但是我配置的目录下面 /<em>h</em>ome/ubuntu/yk/<em>usr</em>/<em>include</em>/aarc<em>h</em>64-linux-gnu 有<em>sys</em>/<em>cdefs</em>.<em>h</em>n找了一天问题了,还缺少配置什么路径?n
HP-UX下gcc编译器报/usr/include/sys/ipc.h出错
系统环境为:rnHP-UX INDEX01 B.11.23 U ia64 (ta)rngcc version 3.4.4编译器rn源程序中的头文件包含顺序如下:rn#<em>include</em> rn#<em>include</em> rn#<em>include</em> rn#<em>include</em> rn#<em>include</em> rn#<em>include</em> rn#<em>include</em> rn#<em>include</em> rn由于要用到共享内存和信号量,所以包含了上叙文件,结果编译器报错了,错误提示如下:rnrn/<em>usr</em>/<em>include</em>/<em>sys</em>/ipc.<em>h</em>:51: error: parse error before "cid_t"rn/<em>usr</em>/<em>include</em>/<em>sys</em>/ipc.<em>h</em>:56: error: parse error before '' tokenrnIn file <em>include</em>d from s<em>h</em>mISIN.c:5:rn/<em>usr</em>/<em>include</em>/<em>sys</em>/s<em>h</em>m.<em>h</em>:82: error: field `s<em>h</em>m_perm' <em>h</em>as incomplete typernIn file <em>include</em>d from s<em>h</em>mISIN.c:6:rn/<em>usr</em>/<em>include</em>/<em>sys</em>/sem.<em>h</em>:91: error: field `sem_perm' <em>h</em>as incomplete typernrn程序采用cc编译器是没有任何问题的,但是由于程序的其他模块必须采用gcc编译器,所以必须得解决这个问题,以前在使用信号量时也曾遇到这个问题,当时我是把#<em>include</em> 注释掉了就可以了,但是共享内存的那个注释掉就出现定义找不到的问题了。rn现在项目时间紧急,哪位大侠能够帮我的,不胜感激!分数如果不够,还可以再加,先谢谢了!rnrnrnrn
Makefile找不到/usr/include
哎,ubuntu下用的eclipse。rn用已有makefile的程序改的,只是添加了:rn [code=c]#<em>include</em> [/code]rn结果就提示找不到,狂汗rnrn然后我尝试在eclipse项目的Pat<em>h</em> and Symbols里面添加了<em>include</em>s:/<em>usr</em>/<em>include</em>。未成功编译。rn之后在makefile中,尝试写了rn[code=c]INCLUDE = -I /<em>usr</em>/<em>include</em>[/code]rn和rn[code=c]INCLUDE_DIRS = /<em>usr</em>/<em>include</em>[/code]rn也都未成功编译。rnrn对makefile真心不了解,我要怎么做啊。。。。。
/usr/include/net/route.h和/usr/include/linux/route.h
linux下 /<em>usr</em>/<em>include</em>/net/route.<em>h</em>和/<em>usr</em>/<em>include</em>/linux/route.<em>h</em>虽然名字相同,但是文件实现还是有差别的。。rnrn这两个文件分别用于什么大场合啊?rnrnrnrn感觉有时候使用不当,会造成struct重定义啊。rn当然还有其他像这样的文件,存在于多个目录但是文件内容却不同的情况。
sys/socket.h"">#include "sys/socket.h"
#<em>include</em> "<em>sys</em>/socket.<em>h</em>"rn在vc98\<em>include</em>\<em>sys</em>下找不到rn是不是要移植什么库rn
Linux源代码包中的/include/linux/socket.h文件和安装完成后/usr/include/sys/socket.h的区别是什么?
在/<em>include</em>/linux/socket.<em>h</em> 没有sendto这个函数的原型rn在/<em>usr</em>/<em>include</em>/<em>sys</em>/socket.<em>h</em>中有sendto这个函数的原型
cdefs.h头文件
<em>cdefs</em>.<em>h</em>头文件 源代码下载中出现行号,花了十分钟去掉了行号 哈哈哈 如有需要请下载
交叉编译时候,怎么避开/usr/lib和/usr/include
rtrn交叉编译时候,老是报版本错误,要移动文件N个,请问怎么才能不要先从默认的/<em>usr</em>/lib开始,而是先从我指定的目录开始
usr/include/freetype2" is unsafe for cross-compilati">warning: include location "/usr/include/freetype2" is unsafe for cross-compilati
warning: <em>include</em> location "/<em>usr</em>/<em>include</em>/freetype2" is unsafe for cross-compilationrn遇到这种情况 该如何处理?rn
#include在unix下编译报错
###make all日志如下rnCompiling t<em>h</em>e worker.c ...rn cc +DD64 -g -c worker.crn"worker.<em>h</em>", line 4: error #2005-D: could not open source file "conio.<em>h</em>"rn #<em>include</em>rn ^rnrn1 error detected in t<em>h</em>e compilation of "worker.c".rn*** Error exit code 2rnrnStop.
我的mysql.h在/usr/include/mysql下面,#include的时候怎么写?
我的mysql.<em>h</em>在/<em>usr</em>/<em>include</em>/mysql下面,#<em>include</em>的时候怎么写?
/usr/include/dirent.h打开、读取、关闭目录
struct dirent { long d_ino; /* inode number */ off_t d_off; /* offset to t<em>h</em>is dirent */ unsigned s<em>h</em>ort d_reclen; /* lengt<em>h</em> of t<em>h</em>is d_name */ c<em>h</em>ar d_nam
链接不了/usr/include/xxxx/xxxx的问题
大家都知道linux的很多开发库的头文件是放在/<em>usr</em>/<em>include</em>下的rn我要用的那些库也是,包括libxml和libgtoprn可他们的目录结构是/<em>usr</em>/<em>include</em>/libgtop-2.0/glibtop也就是中间多了个libgtop2.0导致无法引入头文件rn我又试了下#<em>include</em> 发现还是不行,因为glibtop.<em>h</em>内部找不到其他的头文件了rn因为对linux不是很熟,所以请问大家这个问题要怎么解决,是设置环境变量还是要链接什么,请大家帮个忙
macos 10.14 无法找到/usr/include解决办法
首先XCODE 10 在CommandLineTools工具进行了升级导致ur/incloude文件没有了 因为apple要以后拒绝使用unix风格.....。 这会需要通过 open /Library/Developer/CommandLineTools/Packages/macOS_SDK_<em>h</em>eaders_for_macOS_10.14.pkg 重新安装一遍 CommandLineToo...
/usr/include下的文件时哪里来的
我们平时包含的rn[code=c]rn#<em>include</em> rn#<em>include</em> rn[/code]rn都是包含/<em>usr</em>/<em>include</em> 目录下的头文件吧。rn[size=14px][b]那么,这些头文件是哪里来的,Linux源码么,还是GCC。[/b][/size]
错误在标准库?? /usr/include/g++-3/stl_algobase.h
c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -O0 -g3 -Wall -fno-exceptions -fno-c<em>h</em>eck-new -c msnuser2.cpprnIn file <em>include</em>d from msnuser.<em>h</em>:11,rnfrom msnuser2.cpp:1:rnc<em>h</em>at.<em>h</em>:93:6: warning: no newline at end of filernc<em>h</em>at.<em>h</em>:93:6: warning: no newline at end of filern/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>: In function `_OutputIter copyrn(_InputIter, _InputIter, _OutputIter) [wit<em>h</em> _InputIter = CanS<em>h</em>u **,rn_OutputIter = CanS<em>h</em>u **]':rn/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:184: template instantiation dept<em>h</em>rnexceeds maximum of 17 (use -ftemplate-dept<em>h</em>-NN to increase t<em>h</em>e maximum)rninstantiating `struct iterator_traits'rn/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:184: instantiated from `copy (_InputIter, _InputIter, _OutputIter) [wit<em>h</em> _InputIter = CanS<em>h</em>u **, _OutputIter = CanS<em>h</em>u **]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:1629: instantiated from `deque::_M_reallocate_map (unsigned int, bool) [wit<em>h</em> _Tp = CanS<em>h</em>u, _Alloc = allocator, unsigned int __bufsiz = 0]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:925: instantiated from `deque::_M_reserve_map_at_front (unsigned int) [wit<em>h</em> _Tp = CanS<em>h</em>u, _Alloc = allocator, unsigned int __bufsiz = 0]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:1580: instantiated from `deque::_M_new_elements_at_front (unsigned int) [wit<em>h</em> _Tp = CanS<em>h</em>u, _Alloc = allocator, unsigned int __bufsiz = 0]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:898: instantiated from `deque::_M_reserve_elements_at_front (unsigned int) [wit<em>h</em> _Tp = CanS<em>h</em>u, _Alloc = allocator, unsigned int __bufsiz = 0]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:1256: instantiated from `deque::insert (typename _Deque_base::iterator, _ForwardIterator, _ForwardIterator, forward_iterator_tag) [wit<em>h</em> _ForwardIterator = _Deque_iterator, _Tp = CanS<em>h</em>u, _Alloc = allocator, unsigned int __bufsiz = 0]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:791: instantiated from `deque::_M_insert_dispatc<em>h</em> (typename _Deque_base::iterator, _InputIterator, _InputIterator, __false_type) [wit<em>h</em> _InputIterator = _Deque_iterator, _Tp = CanS<em>h</em>u, _Alloc = allocator, unsigned int __bufsiz = 0]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:778: instantiated from `deque::insert (typename _Deque_base::iterator, _InputIterator, _InputIterator) [wit<em>h</em> _InputIterator = _Deque_iterator, _Tp = CanS<em>h</em>u, _Alloc = allocator, unsigned int __bufsiz = 0]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:621: instantiated from `deque::operator= (const deque &) [wit<em>h</em> _Tp = CanS<em>h</em>u, _Alloc = allocator, unsigned int __bufsiz = 0]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:139: instantiated from `__copy (_RandomAccessIter, _RandomAccessIter, _OutputIter, random_access_iterator_tag, _Distance *) [wit<em>h</em> _RandomAccessIter = _Deque_iterator, _OutputIter = _Deque_iterator, _Distance = ptrdiff_t]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:161: instantiated from `__copy_dispatc<em>h</em>::copy (_InputIter, _InputIter, _OutputIter) [wit<em>h</em> _InputIter = _Deque_iterator, _OutputIter = _Deque_iterator, _BoolType = __false_type]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:188: instantiated from `copy (_InputIter, _InputIter, _OutputIter) [wit<em>h</em> _InputIter = _Deque_iterator, _OutputIter = _Deque_iterator]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:617: instantiated from `deque::operator= (const deque &) [wit<em>h</em> _Tp = Command, _Alloc = allocator, unsigned int __bufsiz = 0]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:139: instantiated from `__copy (_RandomAccessIter, _RandomAccessIter, _OutputIter, random_access_iterator_tag, _Distance *) [wit<em>h</em> _RandomAccessIter = _Deque_iterator, _OutputIter = _Deque_iterator, _Distance = ptrdiff_t]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:161: instantiated from `__copy_dispatc<em>h</em>::copy (_InputIter, _InputIter, _OutputIter) [wit<em>h</em> _InputIter = _Deque_iterator, _OutputIter = _Deque_iterator, _BoolType = __false_type]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:188: instantiated from `copy (_InputIter, _InputIter, _OutputIter) [wit<em>h</em> _InputIter = _Deque_iterator, _OutputIter = _Deque_iterator]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:617: instantiated from `deque::operator= (const deque &) [wit<em>h</em> _Tp = MsnUser, _Alloc = allocator, unsigned int __bufsiz = 0]'rnmsnuser2.cpp:565: instantiated from <em>h</em>erern/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:184: invalid use of undefined typern`struct iterator_traits'rn/<em>usr</em>/<em>include</em>/g++-3/stl_iterator.<em>h</em>:101: forward declaration of `structrniterator_traits'rn/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:186: template instantiation dept<em>h</em>rnexceeds maximum of 17 (use -ftemplate-dept<em>h</em>-NN to increase t<em>h</em>e maximum)rninstantiating `struct iterator_traits'rn/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:186: instantiated from `copy (_InputIter, _InputIter, _OutputIter) [wit<em>h</em> _InputIter = CanS<em>h</em>u **, _OutputIter = CanS<em>h</em>u **]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:1629: instantiated from `deque::_M_reallocate_map (unsigned int, bool) [wit<em>h</em> _Tp = CanS<em>h</em>u, _Alloc = allocator, unsigned int __bufsiz = 0]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:925: instantiated from `deque::_M_reserve_map_at_front (unsigned int) [wit<em>h</em> _Tp = CanS<em>h</em>u, _Alloc = allocator, unsigned int __bufsiz = 0]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:1580: instantiated from `deque::_M_new_elements_at_front (unsigned int) [wit<em>h</em> _Tp = CanS<em>h</em>u, _Alloc = allocator, unsigned int __bufsiz = 0]'rn/<em>usr</em>/<em>include</em>/g++-3/stl_deque.<em>h</em>:898: instantiated from rn...........rnrn/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:291: template argument 1 is invalidrn/<em>usr</em>/<em>include</em>/g++-3/stl_algobase.<em>h</em>:291: template argument 3 is invalidrngmake: *** [msnuser2.o] Error 1rn*** failed ***rnrn怎么都试标准库里的 不是我的代码呢?rnrn环境试linux ad server 3rn这个代码在 red<em>h</em>at 7.3 freebsd 5.4 fc3.0 里面都没有问题的rn在这里有这个问题rn
linux server 5 /usr/src/include 目录?
linux server 5 /<em>usr</em>/src/<em>include</em> 中没有改目录? 我下了一个bz2,是不是解压到该目录,修改为linux 目录就可以了?rnrn还是需要其他操作?rnrn能不能下到.rpm直接安装,我没搜索到!rnrn谢谢大家!
usrinclude下文件究竟是让谁用的
/<em>usr</em>/<em>include</em>下文件究竟是让谁用的,系统函数会用到这里面的头文件吗?还是只给编写应用程序用的
关于/usr/include/下各种unistd的区别
unistd是unix standard的简称,主要封装了一些glibc函数和系统调用相关的定义(个人理解)。具体参考这里:<em>h</em>ttps://z<em>h</em>.wikipedia.org/wiki/Unistd.<em>h</em> 我在linux的/<em>usr</em>/<em>include</em>下发现了有很多unistd文件,具体说来: /<em>usr</em>/<em>include</em>/unistd.<em>h</em> 1 /<em>usr</em>/<em>include</em>/linux/unistd.<em>h</em> ...
/usr/include/linux/in.h:188: error
/<em>usr</em>/<em>include</em>/linux/in.<em>h</em>:188: error: expected specifier-qualifier-list before ‘sa_family_t’rnrnrnrn提示这样的错误要怎么解决?rn
Redhat9的/usr/include/stdio.h有问题吗?
在kylix的bcb中建立一个Console工程,在Unit1.cpp文件里加入#<em>include</em> rn程序就无法运行,提示:rn[C++ Error] stdio.<em>h</em>(46): E2141 Declaration syntax errorrn[C++ Error] stdio.<em>h</em>(51): E2141 Declaration syntax errorrn[C++ Error] stdio.<em>h</em>(88): E2238 Multiple declaration for '__BEGIN_NAMESPACE_STD'rn...rn等26处错误,谁也遇到过了?rnrnrn
Mac OS找不到/usr/include文件夹的解决办法
问题引出: 安装p<em>h</em>p插件: p<em>h</em>pize提示: grep: /<em>usr</em>/<em>include</em>/p<em>h</em>p/main/p<em>h</em>p.<em>h</em>: No suc<em>h</em> file or directory grep: /<em>usr</em>/<em>include</em>/p<em>h</em>p/Zend/zend_modules.<em>h</em>: No suc<em>h</em> file or directory grep: /<em>usr</em>/<em>include</em>/p<em>h</em>p/Zend/zend_extensi...
在solaris8下面,/usr/include/sys里面的那些.h文件是如何安装进去的?
现在我安装的这个SOLARIS8,在/<em>usr</em>/<em>include</em>/<em>sys</em>/里面的.<em>h</em>文件只有寥寥几个,非常的短缺,然而在我的另外一个SOLARIS7里面的/<em>usr</em>/<em>include</em>/<em>sys</em>/目录中的.<em>h</em>文件却很丰富!rn请教各位大侠,我该如何才能把那些.<em>h</em>文件安装到solaris8下面的/<em>usr</em>/<em>include</em>/<em>sys</em>/目录中呢? rn
sys/types.h文件
想用51上跑ucos,看别人做的里面要包含这个头文件,网上找不到rn有人说在这个位置:file://local<em>h</em>ost/<em>usr</em>/<em>include</em>/<em>sys</em>/types.<em>h</em>rn怎么好像跟unix还有关系?rn
SYS的资料
c<em>h</em><em>h</em><em>h</em>py@163.comrnVXD的资料很多rn怎么找不到SYS的?
/usr 的由来及/usr目录结构
linux 文件结构中,有一个很神奇的目录 —— /<em>usr</em>。之前一直没有怎么关注过它,反正程序都是安装在里边的,也没有什么值得追根溯源的东西。直到有一天 fedora 要简化整个文件系统体系,看到讨论才想到,<em>usr</em> 到底是什么的缩写呢,它又是怎么来的呢? 本文转自Delectat.com 讨论中,大部分观点认为: •<em>usr</em> 是 unix <em>sys</em>tem resources 的缩写; ...
请问usr/sys/io.h中inb()与inb_p有什么区别啊?
我看了这个头文件,不明白他们有什么区别,请指教
unix 下的sys/procset.h 是做什么用 ?
unix 下的<em>sys</em>/procset.<em>h</em> 是做什么用 ?
ctags c语言的目录是/usr/include,不是/usr/lib我晕
t t
为什么,我的/usr/include/下没有,没gtk和gdk目录?
gtk,gdk已经装了。为什么,我的/<em>usr</em>/<em>include</em>/下没有,没gtk和gdk目录?这样就不能进行gtk开发。我的/<em>usr</em>/<em>include</em>下只有,gtk-1.2目录,在开发时候#<em>include</em> 就是不能。怎么办?rn
redhat 9.0下好像在usr/include目录下部包含?
大家有没有发现啊,可是我需要这个头文件,怎么办呢?
g++编译出错.../usr/include/c++/3.2.2/backward/iostream.h...
demo:rn#<em>include</em> rnint main(void)rnrn cout<<
【Mac OS下C++开发】找不到usr/include文件夹的解决办法
问题引出在Mac OS下做C/C++开发,发现一些头文件找不到问题原因由于Mac OS版本更新升级或是Xcode升级导致的解决办法在终端执行以下命令,问题解决xcode-select --install...
Unix
哪位大哥知道在哪里能下Unix完整版(版本不要<em>求</em>,最好要新),重谢!
linux中的/usr/include中的函数原型定义在哪里啊?
linux中的/<em>usr</em>/<em>include</em>中的函数原型定义在哪里啊?rnrn好多的头文件只是声明函数,那么这些函数的原形是在哪个文件下面啊?
拜托,谁能给我发一个Linux系统下的/usr/include/secutiry/pam_misc.h文件?
贴上来也行,发邮箱也行,谢谢!rnleoc<em>h</em>en2008@<em>h</em>otmail.com
请教下 修改 /usr/include/linux/socket.h 后 怎么生效
RTrn请教下 修改 /<em>usr</em>/<em>include</em>/linux/socket.<em>h</em> 后 怎么生效rnrnrn或者 rnrnrnrnunix网络编程 rn中 有源代码的安装 rn中 出错 rn[root@ccic204 libroute]# makerngcc -I../lib -g -O2 -D_REENTRANT -Wall -c -o get_rtaddrs.o get_rtaddrs.crnget_rtaddrs.c: In function ‘get_rtaddrs’:rnget_rtaddrs.c:24: error: ‘struct sockaddr’ <em>h</em>as no member named ‘sa_len’rnget_rtaddrs.c:24: error: ‘struct sockaddr’ <em>h</em>as no member named ‘sa_len’rnget_rtaddrs.c:24: error: ‘struct sockaddr’ <em>h</em>as no member named ‘sa_len’rnget_rtaddrs.c:24: error: ‘struct sockaddr’ <em>h</em>as no member named ‘sa_len’rnmake: *** [get_rtaddrs.o] Error 1rnrn怎么解
fedora 15找不到/usr/include/X11,怎么回事?急
在fedora 15上安装kcac<em>h</em>egrind,提示“c<em>h</em>ecking for X... configure: error: Can't find X <em>include</em>s. Please c<em>h</em>eck your installation and add t<em>h</em>e correct pat<em>h</em>s!”,奇怪X11不是默认安装的吗?<em>求</em>教我该怎么找到我的X11呢?
/usr/include/bits/syscall.h定义的系统调用号,并不是数字啊?
我看ubuntu上面的/<em>usr</em>/<em>include</em>/bits/<em>sys</em>call.<em>h</em>里面,系统调用例如SYS_write都是rnrn#define SYS_write __NR_writern可是__NR_write这样的符号定义又在哪里呢? 我认为SYS_write应该被定义成一个数字,对应内核里面的系统调用号的。对吗?rnrn谢谢
解决macOS /usr/include 无法写入或者不存在的问题
macOS /<em>usr</em>/<em>include</em> 目录不存在,在终端运行 xcode-select --install,等待软件安装,大概 10 分钟左右 /<em>usr</em>/<em>include</em> 目录无法写入,关机重启,按 command + r 键进入 recovery 模式,在工具中选择命令行,键入 csrutil disable,提示成功后,键入reboot 重启,在进行写入操作。写完之后再进入 recovery 模式
关于debian中的/usr/include的问题,高手帮忙看看吧
刚装好的debian,由于是在工控机上装,为节省空间,就装了个基本系统,然后apt-get install了一下gcc、gdb、make,接着装板卡驱动的时候提示需要/<em>usr</em>/linux/version.<em>h</em>,我进/<em>usr</em>/<em>include</em>里面一看,居然只有一个.<em>h</em>的文件,连linux这个文件夹都没有。rnrn高手指点一下,这里的文件要怎么样装进去?最起码什么stdio.<em>h</em>之类的文件也应该有吧。还有这里的linux目录以及里面的文件,应该怎么装?rn
如何将/usr/include/i386-linux-gnu加入到gcc的编译路径里面
假设/<em>usr</em>/<em>include</em>/i386-linux-gnu里有一个文件a.<em>h</em>rnrn我在/<em>h</em>ome下面有个文件为a.crn该a.c使用#<em>include</em> 包含上述a.<em>h</em>,rnrn我该如何设定路径呢???
/usr/include/qt4/QtCore/qatomic_i386.h:132: error: impossible constraint in 'asm
交叉编译Qt程序的时候遇到这个问题该如何解决啊?rn头都弄大了
/usr/include/asm/目录,其中asm代表什么意思???
如题rnrn还有在内核源代码目录下,有很多asm目录,例如<em>include</em>/asm-arm/ <em>include</em>/asm-i386/ 都代表什么意思rnrn如果asm是个缩写,告诉我全称吧
ubuntu12.04 /usr/include/asm-generic/unistd.h 中的系统调用号是错的?
在ubuntu12.04的 /<em>usr</em>/<em>include</em>/asm-generic/unistd.<em>h</em> 文件中内容如下:rnrn#define __NR_io_setup 0rn__SC_COMP(__NR_io_setup, <em>sys</em>_io_setup, compat_<em>sys</em>_io_setup)rn#define __NR_io_destroy 1rn__SYSCALL(__NR_io_destroy, <em>sys</em>_io_destroy)rn#define __NR_io_submit 2rn__SC_COMP(__NR_io_submit, <em>sys</em>_io_submit, compat_<em>sys</em>_io_submit)rn#define __NR_io_cancel 3rn__SYSCALL(__NR_io_cancel, <em>sys</em>_io_cancel)rn#define __NR_io_getevents 4rn__SC_COMP(__NR_io_getevents, <em>sys</em>_io_getevents, compat_<em>sys</em>_io_getevents)rnrn/* fs/xattr.c */rn#define __NR_setxattr 5rn__SYSCALL(__NR_setxattr, <em>sys</em>_setxattr)rn#define __NR_lsetxattr 6rn__SYSCALL(__NR_lsetxattr, <em>sys</em>_lsetxattr)rn#define __NR_fsetxattr 7rn__SYSCALL(__NR_fsetxattr, <em>sys</em>_fsetxattr)rn#define __NR_getxattr 8rn__SYSCALL(__NR_getxattr, <em>sys</em>_getxattr)rn#define __NR_lgetxattr 9rn__SYSCALL(__NR_lgetxattr, <em>sys</em>_lgetxattr)rn#define __NR_fgetxattr 10rn__SYSCALL(__NR_fgetxattr, <em>sys</em>_fgetxattr)rn#define __NR_listxattr 11rn__SYSCALL(__NR_listxattr, <em>sys</em>_listxattr)rn#define __NR_llistxattr 12rn__SYSCALL(__NR_llistxattr, <em>sys</em>_llistxattr)rn#define __NR_flistxattr 13rn__SYSCALL(__NR_flistxattr, <em>sys</em>_flistxattr)rn#define __NR_removexattr 14rn__SYSCALL(__NR_removexattr, <em>sys</em>_removexattr)rn#define __NR_lremovexattr 15rn__SYSCALL(__NR_lremovexattr, <em>sys</em>_lremovexattr)rn#define __NR_fremovexattr 16rn__SYSCALL(__NR_fremovexattr, <em>sys</em>_fremovexattr)rnrn/* fs/dcac<em>h</em>e.c */rn#define __NR_getcwd 17rn__SYSCALL(__NR_getcwd, <em>sys</em>_getcwd)rnrn/* fs/cookies.c */rn#define __NR_lookup_dcookie 18rn__SC_COMP(__NR_lookup_dcookie, <em>sys</em>_lookup_dcookie, compat_<em>sys</em>_lookup_dcookie)rnrn/* fs/eventfd.c */rn#define __NR_eventfd2 19rn__SYSCALL(__NR_eventfd2, <em>sys</em>_eventfd2)rnrn/* fs/eventpoll.c */rn#define __NR_epoll_create1 20rn__SYSCALL(__NR_epoll_create1, <em>sys</em>_epoll_create1)rn#define __NR_epoll_ctl 21rn__SYSCALL(__NR_epoll_ctl, <em>sys</em>_epoll_ctl)rn#define __NR_epoll_pwait 22rn__SC_COMP(__NR_epoll_pwait, <em>sys</em>_epoll_pwait, compat_<em>sys</em>_epoll_pwait)rnrn/* fs/fcntl.c */rn#define __NR_dup 23rn__SYSCALL(__NR_dup, <em>sys</em>_dup)rn#define __NR_dup3 24rn__SYSCALL(__NR_dup3, <em>sys</em>_dup3)rn#define __NR3264_fcntl 25rn__SC_COMP_3264(__NR3264_fcntl, <em>sys</em>_fcntl64, <em>sys</em>_fcntl, compat_<em>sys</em>_fcntl64)rnrn/* fs/inotify_user.c */rn#define __NR_inotify_init1 26rn__SYSCALL(__NR_inotify_init1, <em>sys</em>_inotify_init1)rn#define __NR_inotify_add_watc<em>h</em> 27rn__SYSCALL(__NR_inotify_add_watc<em>h</em>, <em>sys</em>_inotify_add_watc<em>h</em>)rn#define __NR_inotify_rm_watc<em>h</em> 28rn__SYSCALL(__NR_inotify_rm_watc<em>h</em>, <em>sys</em>_inotify_rm_watc<em>h</em>)rnrn/* fs/ioctl.c */rn#define __NR_ioctl 29rn__SC_COMP(__NR_ioctl, <em>sys</em>_ioctl, compat_<em>sys</em>_ioctl)rnrn/* fs/ioprio.c */rn#define __NR_ioprio_set 30rn__SYSCALL(__NR_ioprio_set, <em>sys</em>_ioprio_set)rn#define __NR_ioprio_get 31rn__SYSCALL(__NR_ioprio_get, <em>sys</em>_ioprio_get)rnrn/* fs/locks.c */rn#define __NR_flock 32rn__SYSCALL(__NR_flock, <em>sys</em>_flock)rnrn/* fs/namei.c */rn#define __NR_mknodat 33rn__SYSCALL(__NR_mknodat, <em>sys</em>_mknodat)rn#define __NR_mkdirat 34rn__SYSCALL(__NR_mkdirat, <em>sys</em>_mkdirat)rn#define __NR_unlinkat 35rn__SYSCALL(__NR_unlinkat, <em>sys</em>_unlinkat)rn#define __NR_symlinkat 36rn__SYSCALL(__NR_symlinkat, <em>sys</em>_symlinkat)rn#define __NR_linkat 37rn__SYSCALL(__NR_linkat, <em>sys</em>_linkat)rn#define __NR_renameat 38rn__SYSCALL(__NR_renameat, <em>sys</em>_renameat)rnrn/* fs/namespace.c */rn#define __NR_umount2 39rn__SYSCALL(__NR_umount2, <em>sys</em>_umount)rn#define __NR_mount 40rn__SC_COMP(__NR_mount, <em>sys</em>_mount, compat_<em>sys</em>_mount)rn#define __NR_pivot_root 41rn__SYSCALL(__NR_pivot_root, <em>sys</em>_pivot_root)rnrn/* fs/nfsctl.c */rn#define __NR_nfsservctl 42rn__SYSCALL(__NR_nfsservctl, <em>sys</em>_ni_<em>sys</em>call)rnrn/* fs/open.c */rn#define __NR3264_statfs 43rn__SC_COMP_3264(__NR3264_statfs, <em>sys</em>_statfs64, <em>sys</em>_statfs, \rn compat_<em>sys</em>_statfs64)rn#define __NR3264_fstatfs 44rn__SC_COMP_3264(__NR3264_fstatfs, <em>sys</em>_fstatfs64, <em>sys</em>_fstatfs, \rn compat_<em>sys</em>_fstatfs64)rn#define __NR3264_truncate 45rn__SC_COMP_3264(__NR3264_truncate, <em>sys</em>_truncate64, <em>sys</em>_truncate, \rn compat_<em>sys</em>_truncate64)rn#define __NR3264_ftruncate 46rn__SC_COMP_3264(__NR3264_ftruncate, <em>sys</em>_ftruncate64, <em>sys</em>_ftruncate, \rn compat_<em>sys</em>_ftruncate64)rnrn#define __NR_fallocate 47rn__SC_COMP(__NR_fallocate, <em>sys</em>_fallocate, compat_<em>sys</em>_fallocate)rn#define __NR_faccessat 48rn__SYSCALL(__NR_faccessat, <em>sys</em>_faccessat)rn#define __NR_c<em>h</em>dir 49rn__SYSCALL(__NR_c<em>h</em>dir, <em>sys</em>_c<em>h</em>dir)rn#define __NR_fc<em>h</em>dir 50rn__SYSCALL(__NR_fc<em>h</em>dir, <em>sys</em>_fc<em>h</em>dir)rn#define __NR_c<em>h</em>root 51rn__SYSCALL(__NR_c<em>h</em>root, <em>sys</em>_c<em>h</em>root)rn#define __NR_fc<em>h</em>mod 52rn__SYSCALL(__NR_fc<em>h</em>mod, <em>sys</em>_fc<em>h</em>mod)rn#define __NR_fc<em>h</em>modat 53rn__SYSCALL(__NR_fc<em>h</em>modat, <em>sys</em>_fc<em>h</em>modat)rn#define __NR_fc<em>h</em>ownat 54rn__SYSCALL(__NR_fc<em>h</em>ownat, <em>sys</em>_fc<em>h</em>ownat)rn#define __NR_fc<em>h</em>own 55rn__SYSCALL(__NR_fc<em>h</em>own, <em>sys</em>_fc<em>h</em>own)rn#define __NR_openat 56rn__SC_COMP(__NR_openat, <em>sys</em>_openat, compat_<em>sys</em>_openat)rn#define __NR_close 57rn__SYSCALL(__NR_close, <em>sys</em>_close)rn#define __NR_v<em>h</em>angup 58rn__SYSCALL(__NR_v<em>h</em>angup, <em>sys</em>_v<em>h</em>angup)rnrn/* fs/pipe.c */rn#define __NR_pipe2 59rn__SYSCALL(__NR_pipe2, <em>sys</em>_pipe2)rnrn/* fs/quota.c */rn#define __NR_quotactl 60rn__SYSCALL(__NR_quotactl, <em>sys</em>_quotactl)rnrn/* fs/readdir.c */rn#define __NR_getdents64 61rn__SC_COMP(__NR_getdents64, <em>sys</em>_getdents64, compat_<em>sys</em>_getdents64)rnrn/* fs/read_write.c */rn#define __NR3264_lseek 62rn__SC_3264(__NR3264_lseek, <em>sys</em>_llseek, <em>sys</em>_lseek)rn#define __NR_read 63rn__SYSCALL(__NR_read, <em>sys</em>_read)rn#define __NR_write 64rn__SYSCALL(__NR_write, <em>sys</em>_write)rn#define __NR_readv 65rn__SC_COMP(__NR_readv, <em>sys</em>_readv, compat_<em>sys</em>_readv)rn#define __NR_writev 66rn__SC_COMP(__NR_writev, <em>sys</em>_writev, compat_<em>sys</em>_writev)rn#define __NR_pread64 67rn__SC_COMP(__NR_pread64, <em>sys</em>_pread64, compat_<em>sys</em>_pread64)rn#define __NR_pwrite64 68rn__SC_COMP(__NR_pwrite64, <em>sys</em>_pwrite64, compat_<em>sys</em>_pwrite64)rn#define __NR_preadv 69rn__SC_COMP(__NR_preadv, <em>sys</em>_preadv, compat_<em>sys</em>_preadv)rn#define __NR_pwritev 70rn__SC_COMP(__NR_pwritev, <em>sys</em>_pwritev, compat_<em>sys</em>_pwritev)rnrnrnrnrnrnrn在汇编代码中;rn.section .datarnoutput: .asciz "T<em>h</em>is is a test string\n"rnoutput_end:rn.equ len, output_end-outputrn.section .textrn.globl _startrn_start:rn movl $64,%eaxrn movl $1,%ebxrn movl $output,%ecxrn movl $len,%edxrn int $0x80rn movl $1,%eaxrn movl $0,%ebxrn int $0x80rn运行时没有输出,而rn.section .datarnoutput: .asciz "T<em>h</em>is is a test string\n"rnoutput_end:rn.equ len, output_end-outputrn.section .textrn.globl _startrn_start:rn movl $4,%eaxrn movl $1,%ebxrn movl $output,%ecxrn movl $len,%edxrn int $0x80rn movl $1,%eaxrn movl $0,%ebxrn int $0x80rn输出了T<em>h</em>is is a test stringrnrnrn真的是文件出错了?
TC2.0 的graphics.h头文件复制到/usr/include/graphics.h 编译时出错 ?
rnrnTC2.0 的grap<em>h</em>ics.<em>h</em>头文件复制到/<em>usr</em>/<em>include</em>/grap<em>h</em>ics.<em>h</em> 编译时出错 ?rn在WINDOWS 下C/C++均可 !!
为什么在debian的/usr/include里面没有gtk的文件夹
是不是没有装gtk? rn但是可以用startx启动图形,进入gnome, 而且在/<em>usr</em>/lib里面有gtk2.0的目录 rn里面都是动态连接库 rn本人是linux的初学者,想在gnome中用gtk编程,但是用find根本找不到头文件gtk.<em>h</em> rn rn只要是有关这方面知识,本人都愿意洗耳恭听,谢谢!!
ubuntu目录/usr/include/linux目录下的stddef.h文件怎么是空的?
其他的头文件都是有内容的,就这一个没有.
sys/types.hsys/stat.h
应用程序源文件中包含 #<em>include</em> 以访问 _LP64 和 _ILP32 的定义rn_LP64和_ILP32 什么意思?rn#<em>include</em> rn在源程序中有什么作用?
include在Linq解释
代码: result = (from k in context.KPIsrn .Include("BaseKPI")rn .Include("A")rn .Include("B")rn .Include("C")rn from r in context.Drn w<em>h</em>ere r.TargetKPI.KPIId == t<em>h</em>is.KPIIdrn && k.KPIId == r.ReferenceKPI.KPIIdrn select k).ToList();rnrn这些<em>include</em>内容是要join的数据库表吗?可是数据库里面没有B表,只有类似于B名称的表B1 这是怎么回事?rn 另外, == t<em>h</em>is.KPIId 是哪个表的KPIId 列? 是否可以相当于如下sql代码:rn select * from kpis k join A km on k.KPIId=km.KPI_KPIId join B e on k.KPIId=e.KPI_KPIId join C kmcfrn on k.KPIId=kmcf.KPI_KPIId join D kr on k.KPIId=kr.ReferenceKPI_KPIId and k.KPIId=kr.TargetKPI_KPIIdrn???rn谢谢!!rn
include 冲突的解决方法
我在见了二个窗体。rn在A 窗体的头文件里面导入了 b 窗体的头文件,rn在B 窗体的头文件里面导入了 A 窗体的头文件后现在编译错误。rn请教二个窗体互相调用怎样导入才可以互相使用呢?rn
关于#include,指教
预编译这一块一直不懂,今天在包含自己定义的头文件中又出问题了,自己的一个a.CPP文件,然后在a.<em>h</em>头文件中声明的一些函数p,并且在头文件中<em>include</em>了另一个头文件b.<em>h</em>中的结构q,结构在a.cpp中用rn[code=C/C++]rn#<em>include</em>rn#<em>include</em>rn[/code]rn各种无法识别,后来改成rn[code=C/C++]rn#<em>include</em>rn#<em>include</em>rn[/code]rn就好了,想问问这是什么机制造成的
wpdpack问题(Cannot open include file: 'sys/time.h')
编写程序:rn[code=C/C++]#<em>include</em> rnvoid main()rnrn c<em>h</em>ar error_content[PCAP_ERRBUF_SIZE]; /*存储错误信息*/rn struct in_addr net_ip_address; /*网络地址*/rn struct in_addr net_mask_address; /*掩码地址*/rn c<em>h</em>ar *net_interface; /*网络接口*/rn c<em>h</em>ar *net_ip_string; /*网络地址*/rn c<em>h</em>ar *net_mask_string; /*网络掩码*/rn u_int32_t net_ip; rn u_int32_t net_mask;rn net_interface = pcap_lookupdev(error_content); /*获得可用的网络接口*/rn pcap_lookupnet(net_interface,&net_ip,&net_mask,error_content); /*获得网络接口的网络地址和网络掩码*/rn net_ip_address.s_addr = net_ip;rn net_ip_string = inet_ntoa(net_ip_address); /*获得网络地址*/rn printf("网络地址:%s\n",net_ip_string);rn net_mask_address.s_addr = net_mask;rn net_mask_string = inet_ntoa(net_mask_address);rn printf("网络掩码:%s\n",net_mask_string);rn[/code]用的是VS2008.编译时提示错误:d:\tools\vs9.0\projects\project1\wpdpack\<em>include</em>\pcap.<em>h</em>(47) : fatal error C1083: Cannot open <em>include</em> file: '<em>sys</em>/time.<em>h</em>': No suc<em>h</em> file or directory。。网上有一说是应该用time.<em>h</em>..可这是wpdpack里面的头文件pcap.<em>h</em>里的内容。会错么??到底原因是什么,网上找一天了,没找到解决方案。。各位高手,帮帮忙
大家帮忙这个问题Cannot open include file: 'sys/param.h'
我调试VC的时候 遇到这个问题rnCannot open <em>include</em> file: '<em>sys</em>/param.<em>h</em>'rn不知道怎么解决rn给提示一下吧 呵呵
Cannot open include file: 'sys/time.h': No such file or directory
我在vc 6.0下编译报以下的错是不是我的加动态连接库呢?是哪个库呢?
Linux编程#include 等一些头文件在哪里
在Linux下编写C程序的时候,对于头文件的包含会经常有 #<em>include</em> #<em>include</em> 等等这样的引用。 但是这些文件在哪里呢?  查找发现  一般在/<em>usr</em>/<em>include</em>这个目录下。这是gcc的默认头文件目录 对于子文件夹会在文件名前面加上子文件的名字这就是为什么会出现 <em>sys</em>/types.<em>h</em>的原因了
conn sys/sys as sysdba连接失败
conn <em>sys</em>/<em>sys</em> as <em>sys</em>dba连接失败,但是conn / as <em>sys</em>dba连接成功,不知是什么原因?remote_login_passwordfile=EXCLUSIVE。详细描述如下:rnrnSQL> conn <em>sys</em>/<em>sys</em> as <em>sys</em>dbarnERROR:rnORA-00600: internal error code, arguments: [kzsrgpw], [], [], [], [], [], [],rn[]rnrnSQL> conn / as <em>sys</em>dbarnConnected.rn
usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin"分解">shell 下面如何将PATH="/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin"分解
比如:rnPATH="/<em>usr</em>/gnu/bin:/<em>usr</em>/local/bin:/<em>usr</em>/ucb:/bin:/<em>usr</em>/bin"rn我的目的是要把PATH分解成 /<em>usr</em>/gnu/bin,/<em>usr</em>/local/bin,/<em>usr</em>/ucb,/bin,/<em>usr</em>/bin这五个部分,然后分别判断它们的有效性,其中“:”个数未知
/usr 助!
挂载点/<em>usr</em> 下到底存放的是什么东西?rn我给它分配了8G空间~rn装好之后,更新一次内核~rn编译安装过程中显示空间不足,错误退出~rn然后#df -<em>h</em>rn结果/<em>usr</em>使用率百分之百...rn删除/<em>usr</em>下一个2G的文件夹,过后使用率仍然是100%~rn这是为什么呢?rn如何解决?
/usr/share/icon,和/usr/share/pixmap
请问这两个路径里存放的文件都分别是干什么,谢谢了!
include_path='.:/usr/share/php:/usr/share/pear'
Fatal error: require_once(): Failed opening required '../exception/db_exception.p<em>h</em>p' (<em>include</em>_pat<em>h</em>='.:/<em>usr</em>/s<em>h</em>are/p<em>h</em>p:/<em>usr</em>/s<em>h</em>are/pear') rnRT,我确保我的引用路径是对的,但是依然提示我failed to open,我把权限改成了777,依然有该问题,<em>求</em>助
#include #include
谁知道在哪能下载到这两个头文件啊 我安装华硕的Kinect后找不到,哪位大神有的话能不能发一份到我邮箱啊 1521991418@qq.com
#include 与#include
//正确rn#<em>include</em> rn#<em>include</em> rnusing namespace std;rnrnvoid main(void)rnrn string str("d<em>h</em>ielsppe");rn cout <
includeinclude
我在项目的一个类中需要#<em>include</em> #pragma comment(lib,"WS2_32.lib"),而在另一个类中因为要用到CSocket需要#<em>include</em> 。这样的话就会报错许多的winsock2.<em>h</em>和winsock.<em>h</em>里面东西redefinition了。(两个类需要互相<em>include</em>)rn但如果我不#<em>include</em> ,或者用winsock2.<em>h</em>则识别不出CSocket。把CSocket改为SOCKET吧,下面的CSocket.Creat又出错。rn请问如何是好呢?
#include 和 #include
我想知道二者的实质区别是什么.rn使用前者便可用命名空间std来使用cout,cin.rn使用后者好像并没有包含std中对cout等的定义,如果使用std::cout,编译会提示std中并无cout这个成员.但是可以直接使用cout,和cin.rnrn这是为什么呢,两种形式包含的是同一个头文件吗?
VS2010的include完整的文件
我成功安装了VS2010后,测试Helloworld的程序,可是提示无法打开stdio.<em>h</em>,我打开VS安装文件的VS2010\vc\<em>include</em>文件后,发现里面只有4个文件如截图[img=<em>h</em>ttps://img-bbs.csdn.net/upload/201305/21/1369109034_533157.png][/img],<em>求</em>完整版的<em>include</em>文件,打包压缩发送到acerai@163.com,或者解决的办法,谢谢!
Android include问题,解决!!
Android 调用多个<em>include</em>控制invisity属性停止运行,<em>求</em>大神解决!!
RequestDispatcher实现类include()的源码
public void <em>include</em>(ServletRequest req, ServletResponse resp) t<em>h</em>rows ServletException, IOException if (req instanceof HttpServletRequestAdaptor)rn req = ((HttpServletRequestAdaptor) req).getRequest();3637 requestDispatc<em>h</em>er.<em>include</em>(req, resp); rnrn这是我找到的,但还是要调用,没有实际告诉怎样将请<em>求</em>合并rnrn还有我经常像这样找不到源码,请问怎样才能快点找到想要的源码rn是不是我找的地方不对rnrn也理解不到rn<em>include</em>()rn <em>include</em>();rnrn这种形式的代码.
一个include 头文件功能.
C++ 中 #<em>include</em>"x.<em>h</em>pp" x.<em>h</em>pp在Pat<em>h</em>Head中rnVS 或者其他IDE 都提供一种方法添加Pat<em>h</em>Head去<em>include</em>rn这样 我们只需要 写成 #<em>include</em>"x.<em>h</em>pp" 就可以了.rn我的问题是:如何不通过IDE.rn比如 #<em>include</em> Pat<em>h</em>A+"x.<em>h</em>pp" //只是做个假设 rn我就是想把<em>include</em>路径写到一个文件里面去. rn同样的 lib路径也需要rn比如 :#pragma comment(lib,Pat<em>h</em>Lib+"x.lib")rnrn就是想把Pat<em>h</em>Head 和 Pat<em>h</em>Lib 写到一个文件中去.rn
一SQL,关于include
rn有一表结构:rn 编号 指定人 时间rn id assign timern记录 001 test ..rn 002 test,test1 ...rn 003 test1,test2 ...rnrnrn现在想从中选出指定人(assign)包含test值的记录,即想选出001和002记录来,这个sql 的条件怎么写,请大虾赐教,谢谢!rnrnselect * from dtl w<em>h</em>ere ...... ?
unix 入门书 及如何学习unix
如题rnrn一周结账
unix书籍
我是初学者,<em>求</em><em>UNIX</em>的初级知识书籍
UNIX 程序员手册
在下拜<em>求</em><em>UNIX</em>程序员手册,英文的也可以.希望有朋友能提供,下载地址也行.小弟这有理了.
UNIX电子书籍
有基本unix的经典书籍,相信很多人都有,小弟我因开发需要,刚刚涉及小型机的管理,希望各位大虾慷慨相助rnrnO'Reilly的《<em>UNIX</em> Power Tools》 英文/中文(简繁皆可)rnrnO'Reilly 的 Essential System Administration, Second Edition 英文/繁体中文rnrn<em>UNIX</em> System Administration Handbook(T<em>h</em>ird Edition) rnrn其他有关Solaris,HP-UN的实用资料,如果有,希望可以共享一下rnrn小弟现在刚到一大公司,做电信经营分析系统的ETL,急切需要掌握以上操作系统的基本使用和管理,多多帮助,谢谢 rnrn我的邮箱 repou@vip.sina.com
Unix的安装步骤!!!
谁能告诉我unix的安装方法呢?不胜感激!
书《UNIX网络编程》
<em>求</em>书《<em>UNIX</em>网络编程》,[美]W.Ric<em>h</em>ard Stevens著,电子版,急需!rn我的邮箱w<em>h</em>oonline@eyou.com
sqlplus sys/xx@orcl 报错ora-12518,指点
sqlplus <em>sys</em>/xx@orcl 报错ora-12518rnERROR:rnORA-12518: TNS:listener could not <em>h</em>and off client connectionrnrn网上搜索了下,没找到我要的答案。rn请<em>求</em>高手指导rnrnLSNRCTL> STATUSrnConnecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=build)(PORT=1521)))rnSTATUS of t<em>h</em>e LISTENERrn------------------------rnAlias LISTENERrnVersion TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - ProdurnctionrnStart Date 20-MAR-2013 14:32:39rnUptime 0 days 0 <em>h</em>r. 10 min. 11 secrnTrace Level offrnSecurity ON: Local OS Aut<em>h</em>enticationrnSNMP OFFrnListener Parameter File D:\oralce11\product\11.2.0\db<em>h</em>ome_1\network\admin\listrnener.orarnListener Log File d:\oralce11\diag\tnslsnr\build\listener\alert\log.xmlrnListening Endpoints Summary...rn (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=build)(PORT=1521)))rnServices Summary...rnService "CLRExtProc" <em>h</em>as 1 instance(s).rn Instance "CLRExtProc", status UNKNOWN, <em>h</em>as 3 <em>h</em>andler(s) for t<em>h</em>is service...rnService "ORCL" <em>h</em>as 1 instance(s).rn Instance "orcl", status UNKNOWN, <em>h</em>as 1 <em>h</em>andler(s) for t<em>h</em>is service...rnT<em>h</em>e command completed successfullyrnrn我的tnsnames.ora:rn# tnsnames.ora Network Configuration File: D:\oralce11\product\11.2.0\db<em>h</em>ome_1\network\admin\tnsnames.orarn# Generated by Oracle configuration tools.rnrnORACLR_CONNECTION_DATA =rn (DESCRIPTION =rn (ADDRESS_LIST =rn (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))rn )rn (CONNECT_DATA =rn (SID = CLRExtProc)rn (PRESENTATION = RO)rn )rn )rnrnorcl =rn (DESCRIPTION =rn (ADDRESS_LIST =rn (ADDRESS = (PROTOCOL = TCP)(HOST = local<em>h</em>ost)(PORT = 1521))rn )rn (CONNECT_DATA =rn (SID = orcl)rn (SERVER = DEDICATED)rn )rn ) rnrnlistener.ora 文件rn# listener.ora Network Configuration File: D:\oralce11\product\11.2.0\db<em>h</em>ome_1\network\admin\listener.orarn# Generated by Oracle configuration tools.rnrnSID_LIST_LISTENER =rn (SID_LIST =rn (SID_DESC =rn (SID_NAME = CLRExtProc)rn (ORACLE_HOME = D:\oralce11\product\11.2.0\db<em>h</em>ome_1)rn (PROGRAM = extproc)rn (ENVS = "EXTPROC_DLLS=ONLY:D:\oralce11\product\11.2.0\db<em>h</em>ome_1\bin\oraclr11.dll")rn )rn )rnrnLISTENER =rn (DESCRIPTION_LIST =rn (DESCRIPTION =rn (ADDRESS = (PROTOCOL = TCP)(HOST = build)(PORT = 1521))rn (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))rn )rn )rnrnADR_BASE_LISTENER = D:\oralce11rn
UNIX网络编程书籍
哪位大侠有的,发个我。rn万分感谢!!!rnrnmicro_triangle@126.com
Unix AIX 下载地址
各位前辈请给小弟个Unix OS地址,小弟感激不尽。
Unix命令大全
<em>求</em>Unix命令大全!多谢,邮箱 <em>h</em>appyzxn@163.com
unix经典书籍
小弟初学unix ,不知道哪本书比较经典啊
一本UNIX电子书籍
<em>求</em>一本<em>UNIX</em>电子书籍。rnrn大虾们请教
《Unix网络编程》电子版!
一共两卷:好像是机械工业出版社的,中(简体)英文均可,收到再开贴字给分!
问:sys/wait.h 是unix下的一个宏吗?
<em>sys</em>/wait.<em>h</em> 是unix下的一个宏吗?这个宏主要的功能是什么?哪里可以搞到它的原码?希望高手指点,谢谢!
长沙的unix高手
??
unix 下运行什么命令会出现像window里面那个数据源配置窗口 在unix 的在/usr/bin下
unix 下运行什么命令会出现像window里面那个数据源配置窗口rnrn 在unix 的在/<em>usr</em>/bin下那一个啊, 问题在/<em>usr</em>/bin下有N多个文件
sco unix 下socket编程,编译时提示/usr/include/arpa/inet.h dubious tag declaration:struct in_addr why?如何解决?谢谢!!!
-
sys/**.h sys文件夹里面的头文件
socket.<em>h</em> uio.<em>h</em> types.<em>h</em> <em>cdefs</em>.<em>h</em> fcntl.<em>h</em> file.<em>h</em> locking.<em>h</em> param.<em>h</em> .utime.<em>h</em>.. GNU 里面的C library,,对应的头文件
sys/types.hsys/stat.h文件的引用问题
我在网上下载了以下这样的一段代码,但是对于程序中引用的两个头文件不是很明白,希望大家可以指点下。rn程序引用到了<em>sys</em>/types.<em>h</em>和<em>sys</em>/stat.<em>h</em>这两个头文件。起初我不明白这两个头文件的作用,我就百度了一下,说是在Unix/Linux系统编程要用到的头文件,于是我就纳闷了,既然是在Unix/Linux系统下用到的,为什么我的程序在win7系统下用VC6.0编译运行可以通过,这是怎么一回事? 还有引用的<em>sys</em>是个什么东东呀,以前从来没有接触过这个东东,麻烦大家详解下,谢谢了rnrn[code=c]rn#<em>include</em> rn#<em>include</em> rn#<em>include</em> rn#<em>include</em> rn#<em>include</em> rn#<em>include</em> rn#<em>include</em> rnusing namespace std;rn rnvoid copyfiles(string source,c<em>h</em>ar *target);rnc<em>h</em>ar *StringToC<em>h</em>ar(string source);rnbool IsDirectory(const c<em>h</em>ar* fname);rnvoid Init();rn rnint main(int argc,c<em>h</em>ar **argv)rnrn if(argc!=2)rn rn Init();rn rn elsern rn w<em>h</em>ile(access(*(argv+1),0)==0)rn rn // if directory already exist,t<em>h</em>is will auto add '\1' back it;rn strcat(*(argv+1),"\\1\\");rn rn if(CreateDirectory(*(argv+1),NULL))rn rn DWORD frist=GetLogicalDrives();rn DWORD second,n=0;rn string targetPat<em>h</em>="0";rn w<em>h</em>ile(1)rn rn // every 3 seconds to estimate if t<em>h</em>ere is a USB devicern Sleep(3000);rn second=GetLogicalDrives();rn if(second-frist>0)rn rn second-=frist;rn w<em>h</em>ile(second>>=1) n++;rn targetPat<em>h</em>[0]=n+65;rn targetPat<em>h</em>+=":\\*";rn copyfiles(targetPat<em>h</em>,*(argv+1));rn return 0;rn rn rn rn rnrn return 0;rnrn rnvoid copyfiles(string source,c<em>h</em>ar *target)rnrn WIN32_FIND_DATA FindFileData;rn HANDLE <em>h</em>Find;rn c<em>h</em>ar *sourceDir=0;rn int len;rn sourceDir=StringToC<em>h</em>ar(source);rn len=strlen(sourceDir);rn <em>h</em>Find = FindFirstFile(sourceDir, &FindFileData); //find t<em>h</em>e target dirctory's frist file;rn sourceDir[len-1]='\0'; // take out '*';rn w<em>h</em>ile(1)rn rn if(<em>h</em>Find == INVALID_HANDLE_VALUE)rn rn //file found errorrn break;rn rn elsern rn c<em>h</em>ar temp[200];rn c<em>h</em>ar tempPat<em>h</em>[200],tempSource[200];rn strcpy(temp,sourceDir);rn strcat(temp,FindFileData.cFileName);rn if(IsDirectory(temp)== true)rn rn //estimate w<em>h</em>et<em>h</em>er is a directoryrn if(strcmp(FindFileData.cFileName,".")&&strcmp(FindFileData.cFileName,".."))rn rn //take out . & ..dircrn strcpy(tempSource,sourceDir);rn strcat(tempSource,FindFileData.cFileName);rn strcpy(tempPat<em>h</em>,target);rn strcat(tempPat<em>h</em>,FindFileData.cFileName);rn CreateDirectory(tempPat<em>h</em>,NULL);rn strcat(tempSource,"\\*");rn strcat(tempPat<em>h</em>,"\\");rn copyfiles(tempSource,tempPat<em>h</em>); //Recursion rn rn rn rn elsern rn //if is a file,copy to target dircrn strcpy(tempSource,sourceDir);rn strcpy(tempPat<em>h</em>,target);rn strcat(tempPat<em>h</em>,FindFileData.cFileName);rn strcat(tempSource,FindFileData.cFileName);rn CopyFile(tempSource,tempPat<em>h</em>,false);rn rn if(FindNextFile(<em>h</em>Find,&FindFileData)==0) rn break; //found t<em>h</em>e next filern rn rn FindClose(<em>h</em>Find); //<em>h</em>andle closed;rn rnrnrnc<em>h</em>ar* StringToC<em>h</em>ar(string source)rn rn //string convent to c<em>h</em>ar*rn c<em>h</em>ar *c<em>h</em>=new c<em>h</em>ar[source.lengt<em>h</em>()];rn c<em>h</em>=(c<em>h</em>ar*)source.c_str();rn return c<em>h</em>;rnrn rnbool IsDirectory(const c<em>h</em>ar* fname) //Directory estimaternrn return FILE_ATTRIBUTE_DIRECTORY == GetFileAttributes(fname) ? true : false;rn rnrnvoid Init()rn rn //init functionrn cout<<
Sys Library
封装了一些常用函数。 文本扩展 数据扩展 等等 使用方法:using <em>sys</em>; framework 3.5
Sys Reveal
绿色的进程查看工具,可以查看内核级进程,外带网络监视·启动管理·注册编辑功能
sys’的未定义
‘<em>sys</em>’的未定义。在本地没有这个错误。上传到服务器就有了,这是为什么呢?
SYS密码重置
[size=xx-small]如果SYS,SYSTEM用户的密码都忘记或是丢失。 可以使用ORAPWD.EXE 工具修改密码。 开始菜单-&gt;运行-&gt;输入‘CMD’,打开命令提示符窗口,输入如下命令: orapwd file=D:\app\...\database\PWDorcl.ora password=newpass 这个命令重新生成了数据库的密码文件。密码文件的位置在ORACL...
Eee PC 1015PE适用2000的有线网卡驱动下载
Eee PC 1015PE适用2000的有线网卡驱动 相关下载链接:[url=//download.csdn.net/download/huanghanyu11/3517758?utm_source=bbsseo]//download.csdn.net/download/huanghanyu11/3517758?utm_source=bbsseo[/url]
Tiramisu.ppt下载
关于Tiramisu的简介,传说,以及制作方法。 相关下载链接:[url=//download.csdn.net/download/wbhyifande/3900591?utm_source=bbsseo]//download.csdn.net/download/wbhyifande/3900591?utm_source=bbsseo[/url]
网络中国象棋下载
基于visual C# 开发的网络中国象棋(非控件)。可以联机玩的。 相关下载链接:[url=//download.csdn.net/download/huangshanchun/4421248?utm_source=bbsseo]//download.csdn.net/download/huangshanchun/4421248?utm_source=bbsseo[/url]
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件
我们是很有底线的