Skip to content

unpleasant linker warning

When linking any binary (i.e. cabal) that uses the network package I get the following warning:

ld: warning: symbol `store' has differing types:
        (file /usr/lib/libnsl.so type=FUNC; file /home/pub-bkb/pc-solaris/ghc/ghc-6.12.1/lib/ghc-6.12.1/libHSrts_thr.a(Globals.thr_o) type=OBJT);
        /home/pub-bkb/pc-solaris/ghc/ghc-6.12.1/lib/ghc-6.12.1/libHSrts_thr.a(Globals.thr_o) definition taken
ld: warning: symbol `store' has differing types:
        (file /usr/lib/libnsl.so type=FUNC; file /home/pub-bkb/pc-solaris/ghc/ghc-6.12.1/lib/ghc-6.12.1/libHSrts_thr.a(Globals.thr_o) type=OBJT);

I've got network-2.2.1.7 that as extra-libraries: nsl socket

Trac metadata
Trac field Value
Version 6.12.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information