[yocto] Compilation error
Fred Ollinger
Fred.Ollinger at seescan.com
Mon Sep 12 20:32:32 PDT 2016
Smells like you didn't include a file.
man 2 close says:
#include <unistd.h>
Frederick
________________________________
From: yocto-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> on behalf of Rudolf Streif <rudolf.streif at gmail.com>
Sent: Monday, September 12, 2016 6:53 PM
To: Vijayakumar Badiger
Cc: Yocto Discussion Mailing List
Subject: Re: [yocto] Compilation error
What recipe? Ideally you want to fix the code and add the function declaration.
Kind regards,
Rudolf J Streif
On Sep 12, 2016 6:26 PM, "Vijayakumar Badiger" <vijayakumarmb at gmail.com<mailto:vijayakumarmb at gmail.com>> wrote:
Hello All,
I am getting an compilation error like below. Can you pls let me know how to fix this one. Thanks in advance.
error: implicit declaration of function 'close' [-Werror=implicit-function-declaration]
| close(fd);
Cheers,
Vijay
--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto
More information about the yocto
mailing list