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

Error compiling on native linux #19

Open
MajickTek opened this issue Jun 24, 2019 · 0 comments
Open

Error compiling on native linux #19

MajickTek opened this issue Jun 24, 2019 · 0 comments

Comments

@MajickTek
Copy link

This error starts in file.cc and is in the filesystem code, also it is in the Process code.

ld -melf_i386 -static  -L ./  -T ./arch/x86/linker.ld -o kernel.elf arch/x86/start.o runtime/cxx.o runtime/itoa.o runtime/buffer.o runtime/memory.o runtime/string.o core/class.o core/elf_loader.o core/file.o core/filesystem.o core/kernel.o core/api_posix.o core/process.o core/syscalls.o core/device.o core/system.o core/env.o core/user.o core/modulelink.o core/socket.o modules/module.o modules/null.o modules/stdtty.o modules/x86serial.o modules/ide.o modules/bochsvbe.o modules/ext2.o modules/dospartition.o modules/clock_x86.o modules/keys.o arch/x86/alloc.o arch/x86/architecture.o arch/x86/io.o arch/x86/vmm.o arch/x86/x86.o arch/x86/switch.o arch/x86/x86int.o 
core/file.o: In function `File::~File()':
/home/majicktek/Downloads/devos-master/kernel/core/file.cc:73: undefined reference to `operator delete(void*, unsigned int)'
core/file.o: In function `File::remove()':
/home/majicktek/Downloads/devos-master/kernel/core/file.cc:223: undefined reference to `operator delete(void*, unsigned int)'
core/filesystem.o: In function `Filesystem::~Filesystem()':
/home/majicktek/Downloads/devos-master/kernel/core/filesystem.cc:26: undefined reference to `operator delete(void*, unsigned int)'
core/process.o: In function `Process::~Process()':
/home/majicktek/Downloads/devos-master/kernel/core/process.cc:12: undefined reference to `operator delete(void*, unsigned int)'
core/process.o: In function `Process::remove()':
/home/majicktek/Downloads/devos-master/kernel/core/process.cc:106: undefined reference to `operator delete(void*, unsigned int)'
core/device.o:/home/majicktek/Downloads/devos-master/kernel/core/device.cc:36: more undefined references to `operator delete(void*, unsigned int)' follow
Makefile:21: recipe for target 'kernel.elf' failed
make[1]: *** [kernel.elf] Error 1
make[1]: Leaving directory '/home/majicktek/Downloads/devos-master/kernel'
Makefile:13: recipe for target 'all' failed

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

1 participant