Skip to content

Error compiling on native linux #19

@MajickTek

Description

@MajickTek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions