sysml / clickos

The Click modular router: fast modular packet processing and analysis
http://www.read.cs.ucla.edu/click/
Other
136 stars 35 forks source link

Error when compiling clickOS #38

Open Ilubi opened 7 years ago

Ilubi commented 7 years ago

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 commented 7 years ago

Please post the full output of the building process.

Thanks

belsholff commented 6 years ago

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 commented 6 years ago

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 commented 5 years ago

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 commented 4 years ago

Hi @belsholff,

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

Cheers, Juan

ghost commented 2 years ago

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

belsholff commented 2 years ago

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 commented 2 years ago

Thanks

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