From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5CC671F4B4 for ; Wed, 23 Dec 2020 23:03:40 +0000 (UTC) Received: from localhost ([::1]:38386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ksDAR-0006sh-GT for normalperson@yhbt.net; Wed, 23 Dec 2020 18:03:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksC7Y-0006RU-ML for bug-gnulib@gnu.org; Wed, 23 Dec 2020 16:56:36 -0500 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:39608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ksC7W-0005PF-86 for bug-gnulib@gnu.org; Wed, 23 Dec 2020 16:56:36 -0500 Received: by mail-ej1-x62d.google.com with SMTP id n26so1054341eju.6 for ; Wed, 23 Dec 2020 13:56:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=yQ/kC20xhXQvIETJKNLYYyO1mqHBwtu/Cea4LPJILiE=; b=ZwaBekdO9R7fwgWyyMvloAyNuZiofGPegwztH6+4XE7IlhDk7E52xVLbzdwbTdAeYU KvF4x36MC5CrBUGuCga0Di/iyhDQea8exJvpVq8mKl1/RsQXOE48+TgkeSK6h4+NzMRK YZsIFr2qwIAK90uTz/54PUIOUlBAOWztQEnuW2eWHRA9c8aS3Ke2XesFjJ0RiwHUaBKm wyedvVxbkGzLqLE9q3Dw/kHQGyYso5Jt9N8Eefy43RlFDBs3zCwMyA0KNyP2hFJghJ1H 1vi993nbEUhhBwr/QKaa3c2jcFHaFcbVa5xrZJtAq9fwuuBKNxYqxTyquzLxNB4nKDWY Wddg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yQ/kC20xhXQvIETJKNLYYyO1mqHBwtu/Cea4LPJILiE=; b=drFF3ru9wvqPMfRbmHO4R9G4JKKjrDsZxap8BPc+4bNc2qh3toPmTl0YLZ1kzEwKlZ Dp9V34X0wPPD0rZPHsD0A+jQ6xwoOm+W7fkQ94uAiK8Ss4YMpogpLbMpQc7+5jAhND49 9M8WrFXcWc318RyQVW7gNePAS6l+A5DhPfijQ6v33U2PTGvjKO0O5n9Pufd5qVEVZP2C OgB3153IWIkZmh8l5hwqI8UIny6LZp+/9+9n8vhQdS1bqKbiprhhSM4BGkZUGiEZHILs 20FO/iGxOY9jB8WNFm8IwDfnntGpjeflTzgPrlys293F2lzBTy0DNZbKfzpzeeOPvHi8 yzxQ== X-Gm-Message-State: AOAM530QcGyGCD9it/TOZj3Nplu/CFUjiiRo5v2UDAn8Y72haiM9VtSH QMgOkB4BO8W4aHxKFqK8vQZuuMzZS3XYg800q3hC58ZcCEcHlJY9 X-Google-Smtp-Source: ABdhPJyb4OrHZ8cmKFHnMw28XWjheIr014NXUdzAJe2MU+d4AcqbVYSHrHjJF11mIM9UhTtssX8KPjllnJMjaVAhX+U= X-Received: by 2002:a17:907:c05:: with SMTP id ga5mr23930046ejc.32.1608760591291; Wed, 23 Dec 2020 13:56:31 -0800 (PST) MIME-Version: 1.0 From: Ron Eggler Date: Wed, 23 Dec 2020 13:56:20 -0800 Message-ID: Subject: port freadahead.c & fseeko.c To: bug-gnulib@gnu.org Content-Type: multipart/alternative; boundary="000000000000929a8105b728c33d" Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=ron.eggler@gmail.com; helo=mail-ej1-x62d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 23 Dec 2020 18:03:32 -0500 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" --000000000000929a8105b728c33d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I'm attemprting to compile an image for a DIGI UL6 SBC and am getting the following error: ../../m4-1.4.17/lib/freadahead.c: In function =E2=80=98freadahead=E2=80=99: ../../m4-1.4.17/lib/freadahead.c:91:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." 91 | #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." | ^~~~~ gcc -I. -I../../m4-1.4.17/lib -isystem/home/ron/workspace/tmp/sysroots/x86_64-linux/usr/include -isystem/home/ron/workspace/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o vasprintf.o ../../m4-1.4.17/lib/vasprintf.c ERROR: oe_runmake failed make[3]: *** [Makefile:1842: freadahead.o] Error 1 make[3]: *** Waiting for unfinished jobs.... ../../m4-1.4.17/lib/fseeko.c: In function =E2=80=98rpl_fseeko=E2=80=99: ../../m4-1.4.17/lib/fseeko.c:109:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." 109 | #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." How can I patch these files to work with my platform? Ron --000000000000929a8105b728c33d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I'm attemprting to c= ompile an image for a DIGI UL6 SBC and am getting the following error:
../../m4-1.4.17/lib/freadahead.c: In function =E2=80=98freadahead=E2= =80=99:
../../m4-1.4.17/lib/freadahead.c:91:3: error: #error "Pleas= e port gnulib freadahead.c to your platform! Look at the definition of fflu= sh, fread, ungetc on your system, then report this to bug-gnulib."
= =C2=A0 =C2=A091 | =C2=A0#error "Please port gnulib freadahead.c to you= r platform! Look at the definition of fflush, fread, ungetc on your system,= then report this to bug-gnulib."
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 ^~~= ~~
gcc =C2=A0 -I. -I../../m4-1.4.17/lib =C2=A0 -isystem/home/ron/workspa= ce/tmp/sysroots/x86_64-linux/usr/include =C2=A0-isystem/home/ron/workspace/= tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o vasprintf.o ../../m4-= 1.4.17/lib/vasprintf.c
ERROR: oe_runmake failed
make[3]: *** [Makefil= e:1842: freadahead.o] Error 1
make[3]: *** Waiting for unfinished jobs..= ..
../../m4-1.4.17/lib/fseeko.c: In function =E2=80=98rpl_fseeko=E2=80= =99:
../../m4-1.4.17/lib/fseeko.c:109:4: error: #error "Please port= gnulib fseeko.c to your platform! Look at the code in fseeko.c, then repor= t this to bug-gnulib."
=C2=A0 109 | =C2=A0 #error "Please port= gnulib fseeko.c to your platform! Look at the code in fseeko.c, then repor= t this to bug-gnulib."

How can I patch these = files to work with my platform?

Ron
--000000000000929a8105b728c33d--