[Bug c++/51204] g++ does not link getaddrinfo with -lxnet on OpenIndiana

johann at myrkraverk dot com gcc-bugzilla@gcc.gnu.org
Fri Nov 18 20:07:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51204

Johann 'Myrkraverk' Oskarsson <johann at myrkraverk dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |

--- Comment #4 from Johann 'Myrkraverk' Oskarsson <johann at myrkraverk dot com> 2011-11-18 19:54:40 UTC ---
The system supplied g++, 4.6.1, which uses the Sun ld also fails:

  johann@asuka:C++/CompilerBugs(1)% g++ SolarisG++4.6.2-lxnet.c++ -lxnet
  Undefined          first referenced
   symbol                in file
  __xnet_getaddrinfo                  /var/tmp//ccFXaiyD.o
  ld: fatal: symbol referencing errors. No output written to a.out
  collect2: ld returned 1 exit status
  johann@asuka:C++/CompilerBugs(1)%



More information about the Gcc-bugs mailing list