Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-04-2013, 04:24 PM   #1
Registered: Aug 2012
Location: sweden
Distribution: Slackware, Fedora
Posts: 80

Rep: Reputation: Disabled
compiling error in sl-current "undefined reference to symbol"?

Hello everyone!
I have trouble compiling gnash that I can't solve on my own.
Tried specify LDFLAGS="-lboost_system"
The output is
  CXXLD  dump-gnash
/usr/lib64/gcc/x86_64-slackware-linux/4.8.0/../../../../x86_64-slackware-linux/bin/ld: dump_gnash-gnash.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
/usr/lib64/gcc/x86_64-slackware-linux/4.8.0/../../../../x86_64-slackware-linux/bin/ld: note: '_ZN5boost6system15system_categoryEv' is defined in DSO /usr/lib64/../lib64/ so try adding it to the linker command line
/usr/lib64/../lib64/ could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[4]: *** [dump-gnash] Error 1
make[4]: Leaving directory `/tmp/SBo/gnash-0.8.10/gui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/gnash-0.8.10/gui'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/gnash-0.8.10/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/gnash-0.8.10'
make: *** [all] Error 2
It seems like -lboost_system don't work. Also found

Configured paths for x86_64-slackware-linux-gnu are:
        BOOST flags are: -I/usr/X11/include
        BOOST libs are: -L/usr/lib64 -lboost_thread -lboost_program_options -lboost_iostreams
        BOOST libs for cygnal are:  -lboost_serialization -lboost_date_time
Old 04-05-2013, 05:33 AM   #2
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 866

Rep: Reputation: 264Reputation: 264Reputation: 264
Have you got the Apr 3rd updates yet? There is a patch there that restores some functionality to the linker that may be required.
Old 04-07-2013, 09:51 AM   #3
Registered: Aug 2012
Location: sweden
Distribution: Slackware, Fedora
Posts: 80

Original Poster
Rep: Reputation: Disabled
This must be about gnash's file.
The slackbuild script uses autoreconf don't include -lboost_system.
I think so because configure and compiling works on the git tree.

aclocal.m4:16: warning: this file was generated for autoconf 2.64.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.
I must rewrite the buildscrip for a git version


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] from slackware64-current "undefined symbol" _XGetRequest nates1 Slackware 2 04-08-2013 08:40 AM
Error "Undefined reference" while compiling a c program in linux acharyaa Linux - General 4 07-25-2011 11:16 PM
Several "undefined reference to" error when compiling a C programm acer_peri Programming 8 12-11-2008 05:45 AM
compiling linux failed with "undefined reference to s3c2410_pm_drvinit" cucmi Linux - Hardware 2 08-18-2008 10:21 PM
avgscan "relocation error" "undefined symbol: __dynamic_cast_2" Monster_user Linux - Software 0 02-22-2006 11:57 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration