From: Ishwar Rattan <ishwar@pali.cps.cmich.edu>
To: 9fans@cse.psu.edu
Subject: [9fans] Russ's plan9.tar.gz question..
Date: Sun, 18 Apr 2004 21:57:36 -0400 [thread overview]
Message-ID: <Pine.LNX.4.56.0404182150310.4820@pali.cps.cmich.edu> (raw)
The system is Linux Mandrake-9.1.
I downloaded, installed plan9.tar.gz in /usr/local/plan9
Set up the environments for PLAN9 and PATH
[ export PLAN9=/usr/local/plan9
export PATH=$PATH:$PLAN9/bin ]
but 9l produces an error (shown below).
How to fix it?
-ishwar
---
$ 9c x.c
$ 9l x.o
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
x.o(.text+0xc): In function `p9main':
/local/users/ishwar/x.c:7: undefined reference to `print'
collect2: ld returned 1 exit status
--source--
#include <u.h>
#include <libc.h>
void
main(void)
{
print("Hello, world\n");
}
next reply other threads:[~2004-04-19 1:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-19 1:57 Ishwar Rattan [this message]
2004-04-19 2:21 ` 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.LNX.4.56.0404182150310.4820@pali.cps.cmich.edu \
--to=ishwar@pali.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).