From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 27 Jul 2006 10:41:42 -0400 From: ISHWAR RATTAN To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] postmountsrv reference? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Topicbox-Message-UUID: 8f2ddf52-ead1-11e9-9d60-3106f5b1d025 Forgot to mention that it is plan9port question. ---------- Includes: #include #include #include #include #include #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 wrote: >> >> What library might contain postmountsrv(): >> lib9p? >> >> I keep on getting undefined reference to postmountsrv(). >> >> -ishwar >> >> >