From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: Introducing emacs-webkit and more thoughts on Emacs rendering (was Rethinking the design of xwidgets) Date: Sun, 22 Nov 2020 13:18:49 +0100 Message-ID: <20201122121849.GC1798@tuxteam.de> References: <864kmzupp0.fsf@akirakyle.com> <86pn46awrr.fsf@akirakyle.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vEao7xgI/oilGqZ+" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14651"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 22 13:22:00 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kgoNT-0003gb-W1 for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 13:21:59 +0100 Original-Received: from localhost ([::1]:56786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgoNT-0004Uo-2N for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Nov 2020 07:21:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgoKm-0003f0-8C for emacs-devel@gnu.org; Sun, 22 Nov 2020 07:19:12 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:46778) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1kgoKi-0007hi-QZ for emacs-devel@gnu.org; Sun, 22 Nov 2020 07:19:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=Yul3r6Pecnf/BH+V7LxW5q5qnpEnXZVn62S/NvIP0NU=; b=IbPHnjO2Xs/TAMR4k6beSZGanMyOxVW1oHlZKxnLvd9SBHMMyu0B0qslYC50Ver49mxsHrUVDO+MSjnRLew4jyK8wAX5YTNnqyL5C/zNdoxRZt01ABRRCG3Fv47JOqRCdLrmsqg+mbKgMKAbmmtwzRwTMGqQiC+TFX+eIVQD2HmoBlBxyCo5fegoZv28qwTBfv+cHF+cg2G4VH4Ce7FXVnIbRicJ4nzHuvR1T8zLUhlSMib6PICFeS9PDy59mHCxc3CdrAHjZX6DrNtWUsRY0/fdUju/KNZ3SabjXMWXTQdcVvHE1UvCPobhLGe9hthQaLs9AiQiJDVjlxCtvBp3Ig==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1kgoKP-0003kq-UN for emacs-devel@gnu.org; Sun, 22 Nov 2020 13:18:49 +0100 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259607 Archived-At: --vEao7xgI/oilGqZ+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 22, 2020 at 03:04:29PM +0300, Jean Louis wrote: > I have failed shamelessly. >=20 > Can it be to some outdated stuff on my system? >=20 > git clone https://github.com/akirakyle/emacs-webkit.git > Cloning into 'emacs-webkit'... > remote: Enumerating objects: 160, done. =20 > remote: Counting objects: 100% (160/160), done. =20 > remote: Compressing objects: 100% (54/54), done. =20 > remote: Total 160 (delta 104), reused 160 (delta 104), pack-reused 0 = =20 > Receiving objects: 100% (160/160), 2.35 MiB | 219.00 KiB/s, done. > Resolving deltas: 100% (104/104), done. > ~/Programming/git $ cd emacs-webkit/=20 > ~/Programming/git/emacs-webkit $ ls > LICENSE default.nix hints.css script.js webkit-= ace.el webkit.el > Makefile emacs-module.h hints.js style.css webkit-= history.el =20 > README.org evil-collection-webkit.el screencast.gif tests.el webkit-= module.c =20 > ~/Programming/git/emacs-webkit $ make > cc -shared -std=3Dc99 -Wall -Wextra -Wno-unused-parameter -O3 -fpic `pkg= -config --cflags gtk+-3.0 webkit2gtk-4.0 --libs webkit2gtk-4.0` -o webkit-m= odule.so webkit-module.c > webkit-module.c: In function =E2=80=98copy_string_contents=E2=80=99: > webkit-module.c:47:13: warning: implicit declaration of function =E2=80= =98malloc=E2=80=99 [-Wimplicit-function-declaration] > *buffer =3D malloc ((size_t) buffer_size); > ^~~~~~ [...] Uh, oh. You seem to be missing fundamental packages for compiling things. "malloc", for example is declared in /usr/include/stdlib.h Does this file exist on your machine? If not, you'll have to look for it. If yes, you'll have to adapt your compile options for your compiler to find it. Unless there's a configure step (but I don't see traces of it in your files list) which would be willing to do that for you. Cheers - t --vEao7xgI/oilGqZ+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl+6VykACgkQBcgs9XrR2kZtJQCfVluewo9+Tom6FGD5SKYnxvFJ slUAn2QBrTeyTTkqorHu7+7EPf52cceg =zJMd -----END PGP SIGNATURE----- --vEao7xgI/oilGqZ+--