bugGnash - The GNU Flash player - Bugs: bug #19043, undefined reference to...

 
 

bug #19043: undefined reference to `boost::mutex::do_lock()'

Submitted by:  Markus Neteler <neteler>
Submitted on:  Mon 12 Feb 2007 05:28:09 PM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 21 Feb 2007 07:51:16 AM UTC, comment #5:

Since I cannot downgrade to boost 1.32 (not root on that machine) I cannot test if ./configure now stops if boost < 1.33 - sorry.

Markus Neteler <neteler>
Wed 21 Feb 2007 07:19:30 AM UTC, comment #4:

This bug can be closed when ./configure will abort on the missing
requirement. Markus, did it abort on you ? Are you available for
testing this when we'll make any progress ?

Sandro Santilli <strk>
Project Member
Tue 20 Feb 2007 09:09:03 PM UTC, comment #3:

Updating to boost 1.33 on RHEL4 cured the problem. The boost threads lib is included in that package and not separated out.

Markus

Markus Neteler <neteler>
Mon 19 Feb 2007 10:54:06 PM UTC, comment #2:

Do you have boost threads lib installed ?
It's a separate package on debian, and ubuntu.
libboost-thread-dev

Sandro Santilli <strk>
Project Member
Mon 12 Feb 2007 09:11:36 PM UTC, comment #1:

Trying this on Mandriva2007 with
libboost1-devel-1.33.1-3mdv2007.0
this problem didn't appear.

Probably configure should test for boost >= 1.33

Markus Neteler <neteler>
Mon 12 Feb 2007 05:28:09 PM UTC, original submission:

hi,

I tried to compile the today's CVS version on
Linux bartok 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:24:31 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/issue
Red Hat Enterprise Linux WS release 4 (Nahant Update 4)

The following compile errors occured:

[...]
(cd .libs && gcc -c -fno-builtin "gparserS.c")
rm -f .libs/gparserS.c .libs/gparser.nm .libs/gparser.nmS .libs/gparser.nmT
g++ -g -O2 -mpentiumpro -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -o .libs/gparser parser.o .libs/gparserS.o -Wl,--export-dynamic -pthread -L/usr/lib64 -L/usr/kerberos/lib -L/usr/kerberos/lib64 ../server/.libs/libgnashserver.so -L/usr/lib /ssi0/ssi/neteler/software/gnash/server/vm/.libs/libgnashvm.so /usr/lib64/libxml2.so ../server/vm/.libs/libgnashvm.so /ssi0/ssi/neteler/software/gnash/libamf/.libs/libgnashamf.so ../libbase/.libs/libgnashbase.so ../libamf/.libs/libgnashamf.so /ssi0/ssi/neteler/software/gnash/libbase/.libs/libgnashbase.so /usr/lib64/libjpeg.so -lcurl /usr/lib64/libidn.so -lssl-lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -lz -lGL -lGLU -lpthread -ldmalloc -lavcodec -ldts -lavutil -lvorbisenc -lvorbis -logg -lavformat -ltheora /usr/lib64/libdc1394_control.so /usr/lib64/libraw1394.so /usr/lib64/libltdl.so -ldl -lrt -lm -Wl,--rpath -Wl,/usr/local/lib
/usr/bin/ld: warning: libraw1394.so.5, needed by /usr/lib64/libdc1394_control.so, may conflict with libraw1394.so.8
../server/.libs/libgnashserver.so: undefined reference to `boost::mutex::do_lock()'
../server/.libs/libgnashserver.so: undefined reference to `boost::thread::~thread()'
../server/.libs/libgnashserver.so: undefined reference to `boost::thread::join()'
../server/.libs/libgnashserver.so: undefined reference to `boost::detail::condition_impl::notify_all()'
../server/.libs/libgnashserver.so: undefined reference to `boost::detail::condition_impl::~condition_impl()'
../server/.libs/libgnashserver.so: undefined reference to `boost::detail::condition_impl::do_wait(pthread_mutex_t*)'
../server/.libs/libgnashserver.so: undefined reference to `boost::thread::thread(boost::function0<void,std::allocator<boost::function_base> > const&)'
../server/.libs/libgnashserver.so: undefined reference to `boost::detail::condition_impl::condition_impl()'
../server/.libs/libgnashserver.so: undefined reference to `boost::mutex::do_unlock(boost::mutex::cv_state&)'
../server/.libs/libgnashserver.so: undefined reference to `boost::mutex::do_lock(boost::mutex::cv_state&)'
../server/.libs/libgnashserver.so: undefined reference to `boost::mutex::mutex()'
../server/.libs/libgnashserver.so: undefined reference to `boost::mutex::do_unlock()'
../server/.libs/libgnashserver.so: undefined reference to `boost::mutex::~mutex()'
collect2: ld returned 1 exit status
make[2]: *** [gparser] Error 1
make[2]: Leaving directory `/hardmnt/bartok0/ssi/neteler/software/gnash/utilities'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/hardmnt/bartok0/ssi/neteler/software/gnash'
make: *** [all] Error 2

I have installed:
rpm -qa | grep boost
boost-devel-1.32.0-1.rhel4
boost-1.32.0-1.rhel4

Regards,
Markus

Markus Neteler <neteler>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by neteler (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 May 2007 07:29:03 PM UTCstrkStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1