9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <skip.tavakkolian@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Trouble compiling "Hello, world"
Date: Mon, 1 Aug 2022 15:51:34 -0700	[thread overview]
Message-ID: <CAJSxfm+QwBLTAAP=vs=+Ch+PPxV-qsOfNZdGgbuJVu30XgsuQg@mail.gmail.com> (raw)
In-Reply-To: <6e175100-9bbb-45fb-1b92-2213a5b5377a@posixcafe.org>

[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]

generally it's a good idea to rebuild and install changes for all
architectures in your network.
something like:
for (i in (386 arm amd64 riscv mips)) {
 objtype=$i mk install
}


On Mon, Aug 1, 2022 at 2:50 PM Jacob Moody <moody@posixcafe.org> wrote:

> 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-M565bb49ffae694a571843da1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2638 bytes --]

  reply	other threads:[~2022-08-01 22:52 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
2022-08-01 22:51       ` Skip Tavakkolian [this message]
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='CAJSxfm+QwBLTAAP=vs=+Ch+PPxV-qsOfNZdGgbuJVu30XgsuQg@mail.gmail.com' \
    --to=skip.tavakkolian@gmail.com \
    --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).