Oh, it is enum, I was searching for define. Thanks, Alan!
пт, 2 июл. 2021 г. в 22:39, Alan Carvalho de Assis :
> $ cat include/sys/types.h | grep ERROR
> ERROR = -1,
>
>
> On 7/2/21, Oleg wrote:
> > Hi all,
> >
> > Could someone be so kind as to point me out where is ERROR (-1) defined
> in
>
Hi,
I am doing experiments of porting standard posix applications to Nuttx, I try
to run same applications on both Ubuntu and Nuttx. In one application I needed
to use socket.h, I did "#include " in my c file but it seems that
the linker doesn't find the library, I get "undefined reference to
Hi Murat,
Did you enable Network support in the menuconfig?
Normally when some function is not found it means some feature in the
menuconfig is not enabled.
BR,
Alan
On 7/3/21, murat tologlu wrote:
> Hi,
>
> I am doing experiments of porting standard posix applications to Nuttx, I
> try to ru
Hi Alan,
Good advise the previous problem resolved after enabling the network but now I
get :
...
netlib_setifstatus.c: In function 'netlib_ifup':
netlib_setifstatus.c:67:27: error: 'NETLIB_SOCK_TYPE' undeclared (first use in
this function); did you mean 'NETLIB_SOCK_FAMILY'?
67 |