#3835: unpleasant linker warning
------------------------+---------------------------------------------------
    Reporter:  maeder   |       Owner:              
        Type:  bug      |      Status:  new         
    Priority:  normal   |   Component:  Compiler    
     Version:  6.12.1   |    Keywords:              
          Os:  Solaris  |    Testcase:              
Architecture:  x86      |     Failure:  None/Unknown
------------------------+---------------------------------------------------
 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

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3835>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to