Ticket #3835 (closed merge: fixed)
unpleasant linker warning
| Reported by: | maeder | Owned by: | igloo |
|---|---|---|---|
| Priority: | high | Milestone: | 6.12.2 |
| Component: | Runtime System | Version: | 6.12.1 |
| Keywords: | Cc: | ||
| Operating System: | Solaris | Architecture: | x86 |
| Type of failure: | None/Unknown | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
