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

The latest code can't build pass #17

Closed
itmuse opened this issue Nov 30, 2020 · 3 comments
Closed

The latest code can't build pass #17

itmuse opened this issue Nov 30, 2020 · 3 comments

Comments

@itmuse
Copy link

itmuse commented Nov 30, 2020

Error:
~/Documents/Git/EwokOS/system   master  make
cd basic;make
cd ./libs/libc;make
arm-none-eabi-gcc -Wstrict-prototypes -marm -pedantic -Wall -Wextra -msoft-float -fPIC -mapcs-frame -fno-builtin-printf -fno-builtin-memset -fno-builtin-snprintf -fno-builtin-sprintf -fno-builtin-fprintf -Wno-overlength-strings -fno-builtin-exit -fno-builtin-stdio -std=c99 -O2 -I ../../../build/include -Iinclude -Isys/include -c -o sys/src/vfs.o sys/src/vfs.c
sys/src/vfs.c:386:5: error: conflicting types for 'vfs_create'
int vfs_create(const char* fname, fsinfo_t* ret, int type, bool vfs_node_only) {
^
In file included from sys/src/vfs.c:1:0:
../../../build/include/sys/vfs.h:35:11: note: previous declaration of 'vfs_create' was here
int vfs_create(const char* fname, fsinfo_t* ret, int type);
^
make[2]: *** [sys/src/vfs.o] Error 1
make[1]: *** [basic_libs] Error 2
make: *** [basic_sys] Error 2

@MisaZhu
Copy link
Owner

MisaZhu commented Nov 30, 2020

try make clean first and make again. or manually remove the system/build dir

@itmuse
Copy link
Author

itmuse commented Dec 2, 2020

try make clean first and make again. or manually remove the system/build dir

It work, thanks.

@itmuse itmuse closed this as completed Dec 2, 2020
@itmuse
Copy link
Author

itmuse commented Dec 2, 2020

works

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