includeos / acorn

Acorn Web Server Appliance, built with IncludeOS
Apache License 2.0
93 stars 13 forks source link

Error on Mana request/response #103

Open moinakb001 opened 7 years ago

moinakb001 commented 7 years ago

I'm getting an error on make:

lib/butler/butler.o: In function `butler::Butler::process(std::__1::shared_ptr<mana::Request>, std::__1::shared_ptr<mana::Response>, std::__1::shared_ptr<delegate<void ()> >)':
lib/butler/butler.cpp:(.text+0x2bd): undefined reference to `std::__1::shared_ptr<mana::Request>::shared_ptr(std::__1::shared_ptr<mana::Request> const&)'
lib/butler/butler.cpp:(.text+0x2d0): undefined reference to `std::__1::shared_ptr<mana::Response>::shared_ptr(std::__1::shared_ptr<mana::Response> const&)'
lib/butler/butler.cpp:(.text+0x2e3): undefined reference to `std::__1::shared_ptr<delegate<void ()> >::shared_ptr(std::__1::shared_ptr<delegate<void ()> > const&)'
lib/butler/butler.cpp:(.text+0x515): undefined reference to `std::__1::shared_ptr<mana::Request>::shared_ptr(std::__1::shared_ptr<mana::Request> const&)'
lib/butler/butler.cpp:(.text+0x528): undefined reference to `std::__1::shared_ptr<mana::Response>::shared_ptr(std::__1::shared_ptr<mana::Response> const&)'
lib/butler/butler.cpp:(.text+0x53b): undefined reference to `std::__1::shared_ptr<delegate<void ()> >::shared_ptr(std::__1::shared_ptr<delegate<void ()> > const&)'
lib/director/director.o: In function `director::Director::process(std::__1::shared_ptr<mana::Request>, std::__1::shared_ptr<mana::Response>, std::__1::shared_ptr<delegate<void ()> >)':
lib/director/director.cpp:(.text+0x138): undefined reference to `std::__1::shared_ptr<mana::Request>::shared_ptr(std::__1::shared_ptr<mana::Request> const&)'
lib/director/director.cpp:(.text+0x148): undefined reference to `std::__1::shared_ptr<mana::Response>::shared_ptr(std::__1::shared_ptr<mana::Response> const&)'
lib/director/director.cpp:(.text+0x15b): undefined reference to `std::__1::shared_ptr<delegate<void ()> >::shared_ptr(std::__1::shared_ptr<delegate<void ()> > const&)'
ld: Acorn: hidden symbol `_ZNSt3__110shared_ptrIN4mana7RequestEEC1ERKS3_' isn't defined

Is there some dependency I'm not aware of for request/resopnse?

AndreasAakesson commented 7 years ago

Hm not really sure whats missing here. We've moved Acorn upstream to IncludeOS:dev and its waiting to be merged in to master soon. I suggest you try using the dev branch there and see if you can get it to work, since we will most probably stop support this repository (too much work).