Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

2 votes
1 answers
2080 views
configure: error: libmpfr not found or uses a different ABI (including static vs shared)
Heyo all, I've recently been working on a small side project regarding a custom Linux distro, not with the LFS instructions. Currently, I'm compiling a cross-compiler for gcc. Anyways, I get this error when I `make`: ``` configure: error: libmpfr not found or uses a different ABI (including static v...
Heyo all, I've recently been working on a small side project regarding a custom Linux distro, not with the LFS instructions. Currently, I'm compiling a cross-compiler for gcc. Anyways, I get this error when I make:
configure: error: libmpfr not found or uses a different ABI (including static vs shared).
Makefile:5730: recipe for target 'configure-mpc' failed
make: *** [configure-mpc] Error 1
UPDATE: I installed mpfr via apt on that machine, which now gives me a slightly different error:
checking for recent MPFR... no
configure: error: MPFR version >= 4.1.0 required
Makefile:5730: recipe for target 'configure-mpc' failed
make: *** [configure-mpc] Error 1
handy/install: line 276: x86_64-unknown-linux-gnu-gcc: command not found
Strange thing is, the mpfr tarball that it should be using is 4.1.0... I don't think the apt package is >= 4.1.0, and not sure how to throw it up to 4.1.0. You can find my script [here](https://github.com/semissioncontrol/semcOS/blob/development/handy/install) , Static GCC starts at [Line 239](https://github.com/semissioncontrol/semcOS/blob/development/handy/install#L239) . I've done some research, but can't seem to find much. I *was* able to find someone mention that switching distros worked, and then that it was their MPFR version that wasn't working. This one is compiling on Ubuntu WSL @ Windows because my laptop is faster - if needed, I'll be compiling this on my PC @ Gentoo soon. My MPFR version is 4.1.0, GCC version 10.2.0. Why is this happening? Cheers, Bobbbay
Bobbbay (411 rep)
Nov 14, 2020, 07:26 AM • Last activity: Jul 14, 2025, 11:07 AM
0 votes
1 answers
2949 views
make bootable iso from linux from scratch
i have created linux from scratch which has / in /sdb2 and /boot in /sdb1 and swap in /sdb3 , now i want to create a iso , how do i do it? size of 1. / = 25 GB 2. /boot = 100 MB 3. /swap = 2 GB
i have created linux from scratch which has / in /sdb2 and /boot in /sdb1 and swap in /sdb3 , now i want to create a iso , how do i do it? size of 1. / = 25 GB 2. /boot = 100 MB 3. /swap = 2 GB
Vineet Singh (1 rep)
Mar 11, 2020, 05:45 PM • Last activity: Jul 10, 2025, 12:03 PM
1 votes
1 answers
1511 views
When configuring Glibc prior to compiling it I recieve an error concerning kernel headers telling me to use "--with-headers"
I am using the latest stable Linux from Scratch book version. In [Step 5.5.1](https://www.linuxfromscratch.org/lfs/view/stable/chapter05/glibc.html), when configuring Glibc I run the provided script, and receive an error telling me to use the --with-headers configure option, however I am already usi...
I am using the latest stable Linux from Scratch book version. In [Step 5.5.1](https://www.linuxfromscratch.org/lfs/view/stable/chapter05/glibc.html) , when configuring Glibc I run the provided script, and receive an error telling me to use the --with-headers configure option, however I am already using it. The book states to configure using:
../configure \ --prefix=/usr \ --host=$LFS_TGT \ --build=$(../scripts/config.guess) \ --enable-kernel=3.2 \ --with-headers=$LFS/usr/include \ libc_cv_slibdir=/lib
When doing so I receive the following error:
checking installed Linux kernel header files... missing or too old!
configure: error: GNU libc requires kernel header files from
Linux 3.2.0 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 3.2.0 or later.  This check uses , so
make sure that file was built correctly when installing the kernel header
files.  To use kernel headers not from /usr/include/linux, use the
configure option --with-headers.
Any advise on how to proceed would be much appreciated.
Lukas (77 rep)
Jul 8, 2021, 02:35 AM • Last activity: Jun 21, 2025, 10:49 AM
3 votes
1 answers
2299 views
BLFS Xorg: Fatal server error no screens found
I'm trying to build the Xorg X Window System Environment as outlined in Beyond Linux From Scratch Version 8.0. My BLFS system resides in a Virtual Machine using VirtualBox Version 5.0.10 r104061. I followed the steps as outlined in Chapter 24. X Window System Environment. However, when I finished my...
I'm trying to build the Xorg X Window System Environment as outlined in Beyond Linux From Scratch Version 8.0. My BLFS system resides in a Virtual Machine using VirtualBox Version 5.0.10 r104061. I followed the steps as outlined in Chapter 24. X Window System Environment. However, when I finished my installation and tried startx, I got the output below:- Release Date: 2017-01-11 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.9.5 x86_64 Current Operating System: Linux LFS 4.9.5 #1 SMP Thu Feb 23 22:59:41 GMT 2017 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.5-lfs-SVN-20170122 root=/dev/sda1 ro Build Date: 01 March 2017 10:04:52PM Current version of pixman: 0.34.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 22 21:42:24 2017 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) no screens found(EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error And I see the following log in /var/log/Xorg.0.log 57.972] X.Org X Server 1.19.1 Release Date: 2017-01-11 [ 57.974] X Protocol Version 11, Revision 0 [ 57.974] Build Operating System: Linux 4.9.5 x86_64 [ 57.975] Current Operating System: Linux LFS 4.9.5 #1 SMP Thu Feb 23 22:59:41 GMT 2017 x86_64 [ 57.975] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.5-lfs-SVN-20170122 root=/dev/sda1 ro [ 57.975] Build Date: 01 March 2017 10:04:52PM [ 57.975] [ 57.975] Current version of pixman: 0.34.0 [ 57.975] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 57.975] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 57.978] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 22 21:42:24 2017 [ 57.990] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 57.992] (==) No Layout section. Using the first Screen section. [ 57.992] (==) No screen section available. Using defaults. [ 57.992] (**) |-->Screen "Default Screen Section" (0) [ 57.992] (**) | |-->Monitor "" [ 57.992] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 57.992] (**) | |-->Device "radeon" [ 57.992] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 57.992] (==) Automatically adding devices [ 57.992] (==) Automatically enabling devices [ 57.992] (==) Automatically adding GPU devices [ 57.994] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 57.999] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/misc/". [ 57.999] Entry deleted from font path. [ 57.999] (Run 'mkfontdir' on "/usr/share/fonts/X11/misc/"). [ 58.002] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/100dpi/". [ 58.002] Entry deleted from font path. [ 58.002] (Run 'mkfontdir' on "/usr/share/fonts/X11/100dpi/"). [ 58.003] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/75dpi/". [ 58.003] Entry deleted from font path. [ 58.003] (Run 'mkfontdir' on "/usr/share/fonts/X11/75dpi/"). [ 58.003] (==) FontPath set to: /usr/share/fonts/X11/TTF/, /usr/share/fonts/X11/OTF/, /usr/share/fonts/X11/Type1/ [ 58.003] (==) ModulePath set to "/usr/lib/xorg/modules" [ 58.003] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 58.003] (II) Loader magic: 0x810c40 [ 58.003] (II) Module ABI versions: [ 58.003] X.Org ANSI C Emulation: 0.4 [ 58.003] X.Org Video Driver: 23.0 [ 58.003] X.Org XInput driver : 24.1 [ 58.003] X.Org Server Extension : 10.0 [ 58.007] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/16777216, BIOS @ 0x????????/131072 [ 58.007] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) [ 58.007] (II) LoadModule: "glx" [ 58.008] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 58.040] (II) Module glx: vendor="X.Org Foundation" [ 58.040] compiled for 1.19.1, module version = 1.0.0 [ 58.040] ABI class: X.Org Server Extension, version 10.0 [ 58.040] (II) LoadModule: "ati" [ 58.041] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so [ 58.042] (II) Module ati: vendor="X.Org Foundation" [ 58.042] compiled for 1.19.1, module version = 7.8.0 [ 58.042] Module class: X.Org Video Driver [ 58.042] ABI class: X.Org Video Driver, version 23.0 [ 58.042] (EE) No drivers available. [ 58.042] (EE) Fatal server error: [ 58.044] (EE) no screens found(EE) [ 58.045] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 58.046] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 58.046] (EE) [ 58.046] (EE) Server terminated with error (1). Closing log file. I've tried rebuilding the kernel with Device Drivers ---> Graphics support ---> Direct Rendering Manager (XFree86 ... support) ---> [CONFIG_DRM] DRM driver for VMware Virtual GPU [CONFIG_DRM_VMWGFX] [*] Enable framebuffer console under vmwgfx by default [CONFIG_DRM_VMWGFX_FBCON] and Device Drivers ---> Graphics support ---> Direct Rendering Manager (XFree86 ... support) ---> [CONFIG_DRM] and in both cases got the same error message. This is the output of lspci for the graphics adapter 00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter Any idea why the screens are failing to load?
Youssif Saeed (141 rep)
Mar 22, 2017, 10:00 PM • Last activity: Jun 11, 2025, 02:06 PM
2 votes
1 answers
2396 views
libbfd-2.22.so missing while compiling Binutils/Glibc/Zlib
When I try to compile Binutils, Glibc and Zlib using chroot on my [LFS](http://www.linuxfromscratch.org/lfs/) system, I get this error: > ar: error while loading shared libraries: libbfd-2.22.so: cannot open shared object file: No such file or directory I compiled Binutils before without using chroo...
When I try to compile Binutils, Glibc and Zlib using chroot on my [LFS](http://www.linuxfromscratch.org/lfs/) system, I get this error: > ar: error while loading shared libraries: libbfd-2.22.so: cannot open shared object file: No such file or directory I compiled Binutils before without using chroot, the files libbfd.a, libbfd.so, libbfd-2.22.so and libbfd.la exist both in /tools/lib/ and /usr/lib/ I don't know where the compiler is searching for it. How to continue compilation?
Vi Pau (166 rep)
Aug 1, 2012, 07:29 AM • Last activity: Jun 3, 2025, 09:01 PM
3 votes
1 answers
2965 views
Keyboard & mouse not responding in X11 / XWindows
I’ve built a Linux from Scratch (LFS) instance. It is based on version 10 of LFS, it is SystemV based. I’ve been working on getting XWindows working. When I run the `xinit` or `startx`, XWindows displays without problem. The items that are defined in my `.xinitrc` display on the monitor. I have the...
I’ve built a Linux from Scratch (LFS) instance. It is based on version 10 of LFS, it is SystemV based. I’ve been working on getting XWindows working. When I run the xinit or startx, XWindows displays without problem. The items that are defined in my .xinitrc display on the monitor. I have the twm Window manager installed and it is called/started from within .xinitrc. My problem is getting my mouse and keyboard working with XWindows. The cursor is visible in the dead center of the screen but doesn’t move as I move the mouse. I’m using a Logitech mouse and keyboard that are USB based and connected to the computer via a cable. I uploaded a few screenshots of my config file, log info to provide some details, please help if you have an idea why this issue exists. The link to these screenshots are at https://postimg.cc/gallery/1y8Ghjx
wg21908 (33 rep)
Jan 7, 2021, 12:30 AM • Last activity: Apr 27, 2025, 07:06 AM
0 votes
2 answers
18448 views
checking whether the C compiler works... no
I'm trying to build Linux From Scratch (LFS). I'm just following this book: ``` https://www.linuxfromscratch.org/lfs/view/stable/chapter08/eudev.html ``` I have this error after I run ```./configure``` in `eudev` package: ``` checking for gcc... /usr/bin/gcc checking whether the C compiler works......
I'm trying to build Linux From Scratch (LFS). I'm just following this book:
https://www.linuxfromscratch.org/lfs/view/stable/chapter08/eudev.html 
I have this error after I run
./configure
in eudev package:
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... no
configure: error: in `/sources/eudev-3.2.11':
configure: error: C compiler cannot create executables
See `config.log' for more details
Here is
.log
--- Update: (more detail)
root@lfs-host:/mnt/lfs/sources/eudev-3.2.11# cat ~/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by eudev configure 3.2.11, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ ./configure --prefix=/usr --bindir=/usr/sbin --sysconfdir=/etc --enable-manpages --disable-static

## --------- ##
## Platform. ##
## --------- ##

hostname = lfs-host
uname -m = x86_64
uname -r = 5.15.0-30-generic
uname -s = Linux
uname -v = #31-Ubuntu SMP Thu May 5 10:00:34 UTC 2022

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /mnt/lfs/tools/bin/
PATH: /usr/bin/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3272: looking for aux files: config.guess config.sub ltmain.sh missing install-sh compile
configure:3285:  trying ./
configure:3314:   ./config.guess found
configure:3314:   ./config.sub found
configure:3314:   ./ltmain.sh found
configure:3314:   ./missing found
configure:3296:   ./install-sh found
configure:3314:   ./compile found
configure:3496: checking for gcc
configure:3528: result: /usr/bin/gcc
configure:3881: checking for C compiler version
configure:3890: /usr/bin/gcc --version >&5
gcc (GCC) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3901: $? = 0
configure:3890: /usr/bin/gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/11.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --prefix=/usr LD=ld --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (GCC)
configure:3901: $? = 0
configure:3890: /usr/bin/gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3901: $? = 1
configure:3890: /usr/bin/gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3901: $? = 1
configure:3890: /usr/bin/gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3901: $? = 1
configure:3921: checking whether the C compiler works
configure:3943: /usr/bin/gcc -O3 -Wall   conftest.c  >&5
/usr/libexec/gcc/x86_64-pc-linux-gnu/11.2.0/cc1: error while loading shared libraries: /usr/lib/libz.so.1: file too short
configure:3947: $? = 1
configure:3987: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "eudev"
| #define PACKAGE_TARNAME "eudev"
| #define PACKAGE_VERSION "3.2.11"
| #define PACKAGE_STRING "eudev 3.2.11"
| #define PACKAGE_BUGREPORT "https://github.com/gentoo/eudev/issues "
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main (void)
| {
|
|   ;
|   return 0;
| }
configure:3992: error: in `/sources/eudev-3.2.11':
configure:3994: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_BLKID_CFLAGS_set=
ac_cv_env_BLKID_CFLAGS_value=
ac_cv_env_BLKID_LIBS_set=
ac_cv_env_BLKID_LIBS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O3 -Wall'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_KMOD_CFLAGS_set=
ac_cv_env_KMOD_CFLAGS_value=
ac_cv_env_KMOD_LIBS_set=
ac_cv_env_KMOD_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_SELINUX_CFLAGS_set=
ac_cv_env_SELINUX_CFLAGS_value=
ac_cv_env_SELINUX_LIBS_set=
ac_cv_env_SELINUX_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=/usr/bin/gcc

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR=''
AM_BACKSLASH=''
AM_DEFAULT_V=''
AM_DEFAULT_VERBOSITY=''
AM_V=''
AR=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
BLKID_CFLAGS=''
BLKID_LIBS=''
CC='/usr/bin/gcc'
CCDEPMODE=''
CFLAGS='-O3 -Wall'
CPP=''
CPPFLAGS=''
CSCOPE=''
CTAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W=''
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_HWDB_FALSE=''
ENABLE_HWDB_TRUE=''
ENABLE_MANPAGES_FALSE=''
ENABLE_MANPAGES_TRUE=''
ENABLE_MTD_PROBE_FALSE=''
ENABLE_MTD_PROBE_TRUE=''
ENABLE_PROGRAMS_FALSE=''
ENABLE_PROGRAMS_TRUE=''
ENABLE_RULE_GENERATOR_FALSE=''
ENABLE_RULE_GENERATOR_TRUE=''
ETAGS=''
EXEEXT=''
FGREP=''
GPERF=''
GREP=''
HAVE_BLKID_FALSE=''
HAVE_BLKID_TRUE=''
HAVE_INTROSPECTION_FALSE=''
HAVE_INTROSPECTION_TRUE=''
HAVE_KMOD_FALSE=''
HAVE_KMOD_TRUE=''
HAVE_SELINUX_FALSE=''
HAVE_SELINUX_TRUE=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_STRIP_PROGRAM=''
INTROSPECTION_CFLAGS=''
INTROSPECTION_COMPILER=''
INTROSPECTION_GENERATE=''
INTROSPECTION_GIRDIR=''
INTROSPECTION_LIBS=''
INTROSPECTION_MAKEFILE=''
INTROSPECTION_SCANNER=''
INTROSPECTION_TYPELIBDIR=''
KMOD_CFLAGS=''
KMOD_LIBS=''
LD=''
LDFLAGS=''
LIBM=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
M4=''
MAKEINFO=''
MANIFEST_TOOL=''
MKDIR_P=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE=''
PACKAGE_BUGREPORT='https://github.com/gentoo/eudev/issues '
PACKAGE_NAME='eudev'
PACKAGE_STRING='eudev 3.2.11'
PACKAGE_TARNAME='eudev'
PACKAGE_URL=''
PACKAGE_VERSION='3.2.11'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB=''
SED=''
SELINUX_CFLAGS=''
SELINUX_LIBS=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
UDEV_VERSION='243'
VERSION=''
ac_ct_AR=''
ac_ct_CC='/usr/bin/gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot=''
am__nodep=''
am__quote=''
am__tar=''
am__untar=''
bindir='/usr/sbin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
girdir=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgconfiglibdir=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
rootlibdir=''
rootlibexecdir=''
rootprefix=''
rootrundir=''
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sharepkgconfigdir=''
sushell=''
sysconfdir='/etc'
target_alias=''
typelibsdir=''
udevconfdir=''
udevconffile=''
udevhwdbbin=''
udevhwdbdir=''
udevkeymapdir=''
udevkeymapforceredir=''
udevlibexecdir=''
udevrulesdir=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "eudev"
#define PACKAGE_TARNAME "eudev"
#define PACKAGE_VERSION "3.2.11"
#define PACKAGE_STRING "eudev 3.2.11"
#define PACKAGE_BUGREPORT "https://github.com/gentoo/eudev/issues "
#define PACKAGE_URL ""

configure: exit 77
root@lfs-host:/mnt/lfs/sources/eudev-3.2.11#
This error is applied to all ./configure not only for eudev But I check the gcc is working fine:
(lfs chroot) root:/sources/eudev-3.2.11# gcc
gcc: fatal error: no input files
compilation terminated.
Muhammad Ikhwan Perwira (319 rep)
May 16, 2022, 04:58 PM • Last activity: Jan 28, 2025, 04:04 AM
0 votes
0 answers
104 views
Linux from Scratch: custom GUI
If I follow the Linux From Scratch (LFS) manual, how do I go about setting up my own graphical user interface, that is, the "desktop environment"? I'd like to do it by using an HTML solution such as the [Sciter engine](https://sciter.com/). But I have the following questions: - After setting up LFS,...
If I follow the Linux From Scratch (LFS) manual, how do I go about setting up my own graphical user interface, that is, the "desktop environment"? I'd like to do it by using an HTML solution such as the [Sciter engine](https://sciter.com/) . But I have the following questions: - After setting up LFS, how do I link my own desktop environment (e.g. Sciter Hello World )? - If I can really use Sciter to build my desktop environment, then how can I customise the window manager details (icons, font, appearance of buttons, checkboxes etc.)? I was pretending to use HTML because it supports rich graphics and easing transitions out of the box. I need an own desktop environment because: - I need both windowed and Metro fullscreen apps. - A fullscreen start menu as in Metro. - I need touch gestures around the screen, such as for the "system status" (what time is it, battery etc.), pushing background apps, pushing current app, and splitting screen (and, for Metro fullscreen apps, showing the minimize-maximize-close chrome).
Hydroper Resident (109 rep)
Nov 27, 2024, 01:21 PM • Last activity: Nov 27, 2024, 02:25 PM
0 votes
1 answers
83 views
Do I need to extract a source tar file for each pass in LFS, or does creating a seperate named "build" folder suffice (like "build", "build2")?
There's a handful of programs like GCC that not only require two different passes when setting up LFS, but as is the case with GCC, it is also used for Libstdc++. When going thru this setting up for LFS, what is expected me of to do? The directions are somewhat vague on whether I should extract the...
There's a handful of programs like GCC that not only require two different passes when setting up LFS, but as is the case with GCC, it is also used for Libstdc++. When going thru this setting up for LFS, what is expected me of to do? The directions are somewhat vague on whether I should extract the source tar file into a different named folder for each pass, or if I should create a separate build folder inside the source folder for each pass (like "build", "build2")? Also what would happen if I used the same build directory that was used in the original pass 1 but obviously configured differently for the second pass? Would there be any conflicts?
watchy (71 rep)
Nov 14, 2024, 08:16 PM • Last activity: Nov 14, 2024, 10:48 PM
5 votes
3 answers
5255 views
Add and Compile apt-get package manager for LFS
I'm trying to add `apt-get` package manager to LFS (LINUX FROM SCRATCH) system. I have found a solution explaining how to '[compile apt-get and dpkg][1]' for LFS. But it's very old and unusable. I searched for `apt-get` source code and found it on [debian.org][2]. It is Debian version of `apt`. I ha...
I'm trying to add apt-get package manager to LFS (LINUX FROM SCRATCH) system. I have found a solution explaining how to 'compile apt-get and dpkg ' for LFS. But it's very old and unusable. I searched for apt-get source code and found it on debian.org . It is Debian version of apt. I have downloaded apt-0.8.10.3.deb package and extracted its contents to the root directory of LFS. When my LFS system boots up and I type apt-get, this error is shown: E: Unable to determine a suitable packaging system type. 1. How can I add apt-get to LFS and get it working? 2. What does the above error mean?
Emad (159 rep)
Jun 24, 2015, 10:56 PM • Last activity: Aug 8, 2024, 02:02 AM
0 votes
1 answers
35 views
LFS booting EFI in macbook pro 2014
I am trying to build linux from scratch (LFS) as an educational project [using the main LFS book version 12.1][1], however, whene i reach the bottable chapter, i found that i have to boot my LFS using EFI support because my main machine is macbook pro 2014, so i follwo the BLFS guide [Using GRUB to...
I am trying to build linux from scratch (LFS) as an educational project using the main LFS book version 12.1 , however, whene i reach the bottable chapter, i found that i have to boot my LFS using EFI support because my main machine is macbook pro 2014, so i follwo the BLFS guide Using GRUB to Set Up the Boot Process with UEFI , and https://www.linuxfromscratch.org/blfs/view/12.1/postlfs/grub-efi.html ; whene i re-boot the machine i get > error disk 'hd0,2' not found I fix it by using > set root=(hd1,gpt4) The next problem is > /boot/vmlinuz-6.7.4-lfs-12.1 not found i checked my boot file and found the file name exists under differnt name **/boot/vmlinuz-6.7.4-lfs-12.1-systemd** so i rename it to **/boot/vmlinuz-6.7.4-lfs-12.1**. No whene i am booting again i get a black screen after selecting the lfs system from booting menu . attached files > **fdisk -l /dev/sda outputs** Device Start End Sectors Size Type /dev/sda1 40 409639 409600 200M EFI System /dev/sda2 411648 17807359 17395712 8.3G Linux swap /dev/sda3 488847608 490117143 1269536 619.9M Apple boot /dev/sda4 19855360 81295359 61440000 29.3G Linux filesystem linux kernel configuration file grub.cfg file any help!
user943998 (1 rep)
Jul 16, 2024, 06:41 PM • Last activity: Jul 18, 2024, 09:38 AM
0 votes
0 answers
131 views
Compile Failed of gcc 13.2.0 of lfs version 12.1
When i fellow the command of the lfs book 12.1 i chapter 5 to compile gcc 13.2.0 , i got the error. ```shell Supported LTO compression algorithms: zlib gcc version 13.2.0 (GCC) configure:3560: $? = 0 configure:3549: /mnt/lfs/sources/gcc-13.2.0/build/./gcc/xgcc -B/mnt/lfs/sources/gcc-13.2.0/build/./g...
When i fellow the command of the lfs book 12.1 i chapter 5 to compile gcc 13.2.0 , i got the error.
Supported LTO compression algorithms: zlib
gcc version 13.2.0 (GCC) 
configure:3560: $? = 0
configure:3549: /mnt/lfs/sources/gcc-13.2.0/build/./gcc/xgcc -B/mnt/lfs/sources/gcc-13.2.0/build/./gcc/ -B/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ -B/mnt/lfs/tools/x86_64-lfs-linux-gnu/lib/ -isystem /mnt/lfs/tools/x86_64-lfs-linux-gnu/include -isystem /mnt/lfs/tools/x86_64-lfs-linux-gnu/sys-include    -V >&5
xgcc: error: unrecognized command-line option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3560: $? = 1
configure:3549: /mnt/lfs/sources/gcc-13.2.0/build/./gcc/xgcc -B/mnt/lfs/sources/gcc-13.2.0/build/./gcc/ -B/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ -B/mnt/lfs/tools/x86_64-lfs-linux-gnu/lib/ -isystem /mnt/lfs/tools/x86_64-lfs-linux-gnu/include -isystem /mnt/lfs/tools/x86_64-lfs-linux-gnu/sys-include    -qversion >&5
xgcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
xgcc: fatal error: no input files
compilation terminated.
configure:3560: $? = 1
configure:3576: /mnt/lfs/sources/gcc-13.2.0/build/./gcc/xgcc -B/mnt/lfs/sources/gcc-13.2.0/build/./gcc/ -B/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ -B/mnt/lfs/tools/x86_64-lfs-linux-gnu/lib/ -isystem /mnt/lfs/tools/x86_64-lfs-linux-gnu/include -isystem /mnt/lfs/tools/x86_64-lfs-linux-gnu/sys-include    -o conftest -g -O2   conftest.c  >&5
In file included from conftest.c:9:
/usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
   27 | #include 
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:3579: $? = 1
configure:3792: checking for suffix of object files
configure:3814: /mnt/lfs/sources/gcc-13.2.0/build/./gcc/xgcc -B/mnt/lfs/sources/gcc-13.2.0/build/./gcc/ -B/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ -B/mnt/lfs/tools/x86_64-lfs-linux-gnu/lib/ -isystem /mnt/lfs/tools/x86_64-lfs-linux-gnu/include -isystem /mnt/lfs/tools/x86_64-lfs-linux-gnu/sys-include    -c -g -O2  conftest.c >&5
/mnt/lfs/sources/gcc-13.2.0/build/./gcc/as: 114: exec: --64: not found
configure:3818: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/ "
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3832: error: in `/mnt/lfs/sources/gcc-13.2.0/build/x86_64-lfs-linux-gnu/libgcc':
configure:3834: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
the configure options is below as the book recommend.
../configure --target=$LFS_TGT --prefix=$LFS/tools --with-glibc-version=2.39 --with-sysroot=$LFS --with-newlib --without-headers --enable-default-pie --enable-default-ssp --disable-nls --disable-shared --disable-multilib --disable-threads --disable-libgomp --disable-libquadmath --disable-libssp --disable-libvtv --disable-libstdcxx --enable-languages=c,c++
my host information is Debian 12 and the gcc version of host is 12.
#uname -r
Linux debian-ms 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux

#gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14' --with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-12 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (Debian 12.2.0-14)
And i also link the /usr/include of lfs root path to the host system /usr/include , and i could find the missing file in /usr/include/ of lfs root path. Is there is something need to be set? Thanks for help.
Kyrie Cheng (1 rep)
Jul 14, 2024, 07:59 AM • Last activity: Jul 14, 2024, 10:09 AM
0 votes
0 answers
129 views
Can’t boot into LFS using GRUB
I have made LFS.  But unfortunately, when I installed GRUB, I got an error that said ext2 system isn’t supported.  But I added `--force` into `grub-install --force /dev/sda` and it installed, so I tried rebooting, and it automatically puts me into GRUB rescue shell.  Is there any...
I have made LFS.  But unfortunately, when I installed GRUB, I got an error that said ext2 system isn’t supported.  But I added --force into grub-install --force /dev/sda and it installed, so I tried rebooting, and it automatically puts me into GRUB rescue shell.  Is there any way to repair it, or do I have to compile everything again? I tried finding a kernel from the GRUB shell to load it, but I can’t really find anything.  And, when doing ls (hd0,gpt1), I don’t see any files or directories.
Crazegi Contact (31 rep)
May 21, 2024, 07:16 PM • Last activity: May 29, 2024, 11:04 AM
0 votes
0 answers
181 views
Linux From Scratch 12.1 GCC testsuite failing and timing out
I'm currently building Linux From Scratch 12.1 with the book, I've followed the instructions line by line. I'm struggling with the GCC testsuite, I have lots of FAIL and timeout. In addition to that, I'm running a Lubuntu VM with an LFS.vdi where I'm building LFS, during the test it is being filled...
I'm currently building Linux From Scratch 12.1 with the book, I've followed the instructions line by line. I'm struggling with the GCC testsuite, I have lots of FAIL and timeout. In addition to that, I'm running a Lubuntu VM with an LFS.vdi where I'm building LFS, during the test it is being filled to the point where the tests can't continue. My VM runs lubuntu 64bit with 4proc and 10Gb RAM. I have a 30Go drive dedicated to LFS. I've tried this for the "not enough space" problem but it didn't work: https://superuser.com/questions/529149/how-to-compact-virtualboxs-vdi-file-size I don't really know where to look, any help would be greatly appreciated. If I can access some helpful logs, let me know. Thanks in advance
noxen (1 rep)
May 24, 2024, 01:49 PM
23 votes
2 answers
119783 views
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
Trying to execute the source command using "lfs" user on ubuntu 14.04 and getting this: root@linux:~/lfs# su lfs - -c "source ~/.bash_profile" bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell Any ideas? Background info: I am following th...
Trying to execute the source command using "lfs" user on ubuntu 14.04 and getting this: root@linux:~/lfs# su lfs - -c "source ~/.bash_profile" bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell Any ideas? Background info: I am following the LFS book, making a script out of it, so in my script which I execute with sudo, when it gets to this part, after creating the lfs user and his .bashrc and .bashprofile, I guess it is loading it. #Context: echo "info: create 'lfs' group and user..." groupadd -f lfs id -u lfs &>/dev/null || useradd -s /bin/bash -g lfs -m -k /dev/null lfs passwd -d -q lfs echo "info: make 'lfs' own the 'tools' and 'sources' directories..." chown lfs $LFS/tools chown lfs $LFS/sources echo "info: creating a clean '.bash_profile' as user 'lfs'..." su lfs - -c "cat > ~/.bash_profile ~/.bashrc << \"EOF\" set +h umask 022 LFS=/mnt/lfs LC_ALL=POSIX LFS_TGT=$(uname -m)-lfs-linux-gnu PATH=/tools/bin:/bin:/usr/bin export LFS LC_ALL LFS_TGT PATH EOF" su lfs - -c "source ~/.bash_profile" #Edit: It has been suggested that my syntax is incorrect, I am not at my linux machine at the moment, so will try to use different syntax when I get the chance. However, for info, I got the syntax from the answer here: https://serverfault.com/questions/411307/cannot-set-terminal-process-group-during-su-to-another-user-as-login-shell
sprocket12 (569 rep)
Nov 21, 2016, 07:11 PM • Last activity: Feb 29, 2024, 12:09 PM
0 votes
1 answers
279 views
Git LFS doesn't work anymore with our Yocto: git doesn't fetch "large files" since we upgraded our tools
Git LFS doesn't work anymore with Yocto: git doesn't fetch "large files" since we upgraded our tools to these versions: Yocto kirkstone gitlab 16.7.3 and gitlab 16.8 git version 2.34.1 git-lfs/3.0.2 (GitHub; linux amd64; go 1.18.1) Kubuntu 22.04: Linux linux-dev 5.15.0-91-generic #101-Ubuntu SMP Tue...
Git LFS doesn't work anymore with Yocto: git doesn't fetch "large files" since we upgraded our tools to these versions: Yocto kirkstone gitlab 16.7.3 and gitlab 16.8 git version 2.34.1 git-lfs/3.0.2 (GitHub; linux amd64; go 1.18.1) Kubuntu 22.04: Linux linux-dev 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux When I execute the Yocto command "**bitbake tep2020ihm**", I get multiple "**Smudge**" errors, like that one: ERROR: tep2020ihm-1.22-r0 do_unpack: Bitbake Fetcher Error: FetchError( ) failed with exit code 128, output:\nDownloading 3rd-party/aghaf/lib/aghaf.dll (6.6 MB)\nError downloading object: 3rd-party/aghaf/lib/aghaf.dll (1d6198d): Smudge error: Error downloading 3rd-party/aghaf/lib/aghaf.dll When I'm cloning the project manually (to another directory on the dev server, by typing manually the command "**git clone https://...** ", it works, including the large files. When the Yocto fetcher does it, it does not work (smudge errors for large files). If I put the mention "lfs=0" in the SRC_URI variable of the .bb file (the Yocto recipe for my project), the fetcher works, but instead of fetching the file's content, it fetches the "LFS blob" instead: version https://git-lfs.github.com/spec/v1 oid sha256:dba4dab327a3b420509ac9f466acde6c657698ccb1854522d20d3cfb35a493c1 size 173735936 I'm producing below the result of the command "git lfs logs last" in case it may clarify a point that I forgot to mention:
git-lfs/3.0.2 (GitHub; linux amd64; go 1.18.1)
git version 2.34.1

$ git-lfs filter-process
Error downloading object: 3rd-party/aghaf/lib/aghaf.dll (1d6198d): Smudge error: Error downloading 3rd-party/aghaf/lib/aghaf.dll (1d6198d4a0a31d3425d50901619f3b223e15d8f328c5a554d6150a0cb00fb5fd): batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution

batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
batch response: Post "https://jlsabatier:***@gitlab.annecyelectronique.com/annecyelectronique/pfd2020/tep2020_ihm.git/info/lfs/objects/batch ": dial tcp: lookup gitlab.annecyelectronique.com: Temporary failure in name resolution
Error downloading 3rd-party/aghaf/lib/aghaf.dll (1d6198d4a0a31d3425d50901619f3b223e15d8f328c5a554d6150a0cb00fb5fd)
github.com/git-lfs/git-lfs/errors.newWrappedError
        github.com/git-lfs/git-lfs/errors/types.go:225
github.com/git-lfs/git-lfs/errors.Wrapf
        github.com/git-lfs/git-lfs/errors/errors.go:85
github.com/git-lfs/git-lfs/lfs.(*GitFilter).downloadFile
        github.com/git-lfs/git-lfs/lfs/gitfilter_smudge.go:119
github.com/git-lfs/git-lfs/lfs.(*GitFilter).Smudge
        github.com/git-lfs/git-lfs/lfs/gitfilter_smudge.go:78
github.com/git-lfs/git-lfs/commands.smudge
        github.com/git-lfs/git-lfs/commands/command_smudge.go:127
github.com/git-lfs/git-lfs/commands.filterCommand
        github.com/git-lfs/git-lfs/commands/command_filter_process.go:122
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra/command.go:860
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra/command.go:974
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra/command.go:902
github.com/git-lfs/git-lfs/commands.Run
        github.com/git-lfs/git-lfs/commands/run.go:105
main.main
        github.com/git-lfs/git-lfs/git-lfs.go:33
runtime.main
        runtime/proc.go:250
runtime.goexit
        runtime/asm_amd64.s:1571
Smudge error
github.com/git-lfs/git-lfs/errors.newWrappedError
        github.com/git-lfs/git-lfs/errors/types.go:225
github.com/git-lfs/git-lfs/errors.NewSmudgeError
        github.com/git-lfs/git-lfs/errors/types.go:311
github.com/git-lfs/git-lfs/lfs.(*GitFilter).Smudge
        github.com/git-lfs/git-lfs/lfs/gitfilter_smudge.go:87
github.com/git-lfs/git-lfs/commands.smudge
        github.com/git-lfs/git-lfs/commands/command_smudge.go:127
github.com/git-lfs/git-lfs/commands.filterCommand
        github.com/git-lfs/git-lfs/commands/command_filter_process.go:122
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra/command.go:860
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra/command.go:974
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra/command.go:902
github.com/git-lfs/git-lfs/commands.Run
        github.com/git-lfs/git-lfs/commands/run.go:105
main.main
        github.com/git-lfs/git-lfs/git-lfs.go:33
runtime.main
        runtime/proc.go:250
runtime.goexit
        runtime/asm_amd64.s:1571

Current time in UTC: 
2024-01-18 17:17:38

ENV:
LocalWorkingDir=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0/git
LocalGitDir=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0/git/.git
LocalGitStorageDir=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0/git/.git
LocalMediaDir=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0/git/.git/lfs/objects
LocalReferenceDirs=
TempDir=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0/git/.git/lfs/tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0/git/.git/lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file,ssh
UploadTransfers=basic,lfs-standalone-file,ssh
GIT_EXEC_PATH=/usr/lib/git-core
GIT_CEILING_DIRECTORIES=/home/jlsabatier/var-fslc-yocto-kirkstone/build_tep/tmp/work/cortexa7t2hf-neon-fslc-linux-gnueabi/tep2020ihm/1.22-r0
GIT_PREFIX=
GIT_CONFIG_PARAMETERS='core.fsyncobjectfiles'='0' 'gc.autoDetach'='false' 'core.pager'='cat'

Client IP addresses:
Jean-Loup Sabatier (101 rep)
Jan 19, 2024, 03:20 PM • Last activity: Jan 26, 2024, 01:31 AM
5 votes
3 answers
8056 views
How to provide crt1.o and crti.o for LFS?
I have tried to create a Linux distribution with the [Linux From Scratch][1] (LFS) website. Everything went good until step **[5.7. Glibc-2.19][2]**, but when I tried: $LFS_TGT-gcc dummy.c I get: /tools/lib/gcc/i686-lfs-linux-gnu/4.8.2/../../../../i686-lfs-linux-gnu/bin/ld: cannot find crt1.o: No su...
I have tried to create a Linux distribution with the Linux From Scratch (LFS) website. Everything went good until step **5.7. Glibc-2.19 **, but when I tried: $LFS_TGT-gcc dummy.c I get: /tools/lib/gcc/i686-lfs-linux-gnu/4.8.2/../../../../i686-lfs-linux-gnu/bin/ld: cannot find crt1.o: No such file or directory /tools/lib/gcc/i686-lfs-linux-gnu/4.8.2/../../../../i686-lfs-linux-gnu/bin/ld: cannot find crti.o: No such file or directory So I googled it for a while, and I realize that Debian changed some directory, and I searched for those files and I found them in: /usr/libx32/ I realize from those searches that it happen with trying to compile 64 bit in 32 bit structures, and I should create virtual link of theme in: /tools/lib/gcc/i686-lfs-linux-gnu/4.8.2/ But when I did that I got: /tools/lib/gcc/i686-lfs-linux-gnu/4.8.2/crt1.o: file not recognized: File format not recognized In this step I really don't know what to do next. How can I fix it?
zokit (141 rep)
Sep 6, 2014, 12:21 PM • Last activity: Dec 17, 2023, 02:22 AM
6 votes
2 answers
3887 views
How can I copy text from Links (webpage) to the console?
I have been building a Linux From Scratch system and I have installed the Links web browser on it, which I am running in graphical mode via DirectFB (I have not yet installed the X Window System). I am wondering if there is a way that I can copy text from a Links webpage running in one tty, to a con...
I have been building a Linux From Scratch system and I have installed the Links web browser on it, which I am running in graphical mode via DirectFB (I have not yet installed the X Window System). I am wondering if there is a way that I can copy text from a Links webpage running in one tty, to a console (Bash) running in another tty? I know text can be copied between two ttys with GPM; however, I can't find a way to do it from Links. In text mode, I seem to be unable to highlight text with the cursor; in graphical mode, I can highlight text, but it doesn't copy to the console with the middle mouse button, like it does in GPM. It would be very helpful for building further LFS packages, if I could copy-paste text from a web browser to the console.
Time4Tea (2618 rep)
Jun 25, 2018, 04:01 PM • Last activity: Sep 22, 2023, 08:55 AM
0 votes
1 answers
1116 views
LFS Chapter 5.5 - Installing Glibc - cannot find /lib64/ld-linux-x86-64.so.2 inside /mnt/lfs
For some background, everything related to LFS has worked so far. After make-installing glibc, I ran these commands to sanity check: ``` echo 'int main(){}' | $LFS_TGT-gcc -xc - readelf -l a.out | grep ld-linux ``` After doing the first one, I got this error: */mnt/lfs/tools/lib/gcc/x86_64-lfs-linux...
For some background, everything related to LFS has worked so far. After make-installing glibc, I ran these commands to sanity check:
echo 'int main(){}' | $LFS_TGT-gcc -xc -
readelf -l a.out | grep ld-linux
After doing the first one, I got this error: */mnt/lfs/tools/lib/gcc/x86_64-lfs-linux-gnu/13.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: cannot find /lib64/ld-linux-x86-64.so.2 inside /mnt/lfs collect2: error: ld returned 1 exit status* It shouldn't output this. I checked lib64 and ld-linux-x86-64.so.2 is a symbolic link to /**lib**/ld-linux-x86-64.so.2. In the /lib/ directory, ld-linux-x86-64.so.2 doesn't exist. So basically, ld-linux doesn't exist for some reason. I am the LFS user and I'm running each command correctly. The $LFS variable is set. What could be going on here?
lfsthrowaway (1 rep)
Sep 3, 2023, 02:13 PM • Last activity: Sep 7, 2023, 01:40 PM
0 votes
0 answers
254 views
LFS libstdc failed - make: *** No targets specified and no makefile found. Stop
I am on chapter 5 of LFS. I am trying to compile LibSTDC. After cd'ing into the build directory I created and running: ``` ../libstdc++-v3/configure \ --host=$LFS_TGT \ --build=$(../config.guess) \ --prefix=/usr \ --disable-multilib \ --disable-nls \ --disable-libstdcxx-pch \ --with-gxx-include-dir=...
I am on chapter 5 of LFS. I am trying to compile LibSTDC. After cd'ing into the build directory I created and running:
../libstdc++-v3/configure \
--host=$LFS_TGT \
--build=$(../config.guess) \
--prefix=/usr \
--disable-multilib \
--disable-nls \
--disable-libstdcxx-pch \
--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/13.2.0
I get:
checking for unistd.h... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if x86_64-lfs-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-lfs-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-lfs-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-lfs-linux-gnu-gcc static flag -static works... yes
checking if x86_64-lfs-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-lfs-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-lfs-linux-gnu-gcc linker (/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
I ignored these errors and proceeded to run "make" I got this after running make:
make: *** No targets specified and no makefile found.  Stop.
Using ls, there is no makefile or anything else. Just a "config.log" file. Which has many lines. Here are the last 25:
target='x86_64-lfs-linux-gnu'
target_alias='x86_64-lfs-linux-gnu'
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='lfs'
thread_header=''
tmake_file=''
toplevel_builddir='/mnt/lfs/sources/gcc-13.2.0/build/..'
toplevel_srcdir='/mnt/lfs/sources/gcc-13.2.0/libstdc++-v3/..'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "package-unused"
#define PACKAGE_TARNAME "libstdc++"
#define PACKAGE_VERSION "version-unused"
#define PACKAGE_STRING "package-unused version-unused"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define LT_OBJDIR ".libs/"

configure: exit 1
Cd-ing into the previous directory "gcc-13.2.0" and running make yields the same error. Running "configure" yields this error:
configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.  Source code for these libraries can be found at
their respective hosting sites as well as at
https://gcc.gnu.org/pub/gcc/infrastructure/ .  See also
http://gcc.gnu.org/install/prerequisites.html  for additional info.  If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files.  They may be located in separate packages.
I am the LFS user and the $LFS variable is set. Any ideas as to what this could be are appreciated. Thank you!
lfsthrowaway (1 rep)
Sep 3, 2023, 03:44 PM
Showing page 1 of 20 total questions