Closed sj-raima closed 3 months ago
hi @sj-raima, you'll need to add a define in the 'tx_user.h' file as below: https://github.com/eclipse-threadx/netxduo/blob/18704ffa7383071ce1b335730fbde131f27be045/test/cmake/libs/tx_user.h#L53
I think the proposed solution fixes the issue.
regards Haithem.
@rahmanih The solution you proposed was enough to get me on track but it is really not appropriate to define this in a test. There should instead be a define to enable this (NX_BSD or similar) and I would suggest code in threadx/common/inc(_smp)/tx_api.h to add the declaration:
#ifdef NX_BSD
int bsd_errno;
#endif
v6.4.1_rel of netxduo, filex, and threadx Hosted build for Linux - Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-97-generic x86_64)
Nested filex inside this project as follows:
and similarly for threadx inside filex.
Running cmake as follows:
Make fails with the following errors:
Adding this define:
gives instead these errors: