Thanks again Claes
I got problems when compiling PLC programs, and I have absolutely no clue why...
I thought maybe it was because of the three missing files from my earlier post...
Here is the result of the PLC compile...
Setting base /usr/pwr48
Open raspberry
args: raspberry pwrp pwrp
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Welcome to
raspberry V4.8_raspberry
Revision history
2012-07-22 pwrp Project created
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-- Processing line: 67
-- Building volume directory
-- Build node raspberry
-- Creating bootfile for node raspberry
-- Plc thread generated priority 22, scantime 0.10000 s, 1 plcpgm's
Setting base /usr/pwr48_raspberry
-- Cross compilation ARM_LINUX
In file included from /usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_plc.h:49:0,
from /usr/local/pwrp/raspberry/bld/common/tmp/plc_raspberry_0001_plc.gc:1:
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/pwr.h:577:1: warning: missing braces around initializer [-Wmissing-braces]
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/pwr.h:577:1: warning: (near initialization for ‘pwr_cNTime.tv_sec’) [-Wmissing-braces]
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/pwr.h:578:1: warning: missing braces around initializer [-Wmissing-braces]
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/pwr.h:578:1: warning: (near initialization for ‘pwr_cNDeltaTime.tv_sec’) [-Wmissing-braces]
In file included from /usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_plc.h:61:0,
from /usr/local/pwrp/raspberry/bld/common/tmp/plc_raspberry_0001_plc.gc:1:
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:67:3: error: #error Not defined for this platform !
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:77:31: error: unknown type name ‘thread_sCond’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:78:32: error: unknown type name ‘thread_sCond’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:79:35: error: unknown type name ‘thread_sCond’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:79:50: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:80:31: error: unknown type name ‘thread_sCond’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:80:46: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:81:31: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:82:31: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:83:33: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:84:29: error: unknown type name ‘thread_s’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:85:29: error: unknown type name ‘thread_s’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:87:30: error: unknown type name ‘thread_s’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:88:27: error: unknown type name ‘thread_s’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:89:29: error: unknown type name ‘thread_s’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_thread.h:90:35: error: unknown type name ‘thread_s’
In file included from /usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:45:0,
from /usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_plc.h:65,
from /usr/local/pwrp/raspberry/bld/common/tmp/plc_raspberry_0001_plc.gc:1:
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_sync.h:46:29: error: unknown type name ‘thread_sCond’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_sync.h:47:30: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_sync.h:48:31: error: unknown type name ‘thread_sCond’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_sync.h:49:30: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_sync.h:50:31: error: unknown type name ‘thread_sMutex’
In file included from /usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_plc.h:65:0,
from /usr/local/pwrp/raspberry/bld/common/tmp/plc_raspberry_0001_plc.gc:1:
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:55:26: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:56:24: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:57:30: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:58:30: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:59:27: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:60:28: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:61:26: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:62:26: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:63:24: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:64:19: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:65:21: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:66:25: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:67:25: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_lst.h:68:19: error: unknown type name ‘thread_sMutex’
In file included from /usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_plc.h:69:0,
from /usr/local/pwrp/raspberry/bld/common/tmp/plc_raspberry_0001_plc.gc:1:
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_que.h:45:3: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_que.h:46:3: error: unknown type name ‘thread_sCond’
In file included from /usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_gdh.h:65:0,
from /usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_plc_timer.h:53,
from /usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_io_supervise.h:65,
from /usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_io_base.h:62,
from /usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_plc.h:129,
from /usr/local/pwrp/raspberry/bld/common/tmp/plc_raspberry_0001_plc.gc:1:
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_errh.h:67:5: error: #error Platform not defined
In file included from /usr/local/pwrp/raspberry/bld/common/tmp/plc_raspberry_0001_plc.gc:1:0:
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_plc.h:133:3: error: unknown type name ‘thread_s’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_plc.h:136:3: error: unknown type name ‘sem_t’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_plc.h:162:3: error: unknown type name ‘thread_sMutex’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_plc.h:163:3: error: unknown type name ‘thread_sCond’
/usr/pwr48_raspberry/os_linux/hw_arm/exp/inc/rt_plc.h:192:3: error: unknown type name ‘thread_sMutex’
** Plc process compiled with errors arm_linux Dummy
Setting base /usr/pwr48_raspberry
-- Cross compilation ARM_LINUX
arm-linux-gnueabi-g++: error: /usr/local/pwrp/raspberry/bld/arm_linux/obj/plc_raspberry_0001_plc.o: No such file or directory
** Plc program link errors for arm_linux node plc_raspberry_0001_plc