[lfs-support] Udev on lfs-7.3

Bruce Dubbs bruce.dubbs at gmail.com
Sun Mar 10 17:58:32 PDT 2013


Jean-Philippe MENGUAL wrote:
> Here's my log: http://sprunge.us/hQPd
>
> Waiting for your feedback on it I try again to compare, to see if there are
> useful info.

Let's try 'make -n -f udev-lfs-197-2/Makefile.lfs'

The first part should be:

sed  -e 's/LFS-VERSION/197/' \
      -e 's/SECURE_GETENV/SECURE_GETENV/' \
         udev-lfs-197-2/cfg.h > ./cfg.h
mkdir -p build
touch common
echo CC src/shared/log.c
gcc -c -Wall -W -Wextra -Wno-inline -Wvla -Wundef -Wformat=2 
-Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs 
-Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self 
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes 
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations 
-Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align 
-Wstrict-aliasing=2 -Wwrite-strings -Wno-overlength-strings 
-Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result 
-Werror=overflow -Wp,-D_FORTIFY_SOURCE=2 -Wno-long-long  -O2 -pipe 
-ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing 
-ffunction-sections -fdata-sections -fPIC -I src/libudev -I src/shared 
-I src -I src/login -I src/systemd -include cfg.h -DSYSCONFDIR=\"/etc\" 
-DFIRMWARE_PATH="\"/lib/firmware/updates/\", \"/lib/firmware/\"" 
-DHWDB_BIN=\"/etc/udev/hwdb.bin\" -DROOTPREFIX= 
-DUDEVLIBEXECDIR=\"/lib/udev\" -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -o build/log.o src/shared/log.c

Are you sure you did:

tar -xf systemd-197.tar.xz
cd systemd-197
tar -xf ../udev-lfs-197-2.tar.bz2
make -f udev-lfs-197-2/Makefile.lfs


   -- Bruce



More information about the lfs-support mailing list