So, removing the reference to the sh-elf lib directory and adding a reference to libdl.a let me build everything (I haven't tested it yet). I'm not sure why the reference to the sh-elf library is there if we aren't supposed to link to anything in that library for dc-tool, which is one of the programs built using the makefile and makefile.cfg.
Anyway, this is what I ended up using in Makefile.cfg:
Code: Select all
# Replaced the following
#BFDLIB = -L/opt/toolchains/dc/sh-elf/lib -lbfd -liberty -lintl
# With this instead
BFDLIB = -ldl -lbfd -liberty -lintl
From what I've read, libintl.a is being removed from a lot of programs? I'm not quite sure, but I had to grab libintl.a from the most recent gettext build that I can do... and it was in a hidden directory. Also, it looks like including that reference to the sh-elf directory caused an issue as it was checking libierty.a in that directory first... or something. I'm not really sure if I fixed anything at all at this point as I haven't tested anything that I've built yet. I don't own a crossover cable; so, I'm going to have to buy one along with a few blank CD-R's so I can set up the Dreamcast to communicate with my computer and then get dc-tool to work.