在mount windows 文件,编译时 cc1plus: error: hello.cpp: Value too large for defined data type
来源:互联网 发布:Ubuntu mysql安装教程 编辑:程序博客网 时间:2024/06/04 19:39
最近用在虚拟机上用ubuntu 10.04 mount windows 的文件,
在编译时却发现:
root@ubuntu:~/project/hello# g++ -Wall hello.cpp -o hello
cc1plus: error: hello.cpp: Value too large for defined data type
而将hello.cpp 拷贝到ubuntu自己的文件目录中再编译,却正常通过。
网上查了才知道,是因为mount方式时, 不知系统加载了什么,导致文件超过了2G,
从而系统报错,中断了编译。
终于找到解决方法了:
只要在mount的时候加上选项:,nounix,noserverino 即可。
参考:
http://girlit.net/question/cc1plus-error-include-value-too-large-for-defined-data-type-when-compiling-with-g
https://bbs.archlinux.org/viewtopic.php?id=85999
- 在mount windows 文件,编译时 cc1plus: error: hello.cpp: Value too large for defined data type
- Linux mount Windows共享后编译出现“Value too large for defined data type”
- Linux mount Windows共享后编译出现“Value too large for defined data type”
- Linux mount Windows共享后编译出现“Value too large for defined data type”的问
- Linux mount Windows共享后编译出现“Value too large for defined data type”
- Linux mount Windows共享后编译出现“Value too large for defined data type”的问题 (zz)
- Linux mount Windows共享后编译出现“Value too large for defined data type”的问题 (zz)
- gcc 编译错误 Value too large for defined data type
- Value too large for defined data type
- mount目录访问出现“Value too large for defined data type”错误解决办法
- GCC编译“Value too large for defined data type”错误解决办法
- VMware共享文件夹编译出现“Value too large for defined data type”错误的解决办法
- GCC编译“Value too large for defined data type”错误解决办法
- 共享文件夹内编译报”Value too large for defined data type”错误的解决办法
- linux编程出错: Value too large for defined data type.doc
- linux c之关于 Value too large for defined data type的解决
- 在windows 下用tools导出导入Repository出错 value too large for column "SIEBEL"."S_ACCELERATOR
- ES Data too large Error
- Linux 下网络编程中的select
- APIO2010 特别行动队
- 内核编程学习笔记(002) 利用API函数加载系统服务以加载驱动
- delphi 简单PE文件感染源码!
- 1029 False coin
- 在mount windows 文件,编译时 cc1plus: error: hello.cpp: Value too large for defined data type
- Android新手入门 FAQ
- c++ Primer Plus 6.5
- Android新手入门 FAQ
- Android中级进阶 FAQ
- Android高手过招 FAQ
- 一个不错的js学习网站
- ubuntu install chinese input
- Joomla模块学习之后台mod_popular模块