![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Use of functions | amitrajvarma | Shell Programming and Scripting | 1 | 11-23-2007 06:52 AM |
| Where can I find Linux functions corresponding to the Solaris DDI? | boyanov | High Level Programming | 3 | 06-28-2007 10:31 AM |
| functions in | Raom | Shell Programming and Scripting | 6 | 07-21-2006 04:06 AM |
| FTP functions | hzambra | High Level Programming | 3 | 05-03-2002 02:06 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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? |
|
||||
|
The best way to figure out if a function is available with Solaris is to look for a man page. Eg: Code:
man getaddrinfo If there is one, it will give hints about the library to be used: Code:
cc [flag ...] file ... -lsocket -lnsl [library ...] |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|