View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006414 | ardour | bugs | public | 2015-07-06 04:33 | 2015-07-15 01:36 |
Reporter | ZenitharChampion | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Product Version | 4.1 | ||||
Summary | 0006414: Forgotten -lboost_system when compile | ||||
Description | I tried to install Ardour on source based system. Looking for fix, I found it there: http://stackoverflow.com/questions/9723793/undefined-reference-to-boostsystemsystem-category-when-compiling | ||||
Additional Information | [738/755] cxxprogram: build/cfgtool/cfgtool.cc.1.o -> build/cfgtool/cfgtool 11:26:26 runner ['x86_64-pc-linux-gnu-g++', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', 'cfgtool/cfgtool.cc.1.o', '-o', '/var/tmp/portage/media-sound/ardour-4.1/work/ardour-4.1/build/cfgtool/cfgtool', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Llibs/ardour', '-Llibs/midi++2', '-Llibs/evoral', '-Llibs/audiographer', '-Llibs/pbd', '-Llibs/timecode', '-L/usr/lib', '-L/usr/lib', '-L/usr/lib', '-lardour', '-lmidipp', '-levoral', '-laudiographer', '-lpbd', '-ltimecode', '-lglibmm-2.4', '-lgobject-2.0', '-lglib-2.0', '-lsigc-2.0', '-lsigc-2.0', '-lxml2', '-lsndfile', '-lgiomm-2.4', '-lgio-2.0', '-lglibmm-2.4', '-lgobject-2.0', '-lglib-2.0', '-lsigc-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0', '-laubio', '-lsamplerate', '-llrdf', '-lcurl', '-ltag', '-lvamp-sdk', '-lvamp-hostsdk', '-ldl', '-lrubberband', '-ldl', '-lglib-2.0'] libs/ardour/libardour.so: undefined reference to `boost::system::system_category()' libs/ardour/libardour.so: undefined reference to `boost::system::generic_category()' collect2: ld returned 1 exit status Waf: Leaving directory `/var/tmp/portage/media-sound/ardour-4.1/work/ardour-4.1/build' Build failed -> task in 'cfgtool' failed (exit status 1): {task 20241744: cxxprogram cfgtool.cc.1.o -> cfgtool} ['x86_64-pc-linux-gnu-g++', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-O1', '-Wl,--as-needed', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', 'cfgtool/cfgtool.cc.1.o', '-o', '/var/tmp/portage/media-sound/ardour-4.1/work/ardour-4.1/build/cfgtool/cfgtool', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Llibs/ardour', '-Llibs/midi++2', '-Llibs/evoral', '-Llibs/audiographer', '-Llibs/pbd', '-Llibs/timecode', '-L/usr/lib', '-L/usr/lib', '-L/usr/lib', '-lardour', '-lmidipp', '-levoral', '-laudiographer', '-lpbd', '-ltimecode', '-lglibmm-2.4', '-lgobject-2.0', '-lglib-2.0', '-lsigc-2.0', '-lsigc-2.0', '-lxml2', '-lsndfile', '-lgiomm-2.4', '-lgio-2.0', '-lglibmm-2.4', '-lgobject-2.0', '-lglib-2.0', '-lsigc-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0', '-laubio', '-lsamplerate', '-llrdf', '-lcurl', '-ltag', '-lvamp-sdk', '-lvamp-hostsdk', '-ldl', '-lrubberband', '-ldl', '-lglib-2.0'] | ||||
Tags | No tags attached. | ||||
|
Ardour does not use any boost functions. it only uses some boost headers. boost is not needed at runtime. Ardour is known to compile fine with boost 1.56 and 1.49. Which version of boost is that? maybe boost changed and requires this now? `grep -rl system_category libs/ardour/*` comes up empty here. As does `grep -rl system_category build/libs/ardour/*so` |
|
My Boost version is 1.52. I'm using Gentoo, and I see that Ardour ebuild maintainer adds this: append-flags "-lboost_system" This is a new CFLAGS. I think that he forgot LDFLAGS and add this append-ldflags "-lboost_system" And I tried compile again. But this LDFLAGS doesn't appear where it was needed. Maybe I need to remove two of these strings? I will try it. |
|
I tried grep commands: http://pastebin.com/QcCQGica Next I'll try to remove additional CFLAGS from ebuild |
|
Same output without additional CFLAGS: http://pastebin.com/80PHw5fb |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-07-06 04:33 | ZenitharChampion | New Issue | |
2015-07-06 19:43 | x42 | Note Added: 0016846 | |
2015-07-14 17:50 | ZenitharChampion | Note Added: 0016872 | |
2015-07-14 18:01 | ZenitharChampion | Note Edited: 0016872 | |
2015-07-14 18:29 | ZenitharChampion | Note Added: 0016874 | |
2015-07-15 01:36 | ZenitharChampion | Note Added: 0016877 |