building emc-0.9-25.src.tgz on alpha & pentium



hello;

after spending most of the day working on the
alpha i turned my efforts toward a pentium 233mhz
box running mandrake-linux 7.1, gcc-2.95.3,
linux-2.2.14, and rtlinux-2.2a.

a sidenote:
the alpha is rtlinux-2.3 with linux-2.2.17.
my other choice was using linux-2.4.0.

a sidenote: several of the rtlinux downloads do
not patch the linux top level makefile to set
EXTRAVERSION to the appropriate rtlinux version.
this caused nearly all scripts under /usr/local/nist
on the alpha to not work. i also noticed this
on the intel box.

there were problems with the setversion script
which i fixed. /usr/local/nist/emc/src/emcio/iosh.cc
complained about syntax errors in /usr/include/sys/io.h.
after checking my other machines it looked like there
were syntax errors in /usr/include/sys/io.h. i corrected
the errors and iosh.cc compiled with no further complaints.
after several false starts and minor fixes rcslib and
emc compiled with no problems.

i would suggest a couple changes to the
/usr/local/nist/rcslib/etc/rtlinux*.def files.
the rtlinux*.defs which use 'find' to locate the rtlinux
makefile the directory passed to 'find' should have an
ending '/'.

example:
RTLMKFILE = $(shell find /usr/src/rtlinux-2.2 ....
should be
RTLMKFILE = $(shell find /usr/src/rtlinux-2.2/ ....

when /usr/src/rtlinux-2.2 is a symlink 'find' will not
cross the symlink without the ending '/'.

in testing it i discovered that
/usr/local/nist/emc/plat/linux_2_2_14/bin/inisim was
not built for some reason.
i cd'ed to /usr/local/nist/emc/src/emcio and ran make
by hand.

"make PLAT=linux_2_2_4 inisim"

built fine with no errors. i have not sorted through
everything to determine why it was not built to begin
with. i have just removed the /usr/local/nist/emc/plat
directory and i am rebuilding using script to capture
all output of the build. i will look at it later today.

after editing the sim.* files and generic.* files
i ran emc under simulation.
the one problem, again which i have not spent time
troubleshooting, is that none of the 'canned' programs
run correctly. when running the 'canned' programs
numerous "axis" errors come up.

later today, after i get some sleep, i am going to
try rtlinux-2.3 with linux-2.2.17 kernel. same box.
i have already created a /usr/local/nist2 directory
and made the necessary changes that i have thought
of sofar.

-- 
Terry L. Ridder

digging deep, i feel my conscience burn
i need to know who and what i am
this hunger jolts me from complacency
rocks me, makes me meet myself
----kendall payne---closer to myself---




Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact