boost_system is omitted in build process when needed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ember |
Fix Released
|
High
|
Erik Ogenvik |
Bug Description
While running "hammer.sh build ember" I get the following error.
/usr/bin/ld: Application.o: undefined reference to symbol '_ZN5boost6syst
/usr/lib/
collect2: error: ld returned 1 exit status
make[3]: *** [ember.bin] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error
Actually using mint 16 64 (which is based on the below ubuntu version, nearly identical except for the desktop env)
NAME="Ubuntu"
VERSION="13.10, Saucy Salamander"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 13.10"
VERSION_ID="13.10"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
I just tested to correct it by:
src/main/
What I do in the metaserver is a check like this in the configure.ac( which automatically puts the -lboost_system as needed ):
AC_CHECK_
])
I'm unsure of the exact details on it the autoconf/automake primaries and secondaries involved, but I get the -lboost_system for everything (which may or may not be good for ember). I would think that if you define the _LDADD secondary (ie ember_bin_
Changed in ember: | |
status: | In Progress → Fix Committed |
Changed in ember: | |
status: | Fix Committed → Fix Released |
FYI, this was a checkout of hammer from 01/02/2014 @ noon ish.