Gentoo Archives: gentoo-user

From: waltdnes@××××××××.org
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Anybody got a Gentoo system working under uclibc?
Date: Thu, 28 Apr 2016 03:16:56
Message-Id: 20160428031648.GA5150@waltdnes.org
In Reply to: Re: [gentoo-user] Anybody got a Gentoo system working under uclibc? by Corbin
1 On Wed, Apr 27, 2016 at 07:30:12PM -0500, Corbin wrote
2 >
3 >
4 >
5 > Your Welcome.
6 >
7 > Link for "evdev" : https://en.wikipedia.org/wiki/Evdev
8 >
9 > The default kernel config has "evdev" built into the kernel.
10 >
11 > On my desktop, Nvidia drivers do look for and use "evdev" without
12 > Wayland support in Xorg. ( XFCE )
13 >
14 > This might be pedantic ...
15 > ... add "sse sse2 sse3 ssse3 mmx acpi -mmxext" to your USE flags in
16 > "make.conf" ( if not already present. ) Some packages look for those
17 > flags in strange ways.
18 >
19 > Using a one-problem-at-a-time approach ...
20 >
21 > < Proposed Test / Xorg Fix >
22 > ... adding "libinput" to the USE flags in your "make.conf".
23 > ... setting INPUT_DEVICES="evdev" in "make.conf".
24 >
25 > Desktops that should work with "libinput/evdev" ONLY are QT4, QT5, XFCE.
26 > XFCE provides its own keyboard library and config applets/plugins. Don't
27 > know about QT4 / QT5.
28 >
29 > If you have not already done this ... might want to set
30 > VIDEO_CARDS="fbdev vesa" or just "fbdev" to save compile time.
31 >
32 > This is getting very interesting.
33 > Please let us know how this works out :)
34
35 It's not the cpu flags. I have an identical glibc-based VM where the
36 drivers build just fine. Also, this is a code problem... both with and
37 without "evdev"...
38
39 > libtool: compile: i686-gentoo-linux-uclibc-gcc -std=gnu99 -DHAVE_CONFIG_H -I.
40 > -I/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src
41 > -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1
42 > -I/usr/include/X11/dri -I/usr/include/libdrm -Wall -Wpointer-arith
43 > -Wmissing-declarations -Wformat=2 -Wstrict-prototypes
44 > -Wmissing-prototypes -Wnested-externs -Wbad-function-cast
45 > -Wold-style-definition -Wdeclaration-after-statement -Wunused
46 > -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute
47 > -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull
48 > -Werror=init-self -Werror=main -Werror=missing-braces
49 > -Werror=sequence-point -Werror=return-type -Werror=trigraphs
50 > -Werror=array-bounds -Werror=write-strings -Werror=address
51 > -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
52 > -fno-strict-aliasing -O2 -march=native -mfpmath=sse -fomit-frame-pointer
53 > -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables -c
54 > /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/at_scancode.c
55 > -fPIC -DPIC -o .libs/at_scancode.o
56 > /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/lnx_kbd.c:
57 > In function 'OpenKeyboard':
58 > /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/lnx_kbd.c:194:8:
59 > error: implicit declaration of function 'getpgid'
60 > [-Werror=implicit-function-declaration]
61 > rc = tcsetpgrp(pInfo->fd, getpgid(0));
62 > ^
63 > /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/lnx_kbd.c:194:8:
64 > warning: nested extern declaration of 'getpgid' [-Wnested-externs]
65
66 --
67 Walter Dnes <waltdnes@××××××××.org>
68 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] Anybody got a Gentoo system working under uclibc? Corbin <corbinbird@×××××××.net>