Sonntag, 20. Januar 2008
Setting up a RTAI System
nrec, 22:01h
The right way to have an RTAI system is:
- Download vanilla kernel from f.e. www.kernel.org
- The version of kernel should be only major, not needed though, but if it is your first exeprience make it so. f.e. 2.6.23
- Download rtai, f.e. 3.5 or (better) 3.6_test3
- Unpack kernel and rtai.
- Apply hal patch matches to your kernel version. You can add --dry-run to test the patch first, though.
- Compile kernel.
- Grub or Lilo update.
- REBOOT!
- Compile rtai.
- Download vanilla kernel from f.e. www.kernel.org
- The version of kernel should be only major, not needed though, but if it is your first exeprience make it so. f.e. 2.6.23
- Download rtai, f.e. 3.5 or (better) 3.6_test3
- Unpack kernel and rtai.
- Apply hal patch matches to your kernel version. You can add --dry-run to test the patch first, though.
- Compile kernel.
- Grub or Lilo update.
- REBOOT!
- Compile rtai.
... link (0 Kommentare) ... comment
Montag, 2. Juli 2007
Error: Wrong subdevice type.
friedemann bunjes, 10:59h
nrec crashed immediately after the start with this error message:
>>>>> DEBUG TRAP <<<<<
LOG_ERROR daq/CSubdevice.h TChild* CSubdevice::To() [with TChild =CDIoDevice] 103 Wrong subdevice type.
>>>>> BACKTRACE: <<<<<<
LOG_ERROR daq/CSubdevice.h TChild* CSubdevice::To() [with TChild =CDIoDevice] Line = 106
LOG_ERROR daq/CDevice.h TSubType* CDevice::GetSub(int) [with TSubType =CDIoDevice] Line = 77
LOG_ERROR daq/CDaqFacade.cpp void CDaqFacade::DIoSetChannelDirection(int, int, int, bool) Line = 296
LOG_ERROR gui/CNrec.cpp void CNrec::InitDaq() Line = 282
ERROR (gui/CNrec.cpp:164:CNrec::CNrec()): Unhandled exception during startup ofthe application core.
LOG_INFO 2007-07-01 - 10:37:48,538 GUI CLogger::~CLogger()
Stopping Logger.
LOG_ERROR gui/CNrec.cpp CNrec::CNrec() Line = 169
LOG_ERROR gui/CNrec.cpp static void CNrec::StartUp() Line = 62
LOG_ERROR gui/main.cpp int main(int, char**) Line = 66
ERROR (gui/CNrec.cpp:77:static void CNrec::ShutDown()): Application core not initialized. Ignoring this call.
Aborting now.
>>>>> DEBUG TRAP <<<<<
LOG_ERROR daq/CSubdevice.h TChild* CSubdevice::To() [with TChild =CDIoDevice] 103 Wrong subdevice type.
>>>>> BACKTRACE: <<<<<<
LOG_ERROR daq/CSubdevice.h TChild* CSubdevice::To() [with TChild =CDIoDevice] Line = 106
LOG_ERROR daq/CDevice.h TSubType* CDevice::GetSub(int) [with TSubType =CDIoDevice] Line = 77
LOG_ERROR daq/CDaqFacade.cpp void CDaqFacade::DIoSetChannelDirection(int, int, int, bool) Line = 296
LOG_ERROR gui/CNrec.cpp void CNrec::InitDaq() Line = 282
ERROR (gui/CNrec.cpp:164:CNrec::CNrec()): Unhandled exception during startup ofthe application core.
LOG_INFO 2007-07-01 - 10:37:48,538 GUI CLogger::~CLogger()
Stopping Logger.
LOG_ERROR gui/CNrec.cpp CNrec::CNrec() Line = 169
LOG_ERROR gui/CNrec.cpp static void CNrec::StartUp() Line = 62
LOG_ERROR gui/main.cpp int main(int, char**) Line = 66
ERROR (gui/CNrec.cpp:77:static void CNrec::ShutDown()): Application core not initialized. Ignoring this call.
Aborting now.
... link (1 Kommentar) ... comment
Mittwoch, 25. April 2007
Mesa compiliert nicht
friedemann bunjes, 10:12h
devel@reese:~/directfb/Mesa$ make
for i in src ; do \
make -C $i || exit 1 ; \
done
make[1]: Entering directory `/home/devel/directfb/Mesa/src'
make[1]: *** No rule to make target `/usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h', needed by `blend.o'. Stop.
make[1]: Leaving directory `/home/devel/directfb/Mesa/src'
make: *** [subdirs] Error 1
for i in src ; do \
make -C $i || exit 1 ; \
done
make[1]: Entering directory `/home/devel/directfb/Mesa/src'
make[1]: *** No rule to make target `/usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h', needed by `blend.o'. Stop.
make[1]: Leaving directory `/home/devel/directfb/Mesa/src'
make: *** [subdirs] Error 1
... link (6 Kommentare) ... comment
Dienstag, 24. April 2007
reese: qt-Problem beim compilieren von nrec nach update
friedemann bunjes, 15:30h
devel@reese:~/prog/nrec/src$ make
g++ -c -pipe -Wall -W -g -frepo -O0 `PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config --cflags dfb++` -D_DEBUG_ -D_LIBGL_SO_PATH= -D_REENTRANT -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -Igui -Idaq -Idirectfb -Iexperiment -Ifileio -Ilogger -Istimuli -Itest -Iutil -Ithreading -Istrategies -I/usr/lib/realtime/include -I../../../qwt/qwt-5.0.1/src -I/usr/share/qt3/include -o objects/CParadigmCalibration.o stimuli/CParadigmCalibration.cpp
In file included from stimuli/CStimulus.h:19,
from stimuli/CParadigmCalibration.cpp:23:
gui/CEyePositionPanel.h:17:21: error: qwidget.h: No such file or directory
gui/CEyePositionPanel.h:33: error: expected class-name before ',' token
gui/CEyePositionPanel.h:35: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
gui/CEyePositionPanel.h:37: error: expected ';' before 'public'
gui/CEyePositionPanel.h:82: error: 'QPaintEvent' has not been declared
gui/CEyePositionPanel.h:90: error: 'QPainter' has not been declared
gui/CEyePositionPanel.h:97: error: 'QPainter' has not been declared
gui/CEyePositionPanel.h:105: error: 'QPainter' has not been declared
make: *** [objects/CParadigmCalibration.o] Error 1
devel@reese:~/prog/nrec/src$
g++ -c -pipe -Wall -W -g -frepo -O0 `PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config --cflags dfb++` -D_DEBUG_ -D_LIBGL_SO_PATH= -D_REENTRANT -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -Igui -Idaq -Idirectfb -Iexperiment -Ifileio -Ilogger -Istimuli -Itest -Iutil -Ithreading -Istrategies -I/usr/lib/realtime/include -I../../../qwt/qwt-5.0.1/src -I/usr/share/qt3/include -o objects/CParadigmCalibration.o stimuli/CParadigmCalibration.cpp
In file included from stimuli/CStimulus.h:19,
from stimuli/CParadigmCalibration.cpp:23:
gui/CEyePositionPanel.h:17:21: error: qwidget.h: No such file or directory
gui/CEyePositionPanel.h:33: error: expected class-name before ',' token
gui/CEyePositionPanel.h:35: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
gui/CEyePositionPanel.h:37: error: expected ';' before 'public'
gui/CEyePositionPanel.h:82: error: 'QPaintEvent' has not been declared
gui/CEyePositionPanel.h:90: error: 'QPainter' has not been declared
gui/CEyePositionPanel.h:97: error: 'QPainter' has not been declared
gui/CEyePositionPanel.h:105: error: 'QPainter' has not been declared
make: *** [objects/CParadigmCalibration.o] Error 1
devel@reese:~/prog/nrec/src$
... link (1 Kommentar) ... comment
nrec blog eröffnet
friedemann bunjes, 14:48h
Ab heute gibt es einen nrec blog.
... link (0 Kommentare) ... comment