-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
When I compile a program with profiling I get linker errors like these:
/cabal/lib/x86_64-linux-ghc-7.8.3/cufft-0.1.0.3/libHScufft-0.1.0.3_p.a(Plan.p_o):(.text+0x5d98): undefined reference to `cufftPlan3d'
/cabal/lib/x86_64-linux-ghc-7.8.3/cufft-0.1.0.3/libHScufft-0.1.0.3_p.a(Plan.p_o):(.text+0x5de1): undefined reference to `cufftPlan3d'
/cabal/lib/x86_64-linux-ghc-7.8.3/cufft-0.1.0.3/libHScufft-0.1.0.3_p.a(Plan.p_o):(.text+0x5e13): undefined reference to `cufftPlan3d'
/cabal/lib/x86_64-linux-ghc-7.8.3/cufft-0.1.0.3/libHScufft-0.1.0.3_p.a(Plan.p_o):(.text+0x5e45): undefined reference to `cufftPlan3d'
/cabal/lib/x86_64-linux-ghc-7.8.3/cufft-0.1.0.3/libHScufft-0.1.0.3_p.a(Plan.p_o):(.text+0x5e7a): undefined reference to `cufftPlan3d'
...
When I change build-type from Configure to Simple in cufft.cabal and add pkgconfig-depends: cufft-6.0 then I can successfully compile with profiling.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels