1) fpimem.c shouldn't be missing, it should be in ../port/fpimem.c.
The file in charge of making source files from ../port/ reachable
from the ds port directory is ../port/portmkfile.
Maybe portmkfile is not being properly run.
2) before introducing arm7/mkdeps i checked it on windows xp (but not on vista),
3) as the README says, some files which are not in the default Inferno install
are needed by the build process (referenced by CONF=sds) you can find
them on root/.
The profile in particular is not in the root/,
so just create an empty profile for the build process to continue.
To fix other dependency issues just:
cp root/usr/inferno/lib/* ../../usr/inferno/lib
thanks for the report,
i'll push the fixes on the next commit.
--
salva
i'm assuming that the above log comes form a clean checkout (without
modifications)
the undefined symbol errors are happening here:
i$CONF: $OBJ $CONF.c $CONF.root.h $LIBNAMES
$CC $CFLAGS '-DKERNDATE='$KERNDATE $CONF.c
$LD -o $target -H0 -T$KTZERO -l $OBJ $CONF.$O $LIBFILES
which seem to be related with files missing on the $OBJ variable,
which is defined just above and should contain $IP, $DEVS, $ETHERS,
$LINKS, $PORT, ...
but all those variables are empty when they should have been set by
../port/mkdevlist
based on the contents of CONF=sds.
So the first place to start looking would be finding out if mkdevlist
is working properly.
One precaution to avoid build problems is to put the Inferno tools
first in the PATH:
set HOST=Nt
set ARCH=386
set INFERNO=c:/inferno
set PATH=%INFERNO%/%HOST%/%ARCH%/bin;%PATH%
Moreover a full log of the build process could give more details
as something could be failing before the link stage, for this run:
mk vclean
mk
HTH
--
salva
Sent from my iPhone
On Jul 14, 2008, at 7:09 PM, "Antti....@googlemail.com" <Antti....@googlemail.com
Well, it seem you're the first compiling inferno-ds under vista,
so more or less you're on your own on building the project, as i don't
have vista.
1 svn co http://inferno-ds.googlecode.com/svn/trunk/ ds2
2
3 C:\Inferno\os\ds2>xc.bat
4 C:\Inferno\os\ds2>set HOST=Nt
5 C:\Inferno\os\ds2>set ARCH=386
6 C:\Inferno\os\ds2>set INFERNO=c:/inferno
7 C:\Inferno\os\ds2>set path=c:\devkitpro\devkitarm\bin;c:\inferno\nt
8 \386\bin
9
10 C:\Inferno\os\ds2>mk vclean
11 arm7/mkdeps: file not found
12 svn: file not found
13 for(i in ds sds ds sds)
14 rm -f $i.c i$i i$i.* $i.ver
15 rm -f *.[5] *.root.[sh] errstr.h *.out
16 rm -f syms
17 cd arm7; mk CONF=sds vclean
18 rc: file stdin$: line 3: token '=': syntax error
errors comented line by line:
7: if that line is right, you're loosing all your previous path contents,
i believe it should look like:
set path=c:\devkitpro\devkitarm\bin;c:\inferno\nt\386\bin;%path%
That's should explain the error on line 12, about rc being unable to find svn.
11: seems you need to prefix the arm7/mkdeps call with $SHELLNAME as
you did before.
12: it looks like rc complains about the svn command not found.
18: rc is complaining about the '=' sign in the mk invocation, you can
try quoting it:
cd arm7/ mk CONF'='sds vclean
Also to remove doubts it would be good to know,
if you can run the failing commands from the prompt,
and try to find out what's making them fail.
apply the fixes & try again, :-)
--
salva
the 'remote' boot option doesn't work,
as there's no complete wifi networking support.
The only usable option atm is the 'kernel' boot.
--
salva
congrats!,
i've noted down all the changes you needed to get it running on vista,
and i'll apply them on the next commit, which should happen around the
end of week.
Anyway if you can send the output of `svn diff`,
i'll make sure that there's nothing missing.
the README file has a small section called usage, which mentions the boot prompt
for more details you can look at the sources, like the initial limbo
program: dsinit.b.
The wiki has also some pointers about the hardware, project ideas and status.
the difference in size of isds.nds < icds.nds is due to the latter
containing more things,
like games and such you can read [games on inferno-ds], probably
caerwyn knows more about.
[games on inferno-ds]
http://groups.google.com/group/inferno-ds/browse_thread/thread/fa3babbabf5d70c4
--
salva