<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello All!<br>
<br>
I got quite a bit further, installing a new OS based on Debian with a 3.2 kernel. I used the Pengutronix repositories to make a rt-kernel, which went very smoothly.<br>
I then installed the etherlabmaster with a generic network card interface, unfortunately 3.2-rt does not support the e1000 driver, only e1000e (PCI-express). The command line tool found all my Beckhoff modules, and kept the system RUNning for quite a while.
Nice!<br>
So far, so good, I installed MATLAB, I installed the libraries and other environments and made a small model in Simulink. Unfortunately I still have troubles compiling. First MATLAB couldn't find ecrt.h, ecrt_support.h, ecrt_support.c and pdserv.h, but I solved
that by adding those resources in the 'Custom Code' of the build environment. Now I arrive at the next item that's missing, and that is 'rt_nonfinite.h' . I can only find a genrtnonfinite.tlc file on my system, but have no clue what I should do to generate
a header file with TLC, or whether that's needed at all. <br>
Below is the output of the build (also on http://pastebin.com/NZHd3Gs1):<br>
### Starting build procedure for model: etherlab<br>
### Generating code into build folder: /home/victor/Documents/MATLAB/etherlab/etherlab_etl_hrt<br>
### Invoking Target Language Compiler on etherlab.rtw<br>
### Using System Target File: /vol/opt/etherlab/src/etherlab-2.0.0/rtw/etherlab/etherlab.tlc<br>
### Loading TLC function libraries<br>
......<br>
### Initial pass through model to cache user defined code<br>
....<br>
### Caching model source code<br>
...........<br>
### Generating TLC interface API.<br>
.......<br>
### Writing source file etherlab_capi.c<br>
...<br>
### Writing header file etherlab_capi.h<br>
................<br>
### Writing source file etherlab.c<br>
.<br>
### Writing header file etherlab.h<br>
### Writing header file etherlab_types.h<br>
### Writing header file rtwtypes.h<br>
.<br>
### Writing header file etherlab_private.h<br>
### Writing header file rtmodel.h<br>
### Writing source file etherlab_data.c<br>
.<br>
### TLC code generation complete.<br>
### File ecrt_support.c associated with S-Function 'ec_slave3' (used in 'etherlab/EL1xxx_0') does not exist<br>
### File ecrt_support.c associated with S-Function 'master_state' (used in 'etherlab/Master State') does not exist<br>
### Evaluating PostCodeGenCommand specified in the model<br>
### Generating parameter meta information: etherlab_meta.txt<br>
.<br>
### Processing Template Makefile: /vol/opt/etherlab/src/etherlab-2.0.0/rtw/etherlab/etherlab_hrt.tmf<br>
### Creating etherlab.mk from /vol/opt/etherlab/src/etherlab-2.0.0/rtw/etherlab/etherlab_hrt.tmf<br>
### Building etherlab: /usr/local/MATLAB/R2012b/bin/glnxa64/gmake -f etherlab.mk GENERATE_REPORT=0 EXT_MODE=0 EXTMODE_STATIC_ALLOC=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 EXTMODE_TRANSPORT=0 MAT_FILE=0<br>
CC ecrt_support.o<br>
CC etherlab_capi.o<br>
CC etherlab_data.o<br>
CC etherlab.o<br>
CC hrt_main.o<br>
/vol/opt/etherlab/src/etherlab-2.0.0/rtw/src/hrt_main.c:137:26: fatal error: rt_nonfinite.h: No such file or directory<br>
compilation terminated.<br>
gmake: *** [hrt_main.o] Error 1<br>
### Build procedure for model: 'etherlab' aborted due to an error.<br>
<br>
Greetings, Victor<br>
</div>
</body>
</html>