Re: Getting EMC to install. Was: Is EMC and RTL2.2.13 viable?




> Date: Sat, 11 Mar 2000 09:40:46 -0500 (EST)
> Originator: emc-at-nist.gov
> From: Anders Blix <anders.blix-at-tv2.no>
> To: Multiple recipients of list <emc-at-nist.gov>
> Subject: Getting EMC to install. Was: Is EMC and RTL2.2.13 viable?
> X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
> MIME-Version: 1.0
> X-To: "'emc-at-nist.gov'" <emc-at-nist.gov>
> 
> 
> 
> > I just downloaded the rtlinux 2.2 that goes with kernel 2.2.14, I haven't 
> > tested it yet.
> > 
> > Perhaps a better idea would be to use rtlinux 2.0 with the prepatched
> > 2.2.13 
> > from the rtlinux.org website.
> > 
> 	I downloaded rtlinux 2.0 with the prepatched kernel, and for the
> first time RTLinux actually work for me now. BUT it is impossible to install
> EMC without errors. 
> 
> 	The reasons I have found so far is:
> 
> 	1: the file 
> 
> 	/usr/local/nist/rcslib/etc/rtlinux_2_0.def 
> 
> 	is refering to a dir that must be 
> 
> 	/usr/src/rtlinux-2.0/rtl/include/linux .
> 
> 	I have no linux subdirectory in rtl/include . Anny ideas why??? And
> should there be? When I cheked the rtl tarfile it didn't contain anny
> rtl/include/linux file or directory either.  
> 

In my installation  linux is a symbolic link to arch-i386 in the same directory.

[shackle-at-wiske include]# ls -l /usr/src/rtlinux-2.0/rtl/include/linux
lrwxrwxrwx   1 root     root            9 Feb 25 13:34 
/usr/src/rtlinux-2.0/rtl/include/linux -> arch-i386
[shackle-at-wiske include]# ls -l /usr/src/rtlinux-2.0/rtl/include/arch-i386/
total 20
-rw-r--r--   1 root     root         1095 Oct 27 16:58 rt_irq.h
-rw-r--r--   1 root     root          274 Nov 13 16:58 rt_time.h
-rw-r--r--   1 root     root           36 Oct 13 00:11 rtl_fpu.h
-rw-r--r--   1 root     root         1094 Oct 21 15:33 rtl_switch.h
-rw-r--r--   1 root     root         2433 Nov 13 16:58 rtl_time.h

And in the Makefile in /usr/src/rtlinux-2.0/rtl there is a line that says
this:

ln -s arch-$(ARCH) include/linux

Did you do a "make all" in this directory?

Adding a non-existant directory to the include path is not an error in itself,
however if it can't find one of those header files above this might be the reason.

Adding a non-existant directory in the include path is not an error




> 	2: Any idea about flag: -DCPU=686 ??? Does this refer to the cpu??
> In that case it should say 586 for my computer.
> 

Yes, we need to find someway to get the __SMP__ flags and this one set automatically
to be correct for the system were installing under any platform. We could set it to 
386 to work anywhere but that would leave most people with less than optimal 
performance.
(I'll work on it. In the meantime set this the same as you have it set for RTL and 
the kernel compiles.)




> 	3: It has the line:
> 
> 	Makedepend=/usr/X11R6/bin/makedepend
> 
> 	If I look I can't find that file or directory either. And in my
> install log there are several error 126 because of this as vel. 

The makedepend program seemed to come with both RedHat 5.2 and RedHat 6.1 by default.
Perhaps it doesn't come with slackware, or perhaps it does but there is an option 
that needed to be chosen, or it was installed in another directory.

I have put a copy on ftp://ftp.isd.mel.nist.gov/pub/emc


> 
> 	4: In my logfile there is a reference to X11/Xlib.h
> 
> 	This causes an error 1. Anny idea about this???

My guess it has something to do with xemc which I no little about. So I'll leave this
for someone else.


> 
> 	5: In my logfile at some point says:
> 
> 	no rule to make target:
> 	/usr/lcal/nist/emc/plat/linux_2_2_13/lib/iosh.o
> 	target 'all' not remade because of errors
> 	plat/linux_2_2_13/bin/tkio
> 
> 	This causes an error 2.
>


Do you have the file emc/src/emcio/iosh.cc?

If not I put a copy by itself on the FTP site, although I have no idea why it wasn't 
in the distribution.


 
> 	When I try to run sim.run I get to the point where it is trying to
> start bridgeport(someting), and it cant start it.
> 
Probably either bridgeporttask or bridgeportio (both of which should have ended up
in plat/linux_2_2_13/bin) doesn't exist because of one of those compile errors.
If there both there you might check the sim.ini file to be sure the PLAT variables
are set to linux_2_2_13 and not linux_2_0_36.



> 	And that is where I stand right now. I got the Frank Zappa and sound
> test (althoug it wasnt possible to hear what was said at all...) to work, so
> I think I have the RTL installed propperly. 
> 
> 	What I realy could use is a scipt that does all this automatically!
> 
> 	Anders Blix
> 
> 

-- Will


---------------------------------------------------------------
William Penn Shackleford III			shackle-at-nist.gov
National Institute of Standards & Technology	Tel:	(301) 975-4286
100 Bureau Drive Stop 8230  			FAX:	(301) 990-9688
Gaithersburg MD  20899  USA
http://www.isd.mel.nist.gov/personnel/shackleford/
Office Location: Bldg. 220 Rm A253 




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

Problems or questions? Contact