From: ISHWAR RATTAN <rattan@cps.cmich.edu>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] postmountsrv reference?
Date: Thu, 27 Jul 2006 10:41:42 -0400 [thread overview]
Message-ID: <Pine.GSO.4.61.0607271040110.7619@cps222.cps.cmich.edu> (raw)
In-Reply-To: <ee9e417a0607262102j54a91bc6ub96f6b075ff7e5d7@mail.gmail.com>
Forgot to mention that it is plan9port question.
----------
Includes:
#include <u.h>
#include <libc.h>
#include <auth.h>
#include <fcall.h>
#include <thread.h>
#include <9p.h>
Error:
9l serv.o
serv.o: In function `p9main':/media/hda6/home/ishwar/serv.c:90: undefined reference to `postmountsrv'
collect2: ld returned 1 exit status
Even tried:
SHORTLIB=9p
in mkfile.
--------------
-ishwar
On Wed, 26 Jul 2006, Russ Cox wrote:
> Make sure you #include <9p.h> in the source files
> that use it. Then postmountsrv (and the rest of lib9p)
> will link in automatically.
>
> On 7/26/06, ISHWAR RATTAN <rattan@cps.cmich.edu> wrote:
>>
>> What library might contain postmountsrv():
>> lib9p?
>>
>> I keep on getting undefined reference to postmountsrv().
>>
>> -ishwar
>>
>>
>
next prev parent reply other threads:[~2006-07-27 14:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-27 2:29 ISHWAR RATTAN
2006-07-27 4:02 ` Russ Cox
2006-07-27 14:41 ` ISHWAR RATTAN [this message]
2006-07-27 15:27 ` Russ Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.61.0607271040110.7619@cps222.cps.cmich.edu \
--to=rattan@cps.cmich.edu \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).