Stichting-MINIX-Research-Foundation / minix

Official MINIX sources - Automatically replicated from gerrit.minix3.org
Other
3.06k stars 993 forks source link

build minix error #297

Open lstfunster opened 5 years ago

lstfunster commented 5 years ago

compile libc error compile libc/wsetup.pico build libc/libc.a build libc/libc_pic.a build libc/libc.so.12.197 create libc/C.cat make[5]: exec(gencat) failed (No such file or directory) *** Error code 1

Stop. make[5]: stopped in /usr/src/lib/libc *** Error code 1

Stop. make[4]: stopped in /usr/src/lib/libc *** Error code 1

Stop. make[3]: stopped in /usr/src/lib *** Error code 1

Stop. make[2]: stopped in /usr/src/lib *** Error code 1

Stop. make[1]: stopped in /usr/src *** Error code 1

Stop. make: stopped in /usr/src

how to slove this error?

haizzus commented 5 years ago

Did you follow https://wiki.minix3.org/doku.php?id=developersguide:crosscompiling?

Gonglja commented 3 years ago

I also encountered this problem when compiling. How did you solve it?

    compile  libc/wmemcmp.pico
    compile  libc/wmemcpy.o
    compile  libc/wmemcpy.pico
    compile  libc/wmemmove.o
    compile  libc/wmemmove.pico
    compile  libc/wmemset.o
    compile  libc/wmemset.pico
    compile  libc/wordexp.o
    compile  libc/wordexp.pico
    compile  libc/wprintf.o
    compile  libc/wprintf.pico
    compile  libc/write.o
    compile  libc/write.pico
    compile  libc/wscanf.o
    compile  libc/wscanf.pico
    compile  libc/wsetup.o
    compile  libc/wsetup.pico
      build  libc/libc.a
      build  libc/libc_pic.a
      build  libc/libc.so.12.197
     create  libc/C.cat
make[5]: exec(gencat) failed (No such file or directory)
*** Error code 1

Stop.
make[5]: stopped in /usr/src/lib/libc
*** Error code 1

Stop.
make[4]: stopped in /usr/src/lib/libc
*** Error code 1

Stop.
make[3]: stopped in /usr/src/lib
*** Error code 1

Stop.
make[2]: stopped in /usr/src/lib
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
petershh commented 3 years ago

Hello @Gonglja, Looks like gencat utility is missing. Did you follow https://wiki.minix3.org/doku.php?id=developersguide:crosscompiling ?

Gonglja commented 3 years ago

Hello @Gonglja, Looks like gencat utility is missing. Did you follow https://wiki.minix3.org/doku.php?id=developersguide:crosscompiling ?

Thanks for your reply, I compiled using Minix3 running on vmware, not cross-compiled on Ubuntu.So I read the following link https://wiki.minix3.org/doku.php?id=developersguide:rebuildingsystem

petershh commented 3 years ago

Which minix version do you use and which one are you trying to build?

Gonglja commented 3 years ago

Which minix version do you use and which one are you trying to build?

The host machine:

# uname -a
Minix 192.168.39.128 3.3.0 Minix 3.3.0 (GENERIC) i386

Compiled source code is:

# cd /usr/src
# git branch -v
* master 4db99f4 Remove building with NOCRYPTO option
petershh commented 3 years ago

Unfortunately, you're using outdated instructions. You need to follow this: https://wiki.minix3.org/doku.php?id=developersguide:trackingcurrent

Gonglja commented 3 years ago

Unfortunately, you're using outdated instructions. You need to follow this: https://wiki.minix3.org/doku.php?id=developersguide:trackingcurrent

I tried, but I still can't. An error occurs when I make build. log.txt

petershh commented 3 years ago

There's the warning on this page which says that you cannot build 3.4.0 from 3.3.0. Please install minix 3.4.0RC6 from minix site.

Gonglja commented 3 years ago

Thank you, didn't notice this place I downloaded this, try it. http://download.minix3.org/iso/snapshot/minix_R3.4.0rc6-d5e4fc0.iso.bz2

Muqi1029 commented 1 year ago

Thank you, didn't notice this place I downloaded this, try it. http://download.minix3.org/iso/snapshot/minix_R3.4.0rc6-d5e4fc0.iso.bz2

so how did u solve that compiling question? Just use this R3.4.0 iso?

petershh commented 1 year ago

On Sun, May 07, 2023 at 03:50:26AM -0700, Muqi wrote:

Hello,

Thank you, didn't notice this place I downloaded this, try it. http://download.minix3.org/iso/snapshot/minix_R3.4.0rc6-d5e4fc0.iso.bz2

so how did u solve that compiling question? Just use this R3.4.0 iso?

Yes, you need to use 3.4.0RC6 to build current master.

-- Reply to this email directly or view it on GitHub: https://github.com/Stichting-MINIX-Research-Foundation/minix/issues/297#issuecomment-1537384590 You are receiving this because you commented.

Message ID: @.***>

petershh commented 1 year ago

I cannot say why the build fails if you do not provide any data.

Please open new issue and describe the problem there.

Muqi1029 commented 1 year ago

I cannot say why the build fails if you do not provide any data. Please open new issue and describe the problem there.

Okay, thank u a lot!