DEBUG: Executing shell function do_compile udp_client.c: In function 'main': udp_client.c:41:16: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 41 | port = atoi(argv[1]); | ^~~~ udp_client.c:51:12: error: implicit declaration of function 'fsetxattr' [-Wimplicit-function-declaration] 51 | if(fsetxattr(sock, attr, label, strlen(label),0) < 0) | ^~~~~~~~~ udp_client.c:66:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 66 | close(sock); | ^~~~~ | pclose WARNING: TOPDIR/tmp-glibc/work/core2-64-oe-linux/udp-smack-test/1.0/temp/run.do_compile.325230:140 exit 1 from 'x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/udp-smack-test/1.0/recipe-sysroot udp_client.c -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/udp-smack-test/1.0=/usr/src/debug/udp-smack-test/1.0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/udp-smack-test/1.0=/usr/src/debug/udp-smack-test/1.0 -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/udp-smack-test/1.0=/usr/src/debug/udp-smack-test/1.0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/udp-smack-test/1.0=/usr/src/debug/udp-smack-test/1.0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/udp-smack-test/1.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/udp-smack-test/1.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/udp-smack-test/1.0/recipe-sysroot-native= -o udp_client' WARNING: Backtrace (BB generated script): #1: do_compile, TOPDIR/tmp-glibc/work/core2-64-oe-linux/udp-smack-test/1.0/temp/run.do_compile.325230, line 140 #2: main, TOPDIR/tmp-glibc/work/core2-64-oe-linux/udp-smack-test/1.0/temp/run.do_compile.325230, line 145