[etherlab-users] Simulink Compiler Problem

costa at pavlides.de costa at pavlides.de
Tue Feb 26 10:53:34 CET 2013


Hello,

when I compile my simulink model I get thies error:

### Building model: /usr/local/matlab_R2009a/bin/glnx86/gmake -f model.mk 
GENERATE_REPORT=0 EXT_MODE=0 EXTMODE_STATIC_ALLOC=0
EXTMODE_STATIC_ALLOC_SIZE=1000000 EXTMODE_TRANSPORT=0
-e   CC     rtw_wrapper.o
In file included from ./model.h:28,
                 from ./rtmodel.h:22,
                 from //opt/etherlab/rtw/include/rtw_data_interface.h:27,
                 from //opt/etherlab/rtw/src/rtw_wrapper.c:50:
//opt/etherlab/rtw/include/ecrt_support.h:8:18: warning: ecrt.h: Datei oder
Verzeichnis nicht gefunden
In file included from ./model.h:28,
                 from ./rtmodel.h:22,
                 from //opt/etherlab/rtw/include/rtw_data_interface.h:27,
                 from //opt/etherlab/rtw/src/rtw_wrapper.c:50:
//opt/etherlab/rtw/include/ecrt_support.h:15: error: expected
specifier-qualifier-list before ‘ec_direction_t’
//opt/etherlab/rtw/include/ecrt_support.h:73: warning: type defaults to
‘int’ in declaration of ‘ec_sync_info_t’
//opt/etherlab/rtw/include/ecrt_support.h:73: error: expected ‘;’,
‘,’ or ‘)’ before ‘*’ token
//opt/etherlab/rtw/include/ecrt_support.h:92: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gmake: *** [rtw_wrapper.o] Fehler 1
### Real-Time Workshop build procedure for model: 'model' aborted due to an
error.

I use Matlab R2009a, etherlab 1.3-rc3.

Can someone tell me what I make wrong?

Thanks

Costa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20130226/68e23fad/attachment-0002.htm>


More information about the Etherlab-users mailing list