[GHC] #408: OpenAL needs -pthread
GHC
trac at galois.com
Fri Jan 13 06:37:10 EST 2006
#408: OpenAL needs -pthread
--------------------------------+-------------------------------------------
Reporter: volkersf | Owner: spanne
Type: bug | Status: assigned
Priority: low | Milestone:
Component: libraries (other) | Version: 6.4.1
Severity: normal | Resolution: None
Keywords: | Os: Unknown
Difficulty: Unknown | Architecture: Unknown
--------------------------------+-------------------------------------------
Changes (by simonmar):
* architecture: => Unknown
* difficulty: => Unknown
* version: None => 6.4.1
* os: => Unknown
Old description:
> {{{
> On FreeBSD (and maybe NetBSD as well), OpenAL needs -pthread in
> CFLAGS/LDFLAGS:
>
> configure:2352: gcc -o conftest -I/usr/local/include -L/usr/local/lib
> conftest.c -lopenal >&5
> /usr/local/lib/libopenal.so: undefined reference to `pthread_create'
> /usr/local/lib/libopenal.so: undefined reference to `pthread_attr_init'
> /usr/local/lib/libopenal.so: undefined reference to `pthread_exit'
>
> This should best be solved during configure instead of setting this
> globally. Also, this probably needs to be propagated into OpenAL.
> cabal for linking a resulting application (although already the RTS
> should pull in -pthread).
> }}}
New description:
{{{
On FreeBSD (and maybe NetBSD as well), OpenAL needs -pthread in
CFLAGS/LDFLAGS:
configure:2352: gcc -o conftest -I/usr/local/include -L/usr/local/lib
conftest.c -lopenal >&5
/usr/local/lib/libopenal.so: undefined reference to `pthread_create'
/usr/local/lib/libopenal.so: undefined reference to `pthread_attr_init'
/usr/local/lib/libopenal.so: undefined reference to `pthread_exit'
This should best be solved during configure instead of setting this
globally. Also, this probably needs to be propagated into OpenAL.
cabal for linking a resulting application (although already the RTS
should pull in -pthread).
}}}
--
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/408>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list