[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [realtime] Re: RTLinux 2.2 and mbuff 0.7.1



unsubscribe realtime@realtimelinux.org

-----Original Message-----
From: owner-realtime@realtimelinux.org
[mailto:owner-realtime@realtimelinux.org]On Behalf Of Philip N Daly
Sent: Sunday, June 04, 2000 2:29 PM
To: yodaiken@fsmlabs.com
Cc: realtime@realtimelinux.org; rtl@www.rtlinux.org
Subject: [realtime] Re: RTLinux 2.2 and mbuff 0.7.1



OK,

After several suggestions from Tomasz and much re-compiling etc, I've
got RTLinux 2.2 and mbuff 0.6.6 to work. I'll try 0.7.1 "real soon
now" and report back.

I cannot say what the exact problem was but I did several things to
solve this and something worked:

1. Made sure mbuff.h mbuff.o was being picked up from the right
   directory and not the RTLinux one;
   
2. Re-compiled mbuff using the rtl.mk from RTLinux 2.2 (which had some
   different compiler flags from the original mbuff Makefile;
   
3. Modified the thread code in my Rmem mbuffex to correctly terminate
   the loop ... sometimes I was getting a loop index of -1 which would
   indicate an illegal memory address;
   
So, I'm satisfied. This version of mbuffex is available at

  ftp://orion.tuc.noao.edu/pub/pnd/mbuffex-0.6.6.tar.gz
  
Thanks Tomasz.

+==================================================================+
 Phil Daly, NOAO/AURA, 950 N. Cherry Avenue, Tucson AZ 85719, U S A
 E-mail: pdaly@noao.edu  V-mail: (520) 318 8438  Fax: (520) 318 8360