* [9fans] Russ's plan9.tar.gz question..
@ 2004-04-19 1:57 Ishwar Rattan
2004-04-19 2:21 ` Russ Cox
0 siblings, 1 reply; 2+ messages in thread
From: Ishwar Rattan @ 2004-04-19 1:57 UTC (permalink / raw)
To: 9fans
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");
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-19 2:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-19 1:57 [9fans] Russ's plan9.tar.gz question Ishwar Rattan
2004-04-19 2:21 ` Russ Cox
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).