freenect
freenect copied to clipboard
undefined reference to `freenect_set_flag' under ghc-8.0.2
I am getting the following error (multiple instances) when installing haskanoid under ghc 8.0.2. The error seems to be related to freenect. I tried a sandbox install too with same result:
madjestic@nu ~/Projects/Haskell/haskanoid $ cabal install
Resolving dependencies...
Configuring haskanoid-0.1.5...
Building haskanoid-0.1.5...
Failed to install haskanoid-0.1.5
Build log ( /home/madjestic/.cabal/logs/haskanoid-0.1.5.log ):
cabal: Entering directory '.'
Configuring haskanoid-0.1.5...
Building haskanoid-0.1.5...
Preprocessing executable 'haskanoid' for haskanoid-0.1.5...
Linking dist/build/haskanoid/haskanoid ...
/home/madjestic/.cabal/lib/x86_64-linux-ghc-8.0.2/freenect-1.2.1-IWHP9yhnEhcEQ0pDPsW6C9/libHSfreenect-1.2.1-IWHP9yhnEhcEQ0pDPsW6C9.a(Freenect.o):(.text+0x13037): undefined reference to `freenect_set_flag'
collect2: error: ld returned 1 exit status
`x86_64-pc-linux-gnu-gcc' failed in phase `Linker'. (Exit code: 1)
cabal: Leaving directory '.'
cabal: Error: some packages failed to install:
haskanoid-0.1.5 failed during the building phase. The exception was:
ExitFailure 1