DEBUG: Executing shell function do_compile
tcp_client.c: In function 'main':
tcp_client.c:55:16: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
   55 |         port = atoi(argv[1]);
      |                ^~~~
WARNING: TOPDIR/tmp-glibc/work/core2-64-oe-linux/tcp-smack-test/1.0/temp/run.do_compile.303916: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/tcp-smack-test/1.0/recipe-sysroot tcp_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/tcp-smack-test/1.0=/usr/src/debug/tcp-smack-test/1.0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/tcp-smack-test/1.0=/usr/src/debug/tcp-smack-test/1.0 -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/tcp-smack-test/1.0=/usr/src/debug/tcp-smack-test/1.0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/tcp-smack-test/1.0=/usr/src/debug/tcp-smack-test/1.0 -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/tcp-smack-test/1.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/tcp-smack-test/1.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/tcp-smack-test/1.0/recipe-sysroot-native= -o tcp_client'
WARNING: Backtrace (BB generated script): 
	#1: do_compile, TOPDIR/tmp-glibc/work/core2-64-oe-linux/tcp-smack-test/1.0/temp/run.do_compile.303916, line 140
	#2: main, TOPDIR/tmp-glibc/work/core2-64-oe-linux/tcp-smack-test/1.0/temp/run.do_compile.303916, line 145

Error details

Submitted on:
04/05/24 14:37
Error type:
Recipe
Task:
do_compile
Recipe:
tcp-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:
1
Open a bug