LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


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

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
Code:
  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/libboost_system.so.1.53.0 so try adding it to the linker command line
/usr/lib64/../lib64/libboost_system.so.1.53.0: 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

Code:
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
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
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
marbangens
Member
 
Registered: Aug 2012
Location: sweden
Distribution: Slackware, Fedora
Posts: 118

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



Code:
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
 
  


Reply



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] libSDL-1.2.so.0.11.4 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 2.6.19.2 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:32 AM.

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