Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make的问题 #14

Closed
AHEADer opened this issue Jul 1, 2016 · 3 comments
Closed

make的问题 #14

AHEADer opened this issue Jul 1, 2016 · 3 comments

Comments

@AHEADer
Copy link

AHEADer commented Jul 1, 2016

gcc 6.1 在3.6的时候(实现加载程序的loader),make kernel会报错,会编译kernel/src/fs/fs.c,报错信息如下:
error: ‘file_table’ defined but not used [-Werror=unused-const-variable=]
static const file_info file_table[] = {
cc1: all warnings being treated as errors
make: *** [kernel/Makefile.part:3: obj/kernel/fs/fs.o] Error 1

但是在gcc 4.9.2的情况下不会报错

@Wangyao14cyy
Copy link

hust unique,zhangjunda?

2016-07-01 8:45 GMT+08:00 Zhang Junda notifications@github.com:

gcc 6.1 在3.6的时候(实现加载程序的loader),make kernel会报错,会编译kernel/src/fs/fs.c,报错信息如下:
error: ‘file_table’ defined but not used [-Werror=unused-const-variable=]
static const file_info file_table[] = {
cc1: all warnings being treated as errors
make: *** [kernel/Makefile.part:3: obj/kernel/fs/fs.o] Error 1

但是在gcc 4.9.2的情况下不会报错


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#14, or mute the thread
https://github.com/notifications/unsubscribe/ALtMDqh9K_WWvEg5iYAr85y_oOu1qk7Eks5qRGMxgaJpZM4JCuS-
.

@AHEADer
Copy link
Author

AHEADer commented Jul 1, 2016

是我,gcc4.9.3编译没有问题,后续的有问题,Makefile的话没看到是哪里把kernel底下的模块编译了,gcc5.3和6.1都不行

@ghost ghost mentioned this issue Jul 1, 2016
@ghost
Copy link

ghost commented Jul 1, 2016

已修復 , 請執行git pull後嘗試重新編譯.

@ghost ghost closed this as completed Jul 13, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants