Hi,
I am working on PFE, Lwip: PFE-demo code which is M7 RTD-PFE-Demo code. Code not compiling with missing header file. Its NXP SW bundle -- why header files are missing and how to get the files. -- With errors how to build the software.????????????
C:/S32-DS-Workspace/lwip_s32g274a/stacks/tcpip/code/ports/platform/generic/gcc/setting/arch/cc.h:37:10: fatal error: Dev'assert.h: No such file or directory
37 | #include "Devassert.h"
| ^~~~~~~~~~~~~
compilation terminated.
make: *** [stacks/tcpip/lwip/src/netif/ppp/polarssl/subdir.mk:32: stacks/tcpip/lwip/src/netif/ppp/polarssl/arc4.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../stacks/tcpip/lwip/src/include/lwip/arch.h:48,
from ../stacks/tcpip/lwip/src/include/lwip/debug.h:40,
from ../stacks/tcpip/lwip/src/include/lwip/opt.h:52,
from ../stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31,
from ../stacks/tcpip/lwip/src/netif/ppp/polarssl/des.c:42:
C:/S32-DS-Workspace/lwip_s32g274a/stacks/tcpip/code/ports/platform/generic/gcc/setting/arch/cc.h:37:10: fatal error: Devassert.h: No such file or directory
37 | #include "Devassert.h"
| ^~~~~~~~~~~~~
In file included from ../stacks/tcpip/lwip/src/include/lwip/arch.h:48,
from ../stacks/tcpip/lwip/src/include/lwip/debug.h:40,
from ../stacks/tcpip/lwip/src/include/lwip/opt.h:52,
from ../stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31,
from ../stacks/tcpip/lwip/src/netif/ppp/polarssl/md4.c:42:
C:/S32-DS-Workspace/lwip_s32g274a/stacks/tcpip/code/ports/platform/generic/gcc/setting/arch/cc.h:37:10: fatal error: Devassert.h: No such file or directory
37 | #include "Devassert.h"
| ^~~~~~~~~~~~~
In file included from ../stacks/tcpip/lwip/src/include/lwip/arch.h:48,
from ../stacks/tcpip/lwip/src/include/lwip/debug.h:40,
from ../stacks/tcpip/lwip/src/include/lwip/opt.h:52,
from ../stacks/tcpip/lwip/src/include/netif/ppp/ppp_opts.h:31,
from ../stacks/tcpip/lwip/src/netif/ppp/auth.c:71:
C:/S32-DS-Workspace/lwip_s32g274a/stacks/tcpip/code/ports/platform/generic/gcc/setting/arch/cc.h:37:10: fatal error: Devassert.h: No such file or directory
37 | #include "Devassert.h"
------------------------------------------------------------------------------------
arm-none-eabi-gcc "@stacks/tcpip/code/apps/udpecho_raw/udpecho_raw.args" -MMD -MP -MF"stacks/tcpip/code/apps/udpecho_raw/udpecho_raw.d" -MT"stacks/tcpip/code/apps/udpecho_raw/udpecho_raw.o" -o "stacks/tcpip/code/apps/udpecho_raw/udpecho_raw.o" "../stacks/tcpip/code/apps/udpecho_raw/udpecho_raw.c"
arm-none-eabi-gcc "@stacks/tcpip/code/apps/udpecho/udpecho.args" -MMD -MP -MF"stacks/tcpip/code/apps/udpecho/udpecho.d" -MT"stacks/tcpip/code/apps/udpecho/udpecho.o" -o "stacks/tcpip/code/apps/udpecho/udpecho.o" "../stacks/tcpip/code/apps/udpecho/udpecho.c"
../stacks/tcpip/code/ports/osif/rtd/OsIf_rtd_port.c:72:10: fatal error: Devassert.h: No such file or directory
72 | #include "Devassert.h"
| ^~~~~~~~~~~~~
compilation terminated.
make: *** [stacks/tcpip/code/ports/osif/rtd/subdir.mk:20: stacks/tcpip/code/ports/osif/rtd/OsIf_rtd_port.o] Error 1
make: *** Waiting for unfinished jobs....
Building file: ../stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.c
In file included from ../RTD/include/Gmac_Ip_Device_Registers.h:75,
from ../RTD/include/Gmac_Ip_Types.h:75,
from ../RTD/include/Gmac_Ip.h:82,
from ../stacks/tcpip/code/ports/netif/gmacif/rtd/gmacif.c:174:
C:/S32-DS-Workspace/lwip_s32g274a/generate/include/Mcal.h:55:10: fatal error: Compiler.h: No such file or directory
55 | #include "Compiler.h"
| ^~~~~~~~~~~~
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.args" -MMD -MP -MF"stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.d" -MT"stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.o" -o "stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.o" "../stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.c"
compilation terminated.
make: *** [stacks/tcpip/code/ports/netif/gmacif/rtd/subdir.mk:20: stacks/tcpip/code/ports/netif/gmacif/rtd/gmacif.o] Error 1
In file included from ../RTD/include/OsIf.h:45,
from ../stacks/tcpip/code/ports/OS/sys_arch.c:109:
../RTD/include/OsIf_Internal.h:44:10: fatal error: StandardTypes.h: No such file or directory
44 | #include "StandardTypes.h"
| ^~~~~~~~~~~~~~~~~
Finished building: ../stacks/tcpip/lwip/src/api/tcpip.c
compilation terminated.
make: *** [stacks/tcpip/code/ports/OS/subdir.mk:20: stacks/tcpip/code/ports/OS/sys_arch.o] Error 1
Finished building: ../stacks/tcpip/code/apps/udpecho_raw/udpecho_raw.c
Finished building: ../stacks/tcpip/lwip/src/api/sockets.c
Finished building: ../stacks/tcpip/code/apps/udpecho/udpecho.c
Finished building: ../stacks/tcpip/code/apps/tcpecho_raw/tcpecho_raw.c
"make -j8 all" terminated with exit code 2. Build might be incomplete.
23:23:49 Build Failed. 7 errors, 0 warnings. (took 4m:46s.78ms)
//-----------------------------------
../stacks/tcpip/code/ports/osif/rtd/OsIf_rtd_port.c:75:10: fatal error: S32G274A_SCB.h: No such file or directory
75 | #include "S32G274A_SCB.h"
| ^~~~~~~~~~~~~~~~
In file included from ../RTD/include/Gmac_Ip_Device_Registers.h:75,
from ../RTD/include/Gmac_Ip_Types.h:75,
from ../RTD/include/Gmac_Ip.h:82,
from ../stacks/tcpip/code/ports/netif/gmacif/rtd/gmacif.c:174:
C:/S32-DS-Workspace/lwip_s32g274a/generate/include/Mcal.h:55:10: fatal error: Compiler.h: No such file or directory
55 | #include "Compiler.h"
| ^~~~~~~~~~~~
compilation terminated.
compilation terminated.
make: *** [stacks/tcpip/code/ports/osif/rtd/subdir.mk:20: stacks/tcpip/code/ports/osif/rtd/OsIf_rtd_port.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [stacks/tcpip/code/ports/netif/gmacif/rtd/subdir.mk:20: stacks/tcpip/code/ports/netif/gmacif/rtd/gmacif.o] Error 1
In file included from ../RTD/include/OsIf.h:45,
from ../stacks/tcpip/code/ports/OS/sys_arch.c:109:
../RTD/include/OsIf_Internal.h:44:10: fatal error: StandardTypes.h: No such file or directory
44 | #include "StandardTypes.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [stacks/tcpip/code/ports/OS/subdir.mk:20: stacks/tcpip/code/ports/OS/sys_arch.o] Error 1