Article View: news.software.nntp
Article #27562Re: nntp - socket(),connect(),getservbyname()... help!
From: Justin M. Streiner
Date: Thu, 09 Apr 1998 00:00
Date: Thu, 09 Apr 1998 00:00
16 lines
1439 bytes
1439 bytes
On Thu, 09 Apr 1998 14:50:49 -0700, Jim Nguyen Tran <natran@csupomona.edu> wrote: >I got some source code of newsreaders and tried to complied them but >always the complier(linker is more exact) say undefine symbol - i.e. >socket,connect,getservbyname. Could anybody explain to me why is that >please! Where are those functions? Thanks alot! Sounds like whatever news reader you're trying to compile, you're not adding a "-lsocket" in the appropriate spot in your Makefile(s). Of course without knowing what OS this is for, what reader and exactly what errors the compiler/linker produced it's kinda tough to say :-) jms
Technical Details
Message-ID:
<slrn6iqinr.snb.streiner@lurch.bv.sgi.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<352be371.69495585@dnews.pacificnet.net> <87vhsjkzey.fsf@fluffy.meow.org> <6gj62p$qp5$1@nntp.epix.net> <87yaxerdci.meow@fluffy.meow.org> <352D42B9.1128@csupomona.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrn6iqinr.snb.streiner@lurch.bv.sgi.net> Subject: Re: nntp - socket(),connect(),getservbyname()... help! Date: Thu, 09 Apr 1998 00:00:00 +0000 From: streiner@remove-to-mail-me.sgi.net (Justin M. Streiner) References: <352be371.69495585@dnews.pacificnet.net> <87vhsjkzey.fsf@fluffy.meow.org> <6gj62p$qp5$1@nntp.epix.net> <87yaxerdci.meow@fluffy.meow.org> <352D42B9.1128@csupomona.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 342559212 NNTP-Posting-Date: Thu, 09 Apr 1998 18:18:38 EST Reply-To: streiner@remove-to-mail-me.cluebyfour.org Newsgroups: news.software.nntp