[Serusers] link error "cannot find -lrt" while recompile the source

Li, Jesse Xianxing (Jesse) jesseli at qd.lucent.com
Fri Dec 3 10:10:05 CET 2004


Hi,
 
I encounter the following error when I compile the source code:
 
unix: ser/ser-0.8.14> uname  -a
SunOS sfws20 5.6 Generic_105181-31 sun4u sparc SUNW,Ultra-5_10
unix: ser/ser-0.8.14> /opt/exp/gnu/bin/gcc --version
gcc (GCC) 3.4.2

Can someone help me out?
 
Thanks a  lot  in  advance,
Jesse 

 
The errors:
========
Extra objs: 
gcc  -Wl,-O2 -Wl,-E   action.o crc.o data_lump.o data_lump_rpl.o dprint.o dset.o error.o fifo_server.o flags.o forward.o hash_func.o ip_addr.o main.o md5.o md5utils.o modparam.o msg_translator.o pass_fd.o proxy.o re.o receive.o resolve.o route.o route_struct.o script_cb.o sr_module.o stats.o tcp_main.o tcp_read.o timer.o udp_server.o usr_avp.o mem/f_malloc.o mem/mem.o mem/memtest.o mem/q_malloc.o mem/shm_mem.o mem/vq_malloc.o parser/hf.o parser/msg_parser.o parser/parse_content.o parser/parse_cseq.o parser/parse_disposition.o parser/parse_event.o parser/parse_expires.o parser/parse_fline.o parser/parse_from.o parser/parse_hname2.o parser/parse_hostport.o parser/parse_nameaddr.o parser/parse_param.o parser/parse_rr.o parser/parse_to.o parser/parse_uri.o parser/parse_via.o parser/parser_f.o parser/digest/digest.o parser/digest/digest_parser.o parser/digest/param_parser.o parser/contact/contact.o parser/contact/parse_contact.o db/db.o lex.yy.o cfg.tab.o     -lfl -ldl -lresolv -L/usr/local/lib -lfl -lxnet -lrt -lnsl   -o ser 
/opt/exp/gnu/bin/ld: cannot find -lrt
collect2: ld returned 1 exit status



Jesse Li
Feature Test Group, Lucent Qingdao(QD), GDC
TEL: (office) +86-532-8702000 Ext 5018
EMAIL: xli6 at lucent.com
http://ihgpweb.ih.lucent.com/~jesseli/




More information about the sr-users mailing list