logo       

[ ghc-Bugs-1228084 ] OpenAL needs -pthread: msg#00068

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1228084 ] OpenAL needs -pthread

Bugs item #1228084, was opened at 2005-06-27 10:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1228084&group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libraries (other)
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Volker Stolz (volkersf)
Assigned to: Sven Panne (spanne)
Summary: OpenAL needs -pthread

Initial Comment:
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).

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1228084&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise