Giter VIP home page Giter VIP logo

Comments (4)

kknox avatar kknox commented on August 25, 2024

I see that the file ./src/library/lock.h contains the references to your undefined symbols.
I would check that the pthreads library on your system contains these symbols:
pthread_mutexattr_settype
pthread_mutexattr_destroy
pthread_mutexattr_init

Maybe you could do an nm pthreads.so.X.X and grep through the symbols.

from clfft.

kif avatar kif commented on August 25, 2024

On Thu, 07 Nov 2013 15:37:44 -0800
Kent Knox [email protected] wrote:

I see that the file ./src/library/lock.h contains the references to your undefined symbols.
I would check that the pthreads library on your system contains these symbols:
pthread_mutexattr_settype
pthread_mutexattr_destroy
pthread_mutexattr_init

Maybe you could do an nm pthreads.so.X.X and grep through the symbols.

It is present ... I guess it is cmake which did not populate the "-lpthread" correctly explaining it is absent at link-time.

jerome@patagonia:$ nm /lib/x86_64-linux-gnu/libpthread.so.0 |grep pthread_mutexattr_init
000000000000a710 T __pthread_mutexattr_init
000000000000a710 T pthread_mutexattr_init
jerome@patagonia:
$ nm /lib/x86_64-linux-gnu/libpthread.so.0 |grep pthread_mutexattr_destroy
000000000000a720 T __pthread_mutexattr_destroy
000000000000a720 T pthread_mutexattr_destroy
jerome@patagonia:~$ nm /lib/x86_64-linux-gnu/libpthread.so.0 |grep pthread_mutexattr_set
000000000000a780 T __pthread_mutexattr_settype
000000000000a780 W pthread_mutexattr_setkind_np
000000000000f9e0 T pthread_mutexattr_setprioceiling
000000000000f950 T pthread_mutexattr_setprotocol
000000000000a740 T pthread_mutexattr_setpshared
000000000000f660 T pthread_mutexattr_setrobust
000000000000f660 W pthread_mutexattr_setrobust_np
000000000000a780 T pthread_mutexattr_settype

Thanks for your help.

Cheers,

Jérôme Kieffer [email protected]

from clfft.

kknox avatar kknox commented on August 25, 2024

Is this issue resolved or still a problem? I'd like to close this as part of new years bug cleanup.

from clfft.

kif avatar kif commented on August 25, 2024

On Wed, 01 Jan 2014 18:21:44 -0800
Kent Knox [email protected] wrote:

Is this issue resolved or still a problem? I'd like to close this as part of new years bug cleanup.

Hi Kent,

It looks like it builds ... thanks for fixing it.

Happy new year

Jerome Kieffer [email protected]

from clfft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.