Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Compiler: TDA2XX RTOS new usecase can not include network_api.h

$
0
0

Tool/software: TI C/C++ Compiler

Hi,

I want to imlement a sever soceket, 

so create a new usecae by following step 6.1 of vision SDK Build System User Guild and include some h file


===============================================================

#include <sys/socket.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <sys/types.h>
#include <netdb.h>
#include <ifaddrs.h>
#include <sys/ioctl.h>
#include <net/if.h>

===============================================================

but  compile printf error message

===============================================================

".\src/rtos/usecases/new_usecase/new_usecase.h", line 13: fatal error: cannot o
en source file "sys/socket.h"
1 catastrophic error detected in the compilation of "X:/TDA2/vision_sdk/apps/sr
/rtos/common/chains_main_bios_misc.c".
Compilation terminated.

>> Compilation failure
gmake[4]: *** [X:/TDA2/vision_sdk/binaries/apps/tda2xx_evm_bios_all/obj/app_lib
/tda2xx-evm/ipu1_0/release/chains_main_bios_misc.oem4] Error 1
gmake[3]: *** [ipu1_0] Error 2
gmake[2]: *** [app_libs] Error 2
gmake[1]: *** [apps_libs] Error 2
gmake: *** [apps] Error 2

===============================================================

it seem the iclude path is not set  of makefile?

Where is the makefile and what's the parameter name? 


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>