Re: [Haskell-cafe] video for linux two (v4l2) bindings

2011-07-08 Thread Claude Heiland-Allen
Hi, On 05/07/11 10:19, Christopher Done wrote: [snip] /usr/bin/ld: /home/chris/.cabal/lib/bindings-posix-1.2.2/ghc-6.12.3/libHSbindings-posix-1.2.2.a(Signal.o):(.text+0x5dfb): error: undefined reference to 'pthread_kill' [snip] I guess on Claude's system it's linked to by default. So for

Re: [Haskell-cafe] video for linux two (v4l2) bindings

2011-07-08 Thread MaurĂ­cio Antunes
Hi, all, I've added that 'extra-libraries' to .cabal, and also modules for fcntl.h and sys/mman.h (mmap). Would you please test it and check if it solves the problem before I upload it to hackage? https://bitbucket.org/mauricio/bindings-dsl/downloads/bindings-posix-1.2.3.tar.gz Just download

Re: [Haskell-cafe] video for linux two (v4l2) bindings

2011-07-05 Thread Christopher Done
On 3 July 2011 21:46, Daniel Fischer daniel.is.fisc...@googlemail.com wrote: On Sunday 03 July 2011, 21:34:17, Christopher Done wrote: I just had a quick try with cabal-install and got the below. I'm not sure where linux/posix_types is supposed to come from. Is this error obvious to you?

[Haskell-cafe] video for linux two (v4l2) bindings

2011-07-03 Thread Claude Heiland-Allen
Greetings all, I uploaded 4 new packages that may be of interest: bindings-linux-videodev2 0.1 - bindings to Video For Linux Two (v4l2) kernel interfaces http://hackage.haskell.org/package/bindings-linux-videodev2-0.1 bindings-mmap 0.1 - bindings to mmap for POSIX

Re: [Haskell-cafe] video for linux two (v4l2) bindings

2011-07-03 Thread Christopher Done
Sounds awesome! I was recently thinking I wanted a v4l-binding. In the past I've patched vgrabbj so that I could pipe it and use it from Haskell, but wanted a direct binding. I just had a quick try with cabal-install and got the below. I'm not sure where linux/posix_types is supposed to come

Re: [Haskell-cafe] video for linux two (v4l2) bindings

2011-07-03 Thread Daniel Fischer
On Sunday 03 July 2011, 21:34:17, Christopher Done wrote: I just had a quick try with cabal-install and got the below. I'm not sure where linux/posix_types is supposed to come from. Is this error obvious to you? glibc-devel or the equivalent package for your distro, I think.