Project

General

Profile

Actions

Support #1629

closed

Make Examples Failure: undefined reference to symbol

Added by Bud T about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/13/2013
Due date:
% Done:

0%

Estimated time:

Description

My Fedora 17 installation of Wt-3.2.1 works with a test app that I created, but I cannot build any of the library examples. They all return the following errors:

[root@st wt-3.2.1]# make -C examples
make: Entering directory `/usr/local/src/wt-3.2.1/examples'
make[1]: Entering directory `/usr/local/src/wt-3.2.1/examples'
make[2]: Entering directory `/usr/local/src/wt-3.2.1/examples'
make[2]: Leaving directory `/usr/local/src/wt-3.2.1/examples'
make[2]: Entering directory `/usr/local/src/wt-3.2.1/examples'
Linking CXX executable blog.wt
/bin/ld: CMakeFiles/blog.wt.dir/view/CommentView.o: undefined reference to symbol '_ZN5boost7signals6detail17call_notificationC1ERKNS_10shared_ptrINS1_16signal_base_implEEE'
/bin/ld: note: '_ZN5boost7signals6detail17call_notificationC1ERKNS_10shared_ptrINS1_16signal_base_implEEE' is defined in DSO /lib64/libboost_signals-mt.so.1.48.0 so try adding it to the linker command line
/lib64/libboost_signals-mt.so.1.48.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [blog/blog.wt] Error 1
make[2]: Leaving directory `/usr/local/src/wt-3.2.1/examples'
make[1]: *** [blog/CMakeFiles/blog.wt.dir/all] Error 2
make[1]: Leaving directory `/usr/local/src/wt-3.2.1/examples'
make: *** [all] Error 2
make: Leaving directory `/usr/local/src/wt-3.2.1/examples'
[root@st wt-3.2.1]#

What is going on here?

Actions #1

Updated by Bud T about 12 years ago

Ok, wait, I was in the wrong directory... Works:

[root@st build-debug]# make clean
[root@st build-debug]# make
[  1%] Generating JQuery_js.C
[  1%] Generating Plain_html.C
[  1%] Generating Boot_html.C
[  2%] Generating Hybrid_html.C
[  2%] Generating Boot_js.C
[  2%] Generating Wt_js.C
[  2%] Generating Wt_xml.C
[  2%] Generating Auth_xml.C
[  2%] Building CXX object src/CMakeFiles/wt.dir/Wt/Resizable.o
[  2%] Building CXX object src/CMakeFiles/wt.dir/Wt/SizeHandle.o
...
Actions #2

Updated by Bud T about 12 years ago

This ticket can be closed (or even deleted, really).

Actions #3

Updated by Wim Dumon about 12 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF