Opened 5 years ago

Closed 5 years ago

#13491 closed Bugs (invalid)

boost.context link problem on Linux

Reported by: yuval.dinari@… Owned by: olli
Milestone: To Be Determined Component: context
Version: Boost 1.66.0 Severity: Showstopper
Keywords: link error Cc:

Description

After building and installing all boost libraries, and trying to build a program that just instantiates a boost::context::continuation object I get the following link error:

/tmp/ccSYihGo.o: In function `boost::context::continuation::~continuation()': /usr/local/include/boost/context/continuation_fcontext.hpp:236: undefined reference to `ontop_fcontext'

This happened for version 1.66 on both ubuntu and debian, and also when installing 1.65 package from bionic repository on ubuntu.

OS versions -

debian 8.10 jessie (kernel Linux 3.16.0-5-amd64, arch x86-84)

ubuntu 16.04.2 (kernel Linux 4.4.0-1013-aws, arch x86-64)

Change History (2)

comment:1 by anonymous, 5 years ago

Oops, please ignore, the issue was order of parameters to g++ (lib should after files using it)

comment:2 by olli, 5 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.