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

Error details

Submitted on:
04/05/24 14:37
Error type:
Recipe
Task:
do_compile
Recipe:
udp-smack-test
Recipe version:
1.0-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
gentoo-2.15/gentoo-2.15
Branch:
jansa/master
Commit:
f668b3e86e3f0550ad1044123c4d9f40a97c94d7
Build:
#183127
Submitter:
Martin.Jansa@gmail.com
Similar errors:
0
Open a bug