Skip to content

Pthreads not linked to SDL in libSDL #17

Description

@GoogleCodeExporter
On OpenBSD (4.8), the libSDL is not linked with pthread. SBCL : Loading stage 
(require 'lispbuilder-sdl) failed :

undefined symbol pthread_create ....

So, i loaded pthread first in sbcl in a cffi way (beginner way, sorry) :

(defpackage :cffi-user

(:use :common-lisp :cffi))
(in-package :cffi-user)
(define-foreign-library libpthread
(:unix "libpthread.so.12.1") (t (:default "libpthread")))
(use-foreign-library libpthread)
(require 'lispbuilder-sdl) compile right without errors.

Maybe a little patch within the lispbuilder-sdl/cffi/library.lisp file, will 
correct the problem ?

Original issue reported on code.google.com by [email protected] on 7 Jan 2011 at 6:50

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions