clickos icon indicating copy to clipboard operation
clickos copied to clipboard

Error when compiling clickOS

Open Ilubi opened this issue 7 years ago • 8 comments

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.

Ilubi avatar Jun 23 '17 13:06 Ilubi

Please post the full output of the building process.

Thanks

fmanco avatar Jun 26 '17 08:06 fmanco

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 avatar Feb 05 '18 23:02 belsholff

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!

belsholff avatar Feb 23 '18 16:02 belsholff

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

ggbbr avatar Apr 16 '19 12:04 ggbbr

Hi @belsholff,

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

Cheers, Juan

jvdanker avatar Dec 01 '20 04:12 jvdanker

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

ghost avatar Feb 03 '22 15:02 ghost

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.

belsholff avatar Feb 11 '22 11:02 belsholff

Thanks

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

ghost avatar Feb 13 '22 21:02 ghost