在 ssh 中运行 cpp 文件时发生 MakeFile 错误
CC=g++
CFLAGS=-O0
TARGET=./problem2_cpp
OUTFILE=../output/cpp.txt
$(TARGET): problem2.o
$(CC) $(CFLAGS) -o $(TARGET) problem2.o
problem2.o: problem2.cpp
$(CC) $(CFLAGS) -c problem2.cpp
clean:
rm -f *.o $(TARGET) $(OUTFILE)
run: $(TARGET)
$(TARGET) <$(INFILE) >$(OUTFILE)
我是一个相当简单的 makefile,用于编译、运行 cpp 并输出其文件。但我收到这个奇怪的错误:
quota_ufs:超出硬盘限制(pid 20159,uid 58861,inum 5132792,fs /home)ld:致命:文件./problem2_cpp: 创建中断:光盘配额 超出
是什么意思?
CC=g++
CFLAGS=-O0
TARGET=./problem2_cpp
OUTFILE=../output/cpp.txt
$(TARGET): problem2.o
$(CC) $(CFLAGS) -o $(TARGET) problem2.o
problem2.o: problem2.cpp
$(CC) $(CFLAGS) -c problem2.cpp
clean:
rm -f *.o $(TARGET) $(OUTFILE)
run: $(TARGET)
$(TARGET) <$(INFILE) >$(OUTFILE)
I am a rather simple makefile to compile,run a cpp, and output its file. But I get this odd error:
quota_ufs: over hard disk limit (pid
20159, uid 58861, inum 5132792, fs
/home) ld: fatal: file ./problem2_cpp:
creation interrupted: Disc quota
exceeded
What does that mean?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您正在使用的计算机上的磁盘配额已用完。我建议删除目录中的旧文件,或联系您的(大学?)服务台以增加配额。
You have run out of disk quota on the machine you are using. I suggest deleting old files in your directory, or contacting your (university?) help desk to have your quota increased.
这个问题不是来自你的 Makefile(即使我认为 Makefile 不应该执行你的应用程序而只是编译它 - 但这是另一场争论)。
看起来您的磁盘空间不足(
超出光盘引用
),因此无法创建新文件(例如目标文件)。quota -v
(或类似的东西)会告诉您有关磁盘使用情况的更多信息。The issue doesn't come from your Makefile (even if I think that a Makefile shouldn't be executing your application but just compiling it – but that's another debate).
It looks like you're running out of disk space (
Disc quote exceeded
), therefore new files cannot be created (e.g object files).quota -v
(or something similar) would tell you more about your disk usage.