emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dependencies for native compiling emacs not found


From: Eli Zaretskii
Subject: Re: Dependencies for native compiling emacs not found
Date: Thu, 23 Dec 2021 18:20:43 +0200

> From: Thierry Volpiatto <thievol@posteo.net>
> Cc: emacs-devel@gnu.org
> Date: Thu, 23 Dec 2021 15:51:05 +0000
> 
> > There should be stuff before that, which shows the compilation
> > command of a test program, the error message from the compilation
> > attempt, the program that failed to compile, etc.  The line you show
> > is the last line of that interesting part.
> >
> > If you cannot figure out what's related, sure, post the entire log.
> 
> Ok, here the whole file attached, thanks.

Thanks.  Here's the important bit:

> configure:19041: checking for gcc_jit_context_acquire in -lgccjit
> configure:19066: gcc -o conftest  -O8 -pthread -isystem 
> /usr/include/librsvg-2.0 -isystem /usr/include/gdk-pixbuf-2.0 -isystem 
> /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/cairo 
> -isystem /usr/include/glib-2.0 -isystem 
> /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 
> -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem 
> /usr/include/libpng16 -isystem /usr/include/cairo -isystem 
> /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem 
> /usr/include/freetype2 -isystem /usr/include/libpng16       conftest.c 
> -lgccjit  -lX11   -lcairo >&5 
> /usr/bin/ld: cannot find -lgccjit
> collect2: error: ld returned 1 exit status

So the linker cannot find the libgccjit library.  Do you have it, and
if so, is it installed in the directory where the linker looks for
libraries, for example where you have libpng16, libcairo, and others.

IOW, it sounds like your libgccjit installation is incomplete for some
reason.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]