DC-Chain errors

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
User avatar
Corbin
DC Developer
DC Developer
Posts: 121
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Fri Dec 14, 2007 1:56 am
Location: California
Has thanked: 0
Been thanked: 0

DC-Chain errors

Post by Corbin »

Hi all,

Recompiling a new version of KOS since I got another machine. I'm following the instructions here. In dc-chain, after I execute download/unpack and run "make", the compiler snags after awhile:

Image

Any help is appreciated! Using Cygwin on Win10 x64.
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5665
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Re: DC-Chain errors

Post by BlueCrab »

I remember there being some really nasty issues with the x64 version of Cygwin in the past. I'm guessing they're still not fixed... :?

I suggest trying the 32-bit version of Cygwin and seeing if that fixes the issue (assuming there's still a sane way to pick which of the two you get).
User avatar
Corbin
DC Developer
DC Developer
Posts: 121
Joined: Fri Dec 14, 2007 1:56 am
Location: California
Has thanked: 0
Been thanked: 0

Re: DC-Chain errors

Post by Corbin »

I am using Cygwin x86 on x64 Win10.

New error now, same place really...I have no idea why it's failing:

Code: Select all

checking for exported symbols... config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/mu_divappr_q.c to mpn/mu_divappr_q.c
objdump: conftest: not a dynamic object
yes
checking for -rdynamic... config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/mu_div_q.c to mpn/mu_div_q.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/sb_bdiv_q.c to mpn/sb_bdiv_q.c
objdump: conftest: not a dynamic object
no
checking for library containing dlopen... (cached) none required
checking for -fPIC -shared... config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/sb_bdiv_qr.c to mpn/sb_bdiv_qr.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/dc_bdiv_q.c to mpn/dc_bdiv_q.c
no
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/dc_bdiv_qr.c to mpn/dc_bdiv_qr.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/mu_bdiv_q.c to mpn/mu_bdiv_q.c
configure: creating ./config.status
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/mu_bdiv_qr.c to mpn/mu_bdiv_qr.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/divexact.c to mpn/divexact.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/bdiv_dbm1c.c to mpn/bdiv_dbm1c.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/redc_1.c to mpn/redc_1.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/redc_2.c to mpn/redc_2.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/powm.c to mpn/powm.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/powlo.c to mpn/powlo.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/powm_sec.c to mpn/powm_sec.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/subcnd_n.c to mpn/subcnd_n.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/addsub_n.c to mpn/addsub_n.c
config.status: linking ../../gcc-4.7.3/gmp/mpn/generic/gmp-mparam.h to gmp-mparam.h
config.status: creating as
config.status: creating collect-ld
config.status: creating nm
config.status: creating Makefile
config.status: creating ada/gcc-interface/Makefile
config.status: creating ada/Makefile
config.status: creating auto-host.h
config.status: auto-host.h is unchanged
config.status: executing default commands
make[2]: Leaving directory '/cygdrive/c/cygwin/home/corbyn/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3'
Makefile:859: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/cygdrive/c/cygwin/home/corbyn/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3'
Makefile:164: recipe for target 'build-sh4-gcc-pass1' failed
make: *** [build-sh4-gcc-pass1] Error 1
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5665
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Re: DC-Chain errors

Post by BlueCrab »

I suppose it's possible that it is a Windows 10 issue somehow, but I'd still lean toward it being something odd in Cygwin.

Unfortunately, I probably can't be much help, as I don't use Windows myself, nor do I have Windows 10... :?
User avatar
Corbin
DC Developer
DC Developer
Posts: 121
Joined: Fri Dec 14, 2007 1:56 am
Location: California
Has thanked: 0
Been thanked: 0

Re: DC-Chain errors

Post by Corbin »

So, I chose to move over to my 32-bit XP netbook to build. This time, a bit farther I think:

Code: Select all

configure: updating cache ./config.cache
checking generated-files-in-srcdir... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../../gcc-4.7.3/libquadmath
with_multisubdir=m4
make[2]: Leaving directory '/cygdrive/c/cygwin/home/coraline/tools/dreamcast/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3'
Makefile:875: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/cygdrive/c/cygwin/home/coraline/tools/dreamcast/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3'
Makefile:201: recipe for target 'build-sh4-gcc-pass2' failed
make: *** [build-sh4-gcc-pass2] Error 1
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5665
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Re: DC-Chain errors

Post by BlueCrab »

... That doesn't make any sense.

It's not actually spitting out any specific error... Just to be sure, you're not running out of hard drive space or something, are you?
User avatar
PH3NOM
DC Developer
DC Developer
Posts: 576
Joined: Fri Jun 18, 2010 9:29 pm
Has thanked: 0
Been thanked: 5 times

Re: DC-Chain errors

Post by PH3NOM »

Corbin-
Check this post I made here, it details from start to finish how to install KOS on Win 7. I cant imagine it is any different on 8, or 10:
viewtopic.php?f=29&t=102800#p1041492
Post Reply