cannot make it
- Dominant language
- C
- Stars
- 20
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
make all
CC src/kernel/init/main.o
src/kernel/init/main.c:85:5: error: first parameter of 'main' (argument count)
must be of type 'int'
int main(struct multiboot _mboot_ptr)
^
1 error generated.
make: *_\* [src/kernel/init/main.o] Error 1
wonder ... seems ok ... (using mac brew and mac apple llvm:
gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
)
Contributor guide
No contributing guide indexed for this repository
Research direction
Run make with the reported macOS Apple LLVM toolchain, then inspect src/kernel/init/main.c around line 85 and the compiler diagnostic. Compare the declared main entry point with the build's expectations; done means src/kernel/init/main.o compiles and make completes without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100