The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-25-2008
f.ben.isaac f.ben.isaac is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 32
Are these C++ functions Available in SUN Solaris?

I tried to compile a socket programming code under SUN Solaris by using g++, i get the following errors:

Undefined first referenced
symbol in file
__xnet_connect /var/tmp//ccidZvCu.o
__xnet_socket /var/tmp//ccidZvCu.o
getaddrinfo /var/tmp//ccidZvCu.o
freeaddrinfo /var/tmp//ccidZvCu.o
gai_strerror /var/tmp//ccidZvCu.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status

Note: the program compiles under Linux - Ubuntu.

Any help? Where can i find the library? How can i link it to my code?