Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] udev-197-r1: undefined reference to _Static_assert
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 808
Location: Greece

PostPosted: Tue Jan 15, 2013 6:12 am    Post subject: [SOLVED] udev-197-r1: undefined reference to _Static_assert Reply with quote

udev-197-r1 fails to emerge with the error "undefined reference to _Static_assert". Google couldn't help me with this. This is the full log:

Code:
 * Package:    sys-fs/udev-197-r1
 * Repository: gentoo
 * Maintainer: udev-bugs@gentoo.org
 * USE:        acl amd64 consolekit elibc_glibc gudev hwdb introspection kernel_linux keymap kmod multilib openrc policykit userland_GNU
 * FEATURES:   preserve-libs sandbox


 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.4.4-gentoo/build
 * Found sources for kernel version:
 *     3.4.4-gentoo
 * Checking for suitable kernel configuration options...
 [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux-3.4.4-gentoo
 * Found kernel object directory:
 *     /lib/modules/3.4.4-gentoo/build
 * Found sources for kernel version:
 *     3.4.4-gentoo


>>> Unpacking source...
>>> Unpacking systemd-197.tar.xz to /var/tmp/portage/sys-fs/udev-197-r1/work
>>> Unpacking udev-197-patches-1.tar.bz2 to /var/tmp/portage/sys-fs/udev-197-r1/work
>>> Source unpacked in /var/tmp/portage/sys-fs/udev-197-r1/work


>>> Preparing source in /var/tmp/portage/sys-fs/udev-197-r1/work/systemd-197 ...
 * Applying various patches (bugfixes/updates) ...
 *   0001-udev-net_id-skip-stacked-network-devices.patch ...
 [ ok ]
 *   0006-udev-don-t-call-fclose-on-NULL-in-is_pci_multifuncti.patch ...
 [ ok ]
 * Done with patching
 * Running elibtoolize in: systemd-197/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
>>> Source prepared.


>>> Configuring source in /var/tmp/portage/sys-fs/udev-197-r1/work/systemd-197 ...
 * econf: updating systemd-197/build-aux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating systemd-197/build-aux/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking ac_cv_search_cap_init= ac_cv_header_sys_capability_h=yes DBUS_CFLAGS=  DBUS_LIBS=  --docdir=/usr/share/doc/udev-197-r1 --libdir=/usr/lib64 --with-html-dir=/usr/share/doc/udev-197-r1/html --with-rootprefix= --with-rootlibdir=/lib --disable-audit --disable-coredump --disable-hostnamed --disable-ima --disable-libcryptsetup --disable-localed --disable-logind --disable-myhostname --disable-nls --disable-pam --disable-quotacheck --disable-readahead --enable-split-usr --disable-tcpwrap --disable-timedated --disable-xz --enable-acl --disable-gtk-doc --enable-gudev --enable-keymap --enable-kmod --disable-selinux --disable-static --enable-introspection=yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-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... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether NLS is requested... no
checking for intltool >= 0.40.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.16.1
checking for XML::Parser... ok
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for gawk... (cached) gawk
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 and cc understand -c and -o together... yes
checking whether x86_64-pc-linux-gnu-gcc -std=gnu99 needs -traditional... no
checking for m4... /usr/bin/m4
checking for xsltproc... /usr/bin/xsltproc
checking for quotaon... /usr/sbin/quotaon
checking for quotacheck... /usr/sbin/quotacheck
checking for setcap... /sbin/setcap
checking for kill... /bin/kill
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for gobject-introspection... yes
checking for x86_64-pc-linux-gnu-objcopy... /usr/bin/x86_64-pc-linux-gnu-objcopy
checking for x86_64-pc-linux-gnu-strings... /usr/bin/x86_64-pc-linux-gnu-strings
checking for x86_64-pc-linux-gnu-gperf... no
checking for gperf... /usr/bin/gperf
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for python2.7-config... /usr/bin/python2.7-config
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -pipe in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wall in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wextra in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-inline in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wundef in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat=2 in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wlogical-op in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wsign-compare in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat-security in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-include-dirs in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat-nonliteral in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wold-style-definition in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wpointer-arith in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Winit-self in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wdeclaration-after-statement in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wfloat-equal in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-prototypes in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wstrict-prototypes in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wredundant-decls in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-declarations in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-noreturn in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wshadow in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wendif-labels in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wcast-align in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wstrict-aliasing=2 in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wwrite-strings in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-long-long in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-overlength-strings in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-unused-parameter in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-missing-field-initializers in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-unused-result in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Werror=overflow in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -ffast-math in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -fno-common in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -fdiagnostics-show-option in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -fno-strict-aliasing in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -fvisibility=hidden in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -ffunction-sections in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -fdata-sections in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -fstack-protector in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag --param=ssp-buffer-size=4 in envvar CFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wp,-D_FORTIFY_SOURCE=2 in envvar CPPFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wl,--as-needed in envvar LDFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wl,--gc-sections in envvar LDFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wl,-z,relro in envvar LDFLAGS... yes
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -Wl,-z,now in envvar LDFLAGS... yes
checking for library containing mq_open... -lrt
checking for library containing dlsym... -ldl
checking for library containing cap_init... (cached)
checking for sys/capability.h... (cached) yes
checking for fanotify_init... yes
checking for fanotify_mark... yes
checking for __secure_getenv... yes
checking for secure_getenv... no
checking whether gettid is declared... no
checking whether pivot_root is declared... no
checking whether name_to_handle_at is declared... yes
checking for DBUS... yes
checking for KMOD... yes
checking for BLKID... yes
checking for chkconfig... no
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking acl/libacl.h usability... yes
checking acl/libacl.h presence... yes
checking for acl/libacl.h... yes
checking for acl_get_file in -lacl... yes
checking attr/xattr.h usability... yes
checking attr/xattr.h presence... yes
checking for attr/xattr.h... yes
checking for fsetxattr in -lattr... yes
checking for x86_64-pc-linux-gnu-libgcrypt-config... no
checking for libgcrypt-config... /usr/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.4.5... yes (1.5.0)
checking for QRENCODE... no
checking for MICROHTTPD... no
checking for GLIB... yes
checking for gperf... /usr/bin/gperf
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating docs/libudev/Makefile
config.status: creating docs/libudev/version.xml
config.status: creating docs/gudev/Makefile
config.status: creating docs/gudev/version.xml
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands

        systemd 197

        libcryptsetup:           no
        tcpwrap:                 no
        PAM:                     no
        AUDIT:                   no
        IMA:                     no
        SELinux:                 no
        XZ:                      no
        ACL:                     yes
        XATTR:                   yes
        GCRYPT:                  yes
        QRENCODE:                no
        MICROHTTPD:              no
        CHKCONFIG:               no
        binfmt:                  yes
        vconsole:                yes
        readahead:               no
        bootchart:               yes
        quotacheck:              no
        randomseed:              yes
        logind:                  no
        hostnamed:               no
        timedated:               no
        localed:                 no
        coredump:                no
        kmod:                    yes
        blkid:                   yes
        nss-myhostname:          no
        gudev:                   yes
        gintrospection:          yes
        keymap:                  yes
        Python:                  yes
        Python Headers:          yes
        man pages:               yes
        gtk-doc:                 no
        Split /usr:              yes
        SysV compatibility:      yes

        prefix:                  /usr
        rootprefix:             
        sysconf dir:             /etc
        datarootdir:             ${prefix}/share
        includedir:              ${prefix}/include
        include_prefix:          /usr/include
        lib dir:                 /usr/lib64
        rootlib dir:             /lib
        SysV init scripts:       /etc/init.d
        SysV rc?.d directories:  /etc/rc.d
        Build Python:            /usr/bin/python
        Installation Python:     /usr/bin/python
        firmware path:           \"/lib/firmware/updates/\", \"/lib/firmware/\"
        PAM modules dir:         /lib/security
        D-Bus policy dir:        /etc/dbus-1/system.d
        D-Bus session dir:       /usr/share/dbus-1/services
        D-Bus system dir:        /usr/share/dbus-1/services/../system-services
        D-Bus interfaces dir:    /usr/share/dbus-1/services/../interfaces
        Extra start script:      /etc/rc.local
        Extra stop script:       /usr/sbin/halt.local

        CFLAGS:                   -pipe -Wall -Wextra -Wno-inline -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-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Werror=overflow -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -ffunction-sections -fdata-sections -fstack-protector --param=ssp-buffer-size=4 -march=core2 -msse4 -mcx16 -msahf -O2 -pipe
        CPPLAGS:                  -Wp,-D_FORTIFY_SOURCE=2
        LDFLAGS:                  -Wl,--as-needed -Wl,--gc-sections -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--as-needed
        PYTHON_CFLAGS:           -I/usr/include/python2.7 -I/usr/include/python2.7 -fno-strict-aliasing -march=core2 -msse4 -mcx16 -msahf -O2 -pipe -fwrapv -DNDEBUG
        PYTHON_LIBS:             -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic

>>> Source configured.


>>> Compiling source in /var/tmp/portage/sys-fs/udev-197-r1/work/systemd-197 ...
make -j8 -l8 -f Makefile -f /var/tmp/portage/sys-fs/udev-197-r1/temp/Makefile.extra BUILT_SOURCES
  GEN      src/core/syscall-list.txt
  GEN      src/gudev/gudevmarshal.h
  GEN      src/gudev/gudevmarshal.c
  GEN      src/gudev/gudevenumtypes.c
  GEN      src/udev/keymap/keys.txt
  GEN      src/udev/keymap/keys-from-name.gperf
  GEN      src/udev/keymap/keys-to-name.h
  GEN      src/udev/keymap/keys-from-name.h
  GEN      src/core/syscall-from-name.gperf
  GEN      src/core/syscall-to-name.h
  GEN      src/core/syscall-from-name.h
make -j8 -l8 systemd-udevd udevadm libudev.la libsystemd-daemon.la ata_id cdrom_id collect scsi_id v4l_id accelerometer mtd_probe man/udev.7 man/udevadm.8 man/systemd-udevd.8 man/systemd-udevd.service.8 keymap libgudev-1.0.la
  CC       src/libsystemd-daemon/libsystemd_daemon_la-sd-daemon.lo
  CC       src/udev/udevadm.o
  CC       src/udev/udevadm-info.o
  CC       src/udev/udevadm-control.o
  CC       src/udev/udevadm-monitor.o
  CC       src/udev/udevadm-hwdb.o
  CC       src/udev/udevadm-settle.o
  CC       src/udev/udevadm-trigger.o
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udevadm-info.c:32:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udevadm-trigger.c:34:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udevadm-control.c:28:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udevadm.c:26:
./src/shared/util.h: In function ‘safe_atolu’:
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udevadm-settle.c:37:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
In file included from src/udev/udevadm-hwdb.c:25:0:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udevadm-monitor.c:35:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
  CC       src/udev/udevadm-test.o
  CC       src/udev/udevadm-test-builtin.o
  CC       src/libudev/libudev_la-libudev.lo
  CC       src/libudev/libudev_la-libudev-list.lo
  CC       src/libudev/libudev_la-libudev-util.lo
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udevadm-test-builtin.c:35:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
  CC       src/libudev/libudev_la-libudev-device.lo
  CC       src/libudev/libudev_la-libudev-enumerate.lo
  CC       src/libudev/libudev_la-libudev-monitor.lo
  CC       src/libudev/libudev_la-libudev-queue.lo
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udevadm-test.c:32:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
  CC       src/libudev/libudev_la-libudev-hwdb.lo
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev.c:31:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-list.c:28:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-enumerate.c:33:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-queue.c:33:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
make: `man/udev.7' is up to date.
make: `man/udevadm.8' is up to date.
make: Nothing to be done for `man/systemd-udevd.8'.
make: `man/systemd-udevd.service.8' is up to date.
  CC       src/udev/udevd.o
  CC       src/udev/libudev_core_la-udev-event.lo
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-monitor.c:36:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-hwdb.c:31:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/udev/libudev_core_la-udev-watch.lo
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-util.c:36:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-device.c:37:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udevd.c:47:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
  CC       src/udev/libudev_core_la-udev-node.lo
  CC       src/udev/libudev_core_la-udev-rules.lo
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-event.c:37:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/udev/libudev_core_la-udev-ctrl.lo
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-watch.c:31:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/udev/libudev_core_la-udev-builtin.lo
  CC       src/udev/libudev_core_la-udev-builtin-btrfs.lo
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-node.c:32:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-rules.c:32:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-ctrl.c:23:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/udev/libudev_core_la-udev-builtin-firmware.lo
  CC       src/udev/libudev_core_la-udev-builtin-hwdb.lo
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-builtin.c:28:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-builtin-btrfs.c:28:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/udev/libudev_core_la-udev-builtin-input_id.lo
  CC       src/udev/libudev_core_la-udev-builtin-net_id.lo
  CC       src/udev/libudev_core_la-udev-builtin-path_id.lo
  CC       src/udev/libudev_core_la-udev-builtin-usb_id.lo
  CC       src/libsystemd-daemon/libudev_core_la-sd-daemon.lo
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-builtin-firmware.c:28:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-builtin-hwdb.c:28:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-builtin-input_id.c:31:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
src/udev/udev-builtin-input_id.c: At top level:
src/udev/udev-builtin-input_id.c:41:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas]
src/udev/udev-builtin-input_id.c:91:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas]
  CC       src/udev/libudev_core_la-udev-builtin-kmod.lo
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-builtin-path_id.c:33:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/udev/libudev_core_la-udev-builtin-blkid.lo
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-builtin-net_id.c:91:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
src/udev/udev-builtin-net_id.c: In function 'dev_pci_onboard':
src/udev/udev-builtin-net_id.c:117:21: warning: declaration of 'index' shadows a global declaration [-Wshadow]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-builtin-usb_id.c:32:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/udev/libudev_core_la-udev-builtin-uaccess.lo
  CC       src/login/libudev_core_la-logind-acl.lo
  CC       src/login/libudev_core_la-sd-login.lo
  CC       src/libudev/libudev_private_la-libudev.lo
  CC       src/libudev/libudev_private_la-libudev-list.lo
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-builtin-kmod.c:32:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-builtin-uaccess.c:35:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/libudev/libudev_private_la-libudev-util.lo
  CC       src/libudev/libudev_private_la-libudev-device.lo
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/udev.h:27,
                 from src/udev/udev-builtin-blkid.c:32:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/login/logind-acl.c:29:0:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/login/sd-login.c:27:0:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev.c:31:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-list.c:28:
./src/shared/util.h: In function 'safe_atolu':  CC       src/libudev/libudev_private_la-libudev-enumerate.lo

./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/libudev/libudev_private_la-libudev-monitor.lo
  CC       src/libudev/libudev_private_la-libudev-queue.lo
  CC       src/libudev/libudev_private_la-libudev-hwdb.lo
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-util.c:36:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-device.c:37:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/libudev/libudev_private_la-libudev-device-private.lo
  CC       src/libudev/libudev_private_la-libudev-queue-private.lo
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-enumerate.c:33:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-monitor.c:36:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-queue.c:33:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-hwdb.c:31:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/util.lo
  CC       src/shared/virt.lo
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-device-private.c:31:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/libudev/libudev-private.h:30:0,
                 from src/libudev/libudev-queue-private.c:61:
./src/shared/util.h: In function 'safe_atolu':
./src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/path-util.lo
  CC       src/shared/time-util.lo
  CC       src/shared/hashmap.lo
  CC       src/shared/set.lo
  CC       src/shared/fdset.lo
In file included from src/shared/virt.c:26:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/strv.lo
In file included from src/shared/time-util.c:25:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/strbuf.lo
In file included from src/shared/hashmap.c:27:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/shared/fdset.c:28:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/conf-parser.lo
In file included from src/shared/path-util.c:34:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/shared/util.c:64:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/log.lo
In file included from src/shared/strv.c:28:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/shared/strbuf.c:25:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/ratelimit.lo
  CC       src/shared/exit-status.lo
  CC       src/shared/utf8.lo
In file included from src/shared/conf-parser.c:29:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/pager.lo
In file included from src/shared/log.c:33:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
src/shared/log.c: At top level:
src/shared/log.c:691:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas]
src/shared/log.c:704:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas]
In file included from src/shared/ratelimit.h:24:0,
                 from src/shared/ratelimit.c:24:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/socket-util.lo
  CC       src/shared/conf-files.lo
  CC       src/shared/cgroup-util.lo
  CC       src/shared/cgroup-show.lo
In file included from src/shared/pager.c:30:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/unit-name.lo
  CC       src/shared/utmp-wtmp.lo
In file included from src/shared/socket-util.c:36:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/shared/conf-files.c:32:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/shared/cgroup-show.c:27:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/shared/def.h:24:0,
                 from src/shared/cgroup-util.h:29,
                 from src/shared/cgroup-util.c:32:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/watchdog.lo
  CC       src/shared/spawn-ask-password-agent.lo
In file included from src/shared/unit-name.c:27:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/shared/utmp-wtmp.h:24:0,
                 from src/shared/utmp-wtmp.c:33:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/specifier.lo
  CC       src/shared/replace-var.lo
In file included from src/shared/watchdog.h:24:0,
                 from src/shared/watchdog.c:28:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/shared/spawn-ask-password-agent.c:31:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/spawn-polkit-agent.lo
  CC       src/shared/hwclock.lo
  CC       src/shared/time-dst.lo
  CC       src/shared/calendarspec.lo
In file included from src/shared/specifier.c:25:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CCLD     libsystemd-daemon.la
In file included from src/shared/replace-var.c:25:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/libsystemd_label_la-cgroup-label.lo
  CC       src/shared/libsystemd_label_la-socket-label.lo
In file included from src/shared/spawn-polkit-agent.c:33:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/shared/hwclock.c:40:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/shared/calendarspec.h:28:0,
                 from src/shared/calendarspec.c:25:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/libsystemd_label_la-label.lo
  CC       src/shared/libsystemd_label_la-selinux-util.lo
  CC       src/shared/libsystemd_label_la-mkdir.lo
  CC       src/shared/libsystemd_label_la-ask-password-api.lo
In file included from src/shared/def.h:24:0,
                 from src/shared/cgroup-util.h:29,
                 from src/shared/cgroup-label.c:32:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from src/shared/socket-label.c:36:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/shared/libsystemd_label_la-dev-setup.lo
make: `libsystemd-daemon.la' is up to date.
  CC       src/shared/libsystemd_acl_la-acl-util.lo
  CC       src/udev/ata_id/ata_id.o
In file included from src/shared/label.c:30:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/udev/cdrom_id/cdrom_id.o
In file included from src/shared/mkdir.c:31:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/udev/collect/collect.o
In file included from src/shared/ask-password-api.c:34:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/collect/collect.c:35:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
  CC       src/udev/scsi_id/scsi_id.o
In file included from src/shared/dev-setup.c:32:0:
src/shared/util.h: In function 'safe_atolu':
src/shared/util.h:136:9: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration]
  CC       src/udev/scsi_id/scsi_serial.o
  CC       src/udev/v4l_id/v4l_id.o
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/scsi_id/scsi_id.c:33:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/cdrom_id/cdrom_id.c:42:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/ata_id/ata_id.c:45:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/scsi_id/scsi_serial.c:38:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
  CC       src/udev/accelerometer/accelerometer.o
  CC       src/udev/mtd_probe/mtd_probe-mtd_probe.o
  CC       src/udev/mtd_probe/mtd_probe-probe_smartmedia.o
  CC       src/udev/keymap/keymap-keymap.o
  CC       src/gudev/libgudev_1_0_la-gudevclient.lo
In file included from ./src/libudev/libudev-private.h:30:0,
                 from src/udev/accelerometer/accelerometer.c:61:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
  CC       src/gudev/libgudev_1_0_la-gudevdevice.lo
  CC       src/gudev/libgudev_1_0_la-gudevenumerator.lo
In file included from src/udev/keymap/keymap.c:44:0:
./src/shared/util.h: In function ‘safe_atolu’:
./src/shared/util.h:136:9: warning: implicit declaration of function ‘_Static_assert’ [-Wimplicit-function-declaration]
  CC       src/gudev/libgudev_1_0_la-gudevmarshal.lo
  CC       src/gudev/libgudev_1_0_la-gudevenumtypes.lo
  CCLD     libsystemd-label.la
  CCLD     libsystemd-acl.la
  CCLD     mtd_probe
  CCLD     libsystemd-shared.la
  CCLD     libudev-private.la
  CCLD     libudev.la
  CCLD     keymap
  CCLD     libudev-core.la
  CCLD     ata_id
  CCLD     collect
  CCLD     scsi_id
  CCLD     cdrom_id
  CCLD     v4l_id
  CCLD     accelerometer
  CCLD     libgudev-1.0.la
copying selected object files to avoid basename conflicts...
  CCLD     systemd-udevd
  CCLD     udevadm
./.libs/libudev-core.a(util.o): In function `parse_uid':
util.c:(.text.parse_uid+0x2e): undefined reference to `_Static_assert'
collect2: ld returned 1 exit status
make: *** [systemd-udevd] Error 1
make: *** Waiting for unfinished jobs....
./.libs/libudev-core.a(util.o): In function `parse_uid':
util.c:(.text.parse_uid+0x2e): undefined reference to `_Static_assert'
collect2: ld returned 1 exit status
make: *** [udevadm] Error 1
 * ERROR: sys-fs/udev-197-r1 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-fs/udev-197-r1'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/udev-197-r1'`.
 * The complete build log is located at '/var/log/portage/sys-fs:udev-197-r1:20130115-060506.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-fs/udev-197-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-197-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-fs/udev-197-r1/work/systemd-197'
 * S: '/var/tmp/portage/sys-fs/udev-197-r1/work/systemd-197'


Any ideas?
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Who will save us from pulseaudio and systemd?


Last edited by Holysword on Tue Jan 15, 2013 7:36 am; edited 1 time in total
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Tue Jan 15, 2013 7:00 am    Post subject: Reply with quote

Older versions than gcc-4.6 are not compatible with glibc-2.16. Sounds like perfect time to upgrade the gcc to at least 4.6. While udev might get a workaround for this issue, you will eventually hit it with other packages too.

http://bugs.gentoo.org/451110
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 808
Location: Greece

PostPosted: Tue Jan 15, 2013 7:36 am    Post subject: Reply with quote

ssuominen wrote:
Older versions than gcc-4.6 are not compatible with glibc-2.16. Sounds like perfect time to upgrade the gcc to at least 4.6. While udev might get a workaround for this issue, you will eventually hit it with other packages too.

http://bugs.gentoo.org/451110

Silly me for not finding the bug report...

I got gcc 4.6.3 but for some reason it was set to use gcc-4.5. Switching to gcc-4.6 solves the problem. Thank you!
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Who will save us from pulseaudio and systemd?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum