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 when compiling clickOS #38

Open
Ilubi opened this issue Jun 23, 2017 · 8 comments
Open

Error when compiling clickOS #38

Ilubi opened this issue Jun 23, 2017 · 8 comments

Comments

@Ilubi
Copy link

Ilubi commented Jun 23, 2017

Hello,

I pulled the clickOS git and I tried to compile it following the INSTALL instructions. I used the toolchain newlib en lwip and I used Xen 4.8.1 (I also tried with 4.7.0 and it was the same result)

During the command make minios, at the point LD clickos/minios/build/clickos_x86_64, I have many undefined reference to "operator delete" which break the compilation.

I cannot find the solution so I am asking for your help.

Thanks,
Ilubi.

@fmanco
Copy link

fmanco commented Jun 26, 2017

Please post the full output of the building process.

Thanks

@belsholff
Copy link

belsholff commented Feb 5, 2018

Hey @fmanco!

I have this same issue. Please, look at the output here.

I'm using Debian 9, Xen 4.8.2 installed by debs and the same source code version to build tools. I was follow SysML tutorial, and it seems little outdated because cosmos quotes and links are still there, instead of ClickOS-ctl or Chaos.

Nowadays I'm trying to use clickos_x86_64 kernel built by this outdated tutorial and my intentions are update everything and maybe eliminates some errors that I experienced.

Thanks!

@belsholff
Copy link

belsholff commented Feb 23, 2018

Hi!

Could this output above caused by C++ compiler?
Click and ClickOS was compiled well by me with GCC 4 (Debian 8) and 5 (Ubuntu 16.04) family. I'm using GCC 6 and it cames with -std=gnu++14, by default, instead previous ones.

Should I try, but I bet it going to require a lot of old packages, and will raise a lot of problems.

What could you tell me about it, devs?

Thanks!

@ggbbr
Copy link

ggbbr commented Apr 16, 2019

Hello,

I also come acorss the same problem, this is the final step building clickOS, it says "undefined reference to 'operator delete(void *, unsigned long)'" when I try to make minios,

The error picture are as follows
image
What should I do, please help me, thanks so much for checking

@jvdanker
Copy link

jvdanker commented Dec 1, 2020

Hi @belsholff,

Did you ever manage to solve this problem? I'm running into the same issue.

Cheers,
Juan

@ghost
Copy link

ghost commented Feb 3, 2022

Hello
Did anyone manage to solve this problem? I'm stuck too.

@belsholff
Copy link

Hello everyone.

Sorry but I can't help you. It was a long time ago and it seems maintainers was not here to help you. But I guess I downgraded to GCC 5 to work with. Debian still maintain old distro repos. I don't know about the version 8 but you can check.

@ghost
Copy link

ghost commented Feb 13, 2022

Thanks

Can you please give a complete description of the environment in which you worked? OS, gcc version etc

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

5 participants