[ playerstage-Bugs-3205069 ] LD error with FLTK on a 64 bits system

"SourceForge.net" <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Message-ID <[email protected]>
Bugs item #3205069, was opened at 2011-03-10 14:35
Message generated for change (Tracker Item Submitted) made by bricerebsamen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=433164&aid=3205069&group_id=42445

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: stage
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: brice (bricerebsamen)
Assigned to: Richard Vaughan (rtv)
Summary: LD error with FLTK on a 64 bits system

Initial Comment:
$ cmake ..
-- Stage version 4.0.1
-- Operating system is Linux
-- Linux x86_64 Detected
-- Installing Libraries to /usr/local/lib64
-- Installing Plugins to /usr/local/lib64/Stage-4.0
-- Build type RELEASE
-- Checking for libtool
-- Checking for required libraries...
--   * FLTK version 1.1.10 detected via /usr/bin/fltk-config
--     FLTK_CFLAGS =  -I/usr/include/freetype2   -D_THREAD_SAFE -D_REENTRANT
--     FLTK_LDFLAGS = -lfltk_images -lfltk_gl -lfltk
--     FLTK_LIBS = /usr/lib/libfltk.a /usr/lib/libfltk_gl.a /usr/lib/libfltk_images.a
-- Checking for optional libraries...
--   * Player version 3.1.0-svn detected at /usr/local
--     PLAYER_CFLAGS: -I/usr/local/include/player-3.1
--     PLAYER_LDFLAGS: -L/usr/local/lib64;-lplayercore;-lpthread;-lplayerinterface;-lplayercommon
-- Installation path CMAKE_INSTALL_PREFIX=/usr/local
-- Configuring libstage
-- Looking for Avon
-- checking for one of the modules 'avon'
--   * Avon not detected. If Avon is installed but not detected, check your PKG_CONFIG_PATH.
-- Configuring libstageplugin
-- Configuring done
-- Generating done
-- Build files have been written to: /media/data/playerstage/stage/build


$ make
[ 58%] Built target stage
Linking CXX executable stage
/usr/bin/ld: CMakeFiles/stagebinary.dir/main.o: undefined reference to symbol 'Fl::run()'
/usr/bin/ld: note: 'Fl::run()' is defined in DSO /usr/lib64/libfltk.so.1.1 so try adding it to the linker command line
/usr/lib64/libfltk.so.1.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [libstage/stage] Error 1
make[1]: *** [libstage/CMakeFiles/stagebinary.dir/all] Error 2
make: *** [all] Error 2

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=433164&aid=3205069&group_id=42445

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.