[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linker error on Solaris 5.5.1


I am getting linker errors when I link libzmailer.a on Solaris 5.5.1 as follows.

[balakrna@brain]:~/sol>gcc webUtil.c -L. -lzmailer
Undefined                       first referenced
 symbol                             in file
getaddrinfo                         ./libzmailer.a(myhostname.o)
freeaddrinfo                        ./libzmailer.a(myhostname.o)
ld: fatal: Symbol referencing errors. No output written to a.out
I do not have any such problem on Linux. Why is that?
Appreciate your help.

Thanks and Regards,
- Jay