[SunHELP] porting from Linux to Solaris

Brian Hechinger sunhelp at sunhelp.org
Sat Mar 3 15:25:13 CST 2001


i'm trying to port a program from Linux to Solaris, and i'm having a rough time.
i'm by no means a programmer, but rather and admin who knows a little C.

-lnsl and -lsocket cleared up most of the symbol issues but i'm having trouble
tracking down what library(s) i need to use to get the following working.

$ cc -o b-chat -Wall -ansi_pedantic -lsocket -lnsl b-chat.o login.o misc.o ne>
Undefined                       first referenced
 symbol                             in file
sigmask                             b-chat.o
sigblock                            b-chat.o
herror                              network.o
ld: fatal: Symbol referencing errors. No output written to b-chat
collect2: ld returned 1 exit status

after that it should build and then i can truely get to the "porting" part of
the process.

thanks,

-brian



More information about the SunHELP mailing list