Hi All,

This is just for information in case others run into this problem:

In some versions of Fedora 14 and 15, I have got this error while 'make' - ing stage:

[ 73%] Building CXX object libstage/CMakeFiles/stagebinary.dir/main.o
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

The net didn't really help me in this case. The elegant method of coming around this problem is:
Modify the file /etc/ld.so.conf and add the line '/usr/lib64' to the end of it.
Restart the make and it completes properly now.

Regards,
Anirban.

On 18 October 2011 13:29, Weyn Maarten <maarten.weyn@artesis.be> wrote:
Thanks Andrew,

This works perfectly.
The strange thing is that I only had this when I used Stage 4.0.0; when
I used the code from Git (4.0.1) I didn't had this problem during
compilation.
But using Stage 4.0.1 from git with Player v.3.1.0-svn gave again the
problem that he couldn't find stageplugin when running player.
(And I did try all possibilities which were discussed in the mailing
list the last years related to this problem).

But Stage 4.0.0 works well together with Player v.3.1.0-svn on Ubuntu
11.10 (32-bit) using your solution.

Regards

Maarten

On 10/18/2011 02:09 AM, Andrew Vardy wrote:
> I also encountered this issue when trying to compile Stage 4.0.0 (and even Stage
> 3.2.2) on a freshly upgraded ubuntu 11.10 (32-bit) machine.  It seems that the
> version of gcc that ships with ubuntu 11.10 is more picky about the order in
> which libraries appear.  I gathered this from the following:
>
> http://ubuntuforums.org/showthread.php?t=1859400
>
> My solution (ok... workaround) was to set the build option CMAKE_CXX_FLAGS to "-
> Wl,--no-as-needed" (without quotes).
>
> The process I followed was to download the Stage 4.0.0 source, create a build
> directory within the source directory, then execute ccmake ../ within the build
> subdirectory.  To implement the above workaround, hit "t" in ccmake to enter
> advanced mode, then set CMAKE_CXX_FLAGS as shown above.
>
> Best,
> Andrew
> http://www.cs.mun.ca/~av
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users