9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jacob Moody <moody@posixcafe.org>
To: 9fans@9fans.net
Subject: Re: [9fans] Trouble compiling "Hello, world"
Date: Mon, 1 Aug 2022 15:48:29 -0600	[thread overview]
Message-ID: <6e175100-9bbb-45fb-1b92-2213a5b5377a@posixcafe.org> (raw)
In-Reply-To: <af8c3804-021c-43ec-9af1-fc9e56a56a75@www.fastmail.com>

On 8/1/22 15:18, Jag Talon wrote:
> Ah thanks for the tip. I ran `echo $objtype` and it says amd64. I believe 6c is the compiler that I need but it seems to say another error: `??none??: cannot open file: /amd64/lib/libc.a`

It's telling you exactly what is wrong, you are missing an amd64 libc archive.
I am not sure how you wound up with running an amd64 kernel with an incomplete
amd64 install. For building libc again:

cd /sys/src/libc/ && mk install && mk clean

However, you may be missing more then just libc, in that case may just be best to rebuild
the whole system as a second resort.

cd /sys/src/ && mk install && mk clean


How did you install this system? Did you bootstrap yourself
up from 386?


--
moody

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te178b97d94173ff8-Mb5347e194b8afbd0967d8a38
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  reply	other threads:[~2022-08-01 21:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-01 20:41 Jag Talon
2022-08-01 21:02 ` Jacob Moody
2022-08-01 21:18   ` Jag Talon
2022-08-01 21:48     ` Jacob Moody [this message]
2022-08-01 22:51       ` Skip Tavakkolian
2022-08-01 22:53         ` Skip Tavakkolian
2022-08-01 23:44           ` Jag Talon
2022-08-02  1:11             ` LdBeth
2022-08-02  1:32             ` Thaddeus Woskowiak
2022-08-02  2:16               ` Jag Talon
2022-08-02  3:38                 ` Lucio De Re
2022-08-02  3:44                   ` Kurt H Maier via 9fans
2022-08-02  3:56                     ` Lucio De Re
2022-08-02  5:45                       ` Clout Tolstoy
2022-08-02  9:05                         ` Lucio De Re
2022-08-02  5:40                   ` sirjofri

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=6e175100-9bbb-45fb-1b92-2213a5b5377a@posixcafe.org \
    --to=moody@posixcafe.org \
    --cc=9fans@9fans.net \
    /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).