From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ishwar Rattan To: 9fans@cse.psu.edu Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [9fans] Russ's plan9.tar.gz question.. Date: Sun, 18 Apr 2004 21:57:36 -0400 Topicbox-Message-UUID: 5e13435c-eacd-11e9-9e20-41e7f4b1d025 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 #include void main(void) { print("Hello, world\n"); }