Problem linking ls-usb package on Windows
Daniel Hlynskyi
abcz2.uprola at gmail.com
Thu Jul 25 00:09:19 CEST 2013
Hello. I have problem building ls-usb package on Windows. I have cygwin
installed (because of `libusb` dependency required)
How can I fix it?
daniel at GF ~/ls-usb-0.1.1
$ cabal build
Building ls-usb-0.1.1...
Preprocessing executable 'ls-usb' for ls-usb-0.1.1...
[1 of 3] Compiling Paths_ls_usb ( dist\build\autogen\Paths_ls_usb.hs,
dist\build\ls-usb\ls-usb-tmp\Paths_ls_usb.o )
[2 of 3] Compiling PrettyDevList ( PrettyDevList.hs,
dist\build\ls-usb\ls-usb-tmp\PrettyDevList.o )
[3 of 3] Compiling Main ( ls-usb.hs,
dist\build\ls-usb\ls-usb-tmp\Main.o )
Linking dist\build\ls-usb\ls-usb.exe ...
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00669.o):(.text+0x0):
multiple definition of `ldexp'
C:/cygwin/lib//libm.a(t-d001239.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00688.o):(.text+0x0):
multiple definition of `pow'
C:/cygwin/lib//libm.a(t-d001397.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00738.o):(.text+0x0):
multiple definition of `tanh'
C:/cygwin/lib//libm.a(t-d001788.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00600.o):(.text+0x0):
multiple definition of `cosh'
C:/cygwin/lib//libm.a(t-d000800.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00708.o):(.text+0x0):
multiple definition of `sinh'
C:/cygwin/lib//libm.a(t-d001698.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00588.o):(.text+0x0):
multiple definition of `atan'
C:/cygwin/lib//libm.a(t-d000717.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00585.o):(.text+0x0):
multiple definition of `acos'
C:/cygwin/lib//libm.a(t-d000685.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00587.o):(.text+0x0):
multiple definition of `asin'
C:/cygwin/lib//libm.a(t-d000710.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00737.o):(.text+0x0):
multiple definition of `tan'
C:/cygwin/lib//libm.a(t-d001786.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00599.o):(.text+0x0):
multiple definition of `cos'
C:/cygwin/lib//libm.a(t-d000798.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00707.o):(.text+0x0):
multiple definition of `sin'
C:/cygwin/lib//libm.a(t-d001694.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00605.o):(.text+0x0):
multiple definition of `exp'
C:/cygwin/lib//libm.a(t-d000924.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00673.o):(.text+0x0):
multiple definition of `log'
C:/cygwin/lib//libm.a(t-d001264.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00710.o):(.text+0x0):
multiple definition of `sqrt'
C:/cygwin/lib//libm.a(t-d001714.o):fake:(.text+0x0): first defined here
C:/Program Files/Haskell
Platform/2013.2.0.0/mingw/bin/../lib/libmsvcrt.a(duyms00686.o):(.text+0x0):
multiple definition of `modf'
C:/cygwin/lib//libm.a(t-d001332.o):fake:(.text+0x0): first defined here
C:/cygwin/lib//libm.a(t-d001273.o):fake:(.text+0x2): undefined reference to
`_imp__logf'
C:/cygwin/lib//libm.a(t-d001400.o):fake:(.text+0x2): undefined reference to
`_imp__powf'
C:/cygwin/lib//libm.a(t-d001789.o):fake:(.text+0x2): undefined reference to
`_imp__tanhf'
C:/cygwin/lib//libm.a(t-d000801.o):fake:(.text+0x2): undefined reference to
`_imp__coshf'
C:/cygwin/lib//libm.a(t-d001699.o):fake:(.text+0x2): undefined reference to
`_imp__sinhf'
C:/cygwin/lib//libm.a(t-d000720.o):fake:(.text+0x2): undefined reference to
`_imp__atanf'
C:/cygwin/lib//libm.a(t-d000686.o):fake:(.text+0x2): undefined reference to
`_imp__acosf'
C:/cygwin/lib//libm.a(t-d000711.o):fake:(.text+0x2): undefined reference to
`_imp__asinf'
C:/cygwin/lib//libm.a(t-d001787.o):fake:(.text+0x2): undefined reference to
`_imp__tanf'
C:/cygwin/lib//libm.a(t-d000799.o):fake:(.text+0x2): undefined reference to
`_imp__cosf'
C:/cygwin/lib//libm.a(t-d001697.o):fake:(.text+0x2): undefined reference to
`_imp__sinf'
C:/cygwin/lib//libm.a(t-d000929.o):fake:(.text+0x2): undefined reference to
`imp(...)(long long, float *)'
C:/cygwin/lib//libm.a(t-d001715.o):fake:(.text+0x2): undefined reference to
`_imp__sqrtf'
C:/cygwin/lib//libm.a(t-d000904.o):fake:(.text+0x2): undefined reference to
`imp(...)(long double, float)'
C:/cygwin/lib//libm.a(t-d000905.o):fake:(.text+0x2): undefined reference to
`imp(...)(long double, float, char)'
C:/cygwin/lib//libm.a(t-d000907.o):fake:(.text+0x2): undefined reference to
`imp(...)(long double, float, float)'
C:/cygwin/lib//libm.a(t-d000906.o):fake:(.text+0x2): undefined reference to
`imp(...)(long double, float, char, float)'
collect2: ▒▒▒▒▒▒▒▒▒▒ ld ▒▒▒▒▒▒▒▒▒▒▒ ▒ ▒▒▒▒▒ ▒▒▒▒▒▒▒▒ 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20130725/b3a05149/attachment.htm>
More information about the cabal-devel
mailing list