Compiler matter



Hi,

I tried to compile a simple hello world C program but the compiler looked
for the old host name. How to overcome this problem?

/usr/ucb/cc -o try try.c
ucbcc: Warning:
Option -YP,:/usr/ucblib:/opt/SUNWspro/WS6U2/bin/../lib:/opt/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib
passed to ld, if ld is invoked, ignored otherwise



License Error : Cannot find the license server (libalephprd)

in the network database for product(Sun WorkShop Compiler C SPARC)

Cannot find SERVER hostname in network database

The lookup for the hostname on the SERVER line in the

license file failed. This often happens when NIS or DNS

or the hosts file is incorrect. Workaround: Use IP-Address

(e.g., 123.456.789.123) instead of hostname

Feature:workshop.c.sparc

Hostname:skywalker ------------------------------------------------------------------------------------>This
is the old host name (current hostname is libalephprd)

FLEXlm error:-14,7. System Error: 146 Connection refused



Thanks in advance for any advice.


.