Wireshark mailing list archives

Re: On SLES 11 app_mem_usage.c:105: error: implicit declaration of function 'pread'


From: Anders Broman <anders.broman () ericsson com>
Date: Tue, 6 Aug 2013 12:33:23 +0000

Hi,
It’s a managed box so I can’t alter its content glibc-2.9-13.3.1

From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Evan Huus
Sent: den 6 augusti 2013 14:04
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] On SLES 11 app_mem_usage.c:105: error: implicit declaration of function 'pread'

http://linux.die.net/man/2/pread


Make sure you have the necessary includes and a new enough libc?

On 2013-08-06, at 7:29 AM, Anders Broman <anders.broman () ericsson com<mailto:anders.broman () ericsson com>> wrote:
Hi,
I get:
app_mem_usage.c: In function ‘inux_get_memory’:
app_mem_usage.c:105: error: implicit declaration of function ‘pread’
Building on SLES11 any ideas?

Regards
Anders
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org<mailto:wireshark-dev () wireshark org>>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: