[prev in list] [next in list] [prev in thread] [next in thread] 

List:       serdev
Subject:    [Serdev] Compiling for embedded platform: "undefined reference
From:       richard () o-matrix ! org (Richard)
Date:       2004-10-28 21:51:12
Message-ID: EINSTEINSsDPL70s4qd00002f27 () einstein ! systemmetrics ! com
[Download RAW message or body]

Look like that your uclibc toolchain is an older version. If you get the
latest version of uclibc, it should work.

> -----Original Message-----
> From: serdev-bounces@iptel.org [mailto:serdev-bounces@iptel.org] On Behalf
> Of Andrei Pelinescu-Onciul
> Sent: Thursday, October 28, 2004 8:10 AM
> To: Shaharyar Awan
> Cc: serdev@iptel.org
> Subject: Re: [Serdev] Compiling for embedded platform: "undefined
> reference to`__dn_expand'"
> 
> On Oct 12, 2004 at 00:59, Shaharyar Awan <shaharyarawan@yahoo.com> wrote:
> > I am trying to compile SER for a mips2 board with MV
> > linux. I followed the instructions from the mailing
> > list for compiling:
> >
> > make ARCH=mips2 OS=Linux OSREL=2.4.20_mvl31-ADM5120
> > CC=/usr/mipsel-linux-uclibc/bin/mipsel-uclibc-gcc
> > 2>&1| tee make.log
> >
> > I had already compiled libfl.a, libresolv.so and
> > libdl.so . But I end up with this error:
> >
> > /usr/mipsel-linux-uclibc/bin/mipsel-uclibc-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/parser_f.o parser/parse_rr.o parser/parse_to.o
> > parser/parse_uri.o parser/parse_via.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 -o ser
> > resolve.o: In function `dns_srv_parser':
> > resolve.o(.text+0x3dc): undefined reference to
> > `__dn_expand'
> > resolve.o: In function `dns_naptr_parser':
> > resolve.o(.text+0x90c): undefined reference to
> > `__dn_expand'
> > resolve.o: In function `dns_cname_parser':
> > resolve.o(.text+0xab4): undefined reference to
> > `__dn_expand'
> > resolve.o: In function `get_record':
> > resolve.o(.text+0xf40): undefined reference to
> > `__res_search'
> > collect2: ld returned 1 exit status
> > make: *** [ser] Error 1
> >
> 
> All these symbols should be in libresolv.
> 
> Andrei
> 
> _______________________________________________
> Serdev mailing list
> Serdev@iptel.org
> http://mail.iptel.org/mailman/listinfo/serdev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic