Home page logo
/

wireshark logo Wireshark mailing list archives

Re: On SLES 11 app_mem_usage.c:105: error: implicit declaration of function 'pread'
From: Evan Huus <eapache () gmail com>
Date: Tue, 6 Aug 2013 09:18:44 -0400

You can replace pread with an lseek and a read, I think.

On Tue, Aug 6, 2013 at 8:33 AM, Anders Broman
<anders.broman () ericsson com> wrote:
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> 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>
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
___________________________________________________________________________
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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]