Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D devos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Samy Pessé
  • devos
  • Issues
  • #19
Closed
Open
Issue created Jun 24, 2019 by Majick Tek@MajickTek

Error compiling on native linux

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
Assignee
Assign to
Time tracking