2022-06-27

slitaz-41 -- slim-cmake-lpthreads


slitaz-41 -- slim-cmake-lpthreads 

Building error using cmake: cannot find -lpthreads

Hint: search for the actual error message

The one for "-lpthreads" just accidentally happened to be the last one in the log...


Solution: go through the log from the top, identify the section with the configure checks, find the last configure check prior to the point, where CMake identifies failure and dumps its logs. You might also try so search for the text "Configuring incomplete, errors occurred!"



I fight with slim :/.

Issue with cmake build :

-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for one of the modules 'fontconfig'
CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
None of the required 'fontconfig' found
Call Stack (most recent call first):
cmake/modules/FONTCONFIGConfig.cmake:18 (pkg_search_module)
CMakeLists.txt:108 (find_package)

FontConfig Found
PAM disabled
ConsoleKit disabled
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring incomplete, errors occurred!

Run Build Command(s):/usr/bin/make -f Makefile cmTC_88b6c/fast && /usr/bin/make -f CMakeFiles/cmTC_88b6c.dir/build.make CMakeFiles/cmTC_88b6c.dir/build
make[1]: Entering directory '/home/slitaz/wok/slim/source/slim-1.3.6/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_88b6c.dir/CheckFunctionExists.c.o
/usr/bin/cc -march=i486 -Os -pipe -fomit-frame-pointer -Wall -g -O2 -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_88b6c.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFun
Linking C executable cmTC_88b6c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88b6c.dir/link.txt --verbose=1
/usr/bin/cc -march=i486 -Os -pipe -fomit-frame-pointer -Wall -g -O2 -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_88b6c.dir/CheckFunctionExists.c.o -o cmTC_88b6c -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_88b6c.dir/build.make:99: cmTC_88b6c] Error 1
make[1]: Leaving directory '/home/slitaz/wok/slim/source/slim-1.3.6/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:127: cmTC_88b6c/fast] Error 2


https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/5#post-50768 


Asked 
Viewed 112k times
45

I have c++ project that was smoothly running on a given machine, and now I am trying to compile it on another one with the same operating system (Xubuntu 14.04).

I've installed all the dependencies and I'am using cmake to build the project, although it stops with the following error:

Determining if the function pthread_create exists in the pthreads failed with the following output: ... /usr/bin/ld: cannot find -lpthreads



 


 


 

9 Answers

31

The problem was happening when running cmake. Though, in this case cmake was not the problem the error was silent and the -lpthreads related error/warning was the only thing being written to the cmake error log file, although that was not causing any issue. I've done a minimal version of the cmakelists.txt and started testing it line by line until I found which package was causing it to stop: finally I found it was a version mismatch...

Hint: search for the actual error message

Typically you'd look for the last error message. However, this (often useful) strategy in such cases leads astray.

What you are looking at is the CMakeCache.txt, the CMakeOutput.log or the CMakeError.logHow comes? When some of the macros or tests in the configure phase fails, CMake "helpfully" dumps these files to the output. Unfortunately, these files can be thousands of lines long, and typically contain lots of "*** Error: xyz" entries, for various configure checks. The one for "-lpthreads" just accidentally happened to be the last one in the log...

Solution: go through the log from the top, identify the section with the configure checks, find the last configure check prior to the point, where CMake identifies failure and dumps its logs. You might also try so search for the text "Configuring incomplete, errors occurred!"

Typically you'll either find a very precise actual error message there, or at least you find the name / path of the macro or function called last, and this allows you to pinpoint down what actually went wrong.

 



2022-06-23

slitaz-41 -- slim-fontconfig

 

slitaz-41 -- slim-fontconfig

 -- Configuring incomplete, errors occurred!

 -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 

-- Checking for one of the modules 'fontconfig'
CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
  None of the required 'fontconfig' found

Call Stack (most recent call first):
  cmake/modules/FONTCONFIGConfig.cmake:18 (pkg_search_module)
  CMakeLists.txt:108 (find_package)
FontConfig Found
PAM disabled
ConsoleKit disabled

-- Looking for pthread.h


-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 

-- Checking for one of the modules 'fontconfig'

FontConfig Found

PAM disabled

ConsoleKit disabled

-- Looking for pthread.h


Summary for: slim 1.3.6
===========================================================================
Source dir  : 6.2M
Src file    : slim-1.3.6.tar.gz
Src size    : 228.0K
Produced    : 2.7M
Packed      : 268.0K
Compressed  : 77.6K
Files       : 10
Cook time   : 12s
Cook date   : 2022-06-22 16:21
Host arch   : i486
===========================================================================


I'll share with you your slitaz-4.1-basedev-20220519.iso repackaged after I used it on my hard disk. It contains everything you need to compile slim.

Double check the receipts which are different from yours. I do not run patches outside of

+#install(TARGETS slimlock RUNTIME DESTINATION bin)

I rebuild the fontconfig package and install it. Then I cook libjpeg-turbo and install it. Finally I cook slim and everything runs without errors.

https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/7#post-50851

Slitaz-41 - slim

 

Configuring incomplete, errors occurred!

I fight with slim :/.

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring incomplete, errors occurred!

cmake-3.22 or cmake-3.19.5

-- Checking for one of the modules 'fontconfig'
CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
None of the required 'fontconfig' found

Building C object CMakeFiles/cmTC_88b6c.dir/CheckFunctionExists.c.o
/usr/bin/cc -march=i486 -Os -pipe -fomit-frame-pointer -Wall -g -O2 -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_88b6c.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFun

QA: Unable to reach: http://slim.berlios.de
sh: bad number
Checking build dependencies...
Installing dep (pkg/local): cmake-3.19.5.tazpkg


 https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/6#post-50782

2022-06-16

slitaz-41 - documentation

 

Documentation





tux@slitaz:~$ ls /usr/share/doc/cookutils/
cookopts.txt cookutils.fr.html cookutils.pt.html cross.txt
cookutils.en.html cookutils.html cookutils.ru.html README

$ cat /usr/share/doc/cookutils/README

https://hg.slitaz.org/cookutils/file/00665abb42f1/README

SliTaz Cookbook
https://doc.slitaz.org/en:cookbook:start


https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/6?replies=84#post-50804 

slitaz-41 - pango - gcc-float128

 unexpected identifier in ' __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));' at '__float128'

[71/146] Generating Pango-1.0.gir with a custom command
/usr/lib/gcc/i486-slitaz-linux/10.2.0/include/stddef.h:424: syntax error, unexpected identifier in ' __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));' at '__float128'
ninja: build stopped: subcommand failed.

Try:
https://cook.slitaz.org/next/pango/log/#l77

Executing: compile_rules
CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk
CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk
CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1
LDFLAGS : -Wl,-Os,--as-needed

https://cook.slitaz.org/next/pango/log/#l558

[91/124] Generating PangoXft-1.0.typelib with a custom command
[92/124] Generating PangoCairo-1.0.gir with a custom command
/usr/lib/gcc/i486-slitaz-linux/8.2.0/include/stddef.h:435: syntax error, unexpected identifier in ' __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));' at '__float128'
../pango/pangocairo.h:42: Warning: PangoCairo: symbol='PANGO_IS_CAIRO_FONT': Skipping foreign symbol from namespace Pango
../pango/pangocairo.h:56: Warning: PangoCairo: symbol='PANGO_IS_CAIRO_FONT_MAP': Skipping foreign symbol from namespace

https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/6?replies=84#post-50803 

slitaz-41- gcc - fixincludes

 

gcc - fixincludes

I begin check and maybe issue about autoconf, but it's very strange.
with glibc-2.30 no problem, with glibc >, failed systematically :/
I bump autoconf to 2.71 (same as LFS 10.1), but error again.
The main error seem about "two or more data types in declaration specifiers",
seem https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94089 good trace
https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/3?replies=84#post-50701 

In case no problem in glibc compilation, it's after glibc compiled
binutils "first pass" ok
gcc first pass ok
glibc (locale,extra-samba,base,dev) ok
binutils "second pass" failed
gcc second pass failed 'due of binutils previous failed'
But with glibc-2.30 all step work.

seem https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94089 good trace

Try:

Comment 1

If you use a gcc with a different glibc, you need to rerun fixincludes. Fixincludes is installed too.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94089#c1

or


# Do not run fixincludes

sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gcc10#n43


https://forum.slitaz.org/topic/slitaz-development-strategy-direction/page/3?replies=84#post-50704

 

2021-12-05

m3400 - btop

 

btop

Resource monitor that shows usage and stats for processor, memory, disks, network and processes.




----

Features

  • Easy to use, with a game inspired menu system.

  • Full mouse support, all buttons with a highlighted key is clickable and mouse scroll works in process list and menu boxes.

  • Fast and responsive UI with UP, DOWN keys process selection.

  • Function for showing detailed stats for selected process.

  • Ability to filter processes.

  • Easy switching between sorting options.

  • Tree view of processes.

  • Send any signal to selected process.

  • UI menu for changing all config file options.

  • Auto scaling graph for network usage.

  • Shows IO activity and speeds for disks

  • Battery meter

  • Selectable symbols for the graphs

  • Custom presets

  • And more... 

Screenshots

Main UI in TTY mode 


Main UI with custom options

https://github.com/aristocratos/btop



https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50370

2021-11-28

m3400 - MX-21_ahs - X.Org 1.20.13 / Mesa 21.2.5

 

MX-21_ahs - X.Org 1.20.13 / Mesa 21.2.5

 

Graphics:
Device-1: AMD Cezanne driver: amdgpu v: kernel
Device-2: IMC Networks type: USB driver: uvcvideo
Display: server: X.Org 1.19.3 driver: loaded: amdgpu
unloaded: fbdev,modesetting,vesa resolution: 2880x1800~90Hz
OpenGL: renderer: llvmpipe (LLVM 5.0 128 bits) v: 3.3 Mesa 17.2.4

Quick System Info


System:    Host: <filter> Kernel: 5.14.0-4mx-amd64 x86_64 bits: 64 compiler: N/A
           parameters: BOOT_IMAGE=/antiX/vmlinuz bdev=nvme0n1p7 bdir=antiX from=hd
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0
           Distro: MX-21_ahs_x64 Wildflower November 22  2021
           base: Debian GNU/Linux 11 (bullseye)
Machine:   Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop M3400QA_M3400QA v: 1.0
           serial: <filter>
           Mobo: ASUSTeK model: M3400QA v: 1.0 serial: <filter> UEFI: American Megatrends LLC.
           v: M3400QA.301 date: 04/06/2021
Battery:   ID-1: BAT0 charge: 15.5 Wh condition: 44.4/50.0 Wh (89%) volts: 11.9/11.9
           model: ASUSTeK ASUS Battery type: Li-ion serial: <filter> status: Discharging
           cycles: 102
CPU:       Topology: 8-Core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP
           arch: N/A family: 19 (25) model-id: 50 (80) stepping: N/A microcode: A50000C
           L1 cache: 512 KiB L2 cache: 4096 KiB L3 cache: 15.6 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
           bogomips: 102210
           Speed: 1135 MHz min/max: 1200/3200 MHz boost: enabled Core speeds (MHz): 1: 1852
           2: 1443 3: 1197 4: 1197 5: 1197 6: 1197 7: 1871 8: 1385 9: 1296 10: 1297 11: 1297
           12: 1297 13: 1297 14: 1297 15: 1135 16: 1134
           Vulnerabilities: Type: itlb_multihit status: Not affected
           Type: l1tf status: Not affected
           Type: mds status: Not affected
           Type: meltdown status: Not affected
           Type: spec_store_bypass
           mitigation: Speculative Store Bypass disabled via prctl and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP:
           always-on, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: AMD Cezanne vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 03:00.0
           chip ID: 1002:1638
           Display: x11 server: X.Org 1.20.13 driver: amdgpu,ati
           unloaded: fbdev,modesetting,vesa resolution: 1920x1200~90Hz
           OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.14.0-4mx-amd64 LLVM 12.0.1)
           v: 4.6 Mesa 21.2.5 direct render: Yes
Audio:     Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel v: kernel
           bus ID: 03:00.1 chip ID: 1002:1637
           Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: ASUSTeK
           driver: N/A bus ID: 03:00.5 chip ID: 1022:15e2
           Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
           bus ID: 03:00.6 chip ID: 1022:15e3
           Sound Server: ALSA v: k5.14.0-4mx-amd64
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus ID: 01:00.0
           chip ID: 8086:2723
           IF: wlan0 state: up mac: <filter>
Drives:    Local Storage: total: 505.83 GiB used: 31.06 GiB (6.1%)
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GD3JX013N size: 476.94 GiB
           block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter>
           rev: 41000C20 scheme: GPT
           ID-2: /dev/sda type: USB vendor: Transcend model: TS-RDF5 SD Transcend
           size: 28.89 GiB block size: physical: 512 B logical: 512 B serial: <filter> rev: TS33
           scheme: GPT
Partition: ID-1: / raw size: N/A size: 11.95 GiB used: 495.2 MiB (4.0%) fs: overlay
           source: ERR-102
Sensors:   System Temperatures: cpu: 51.0 C mobo: N/A gpu: amdgpu temp: 42 C
           Fan Speeds (RPM): cpu: 0
Repos:     No active apt repos in: /etc/apt/sources.list
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list
           1: deb http://mxrepo.com/mx/repo/ bullseye main non-free
           2: deb http://mxrepo.com/mx/repo/ bullseye ahs
Info:      Processes: 338 Uptime: 29m Memory: 15.05 GiB used: 1.79 GiB (11.9%) Init: SysVinit
           v: 2.96 runlevel: 5 default: 5 Compilers: gcc: 10.2.1 alt: 10 Shell: quick-system-in
           running in: quick-system-in inxi: 3.0.36

Report copied to system clipboard
Report is already formatted for forum.
Paste directly into forum post. 
 

https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50363 

2021-09-13

m3400 - slitaz-x86_64-UEFI


slitaz-x86_64-UEFI

+++ System Info
System         = ASUSTeK COMPUTER INC. 1.0        VivoBook_ASUSLaptop M3400QA_M3400QA
BIOS           = M3400QA.301
Release        = "SliTaz GNU/Linux"
Kernel         = 5.4.41-slitaz #1 SMP Sat Aug 29 08:07:49 CST 2020 x86_64
/proc/cmdline  = BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin
Init system    = sysvinit
Boot mode      = UEFI
Kernel command line: BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin

tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin

tux@slitaz:~$ ls /sys/firmware/efi
config_table esrt fw_vendor runtime-map vars
efivars fw_platform_size runtime systab

tux@slitaz:~$ cat /sys/firmware/efi/fw_vendor
0xcd13cf18


https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50275


 

m3400 - X11 Forwarding for Desktop over SSH

 

X11 Forwarding for Desktop over SSH

Type the command below, which will activate xinit in virtual terminal 8. Note that you will be automatically switched to virtual terminal 8. You can switch back to the original virtual terminal 7 by pressing Ctrl+Alt+F7.

# xinit -- :1 &

After switching to virtual terminal 8, execute the following command to launch the RPi desktop remotely. Type pi user password when asked (see picture below).

# DISPLAY=:1 ssh -X pi@192.168.2.5 lxsession

You will bring to your new virtual terminal 8 the remote RPi desktop, as well as a small terminal launched from your active virtual terminal 7 (see picture below).

Remember, do not close that terminal. Otherwise, your RPi desktop will close immediately.

You can move between first and second virtual terminals by pressing Ctrl+Alt+F7 or Ctrl+Alt+F8.

https://www.xmodulo.com/remote-control-raspberry-pi.html

virtual terminal 7 - vt7

root@slitaz:~# xinit -- :1 &
root@slitaz:~#

X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: SliTaz GNU/Linux
Current Operating System: Linux slitaz 5.4.41-slitaz #1 SMP Sat Aug 29 08:07:49 CST 2020 x86_64
Kernel command line: BOOT_IMAGE=/efi/boot/vmlinuz-5.4.41-slitaz root=/dev/null autologin
Build Date: 15 March 2018 04:57:16PM

Current version of pixman: 0.34.0
Before reporting problems, check http://www.slitaz.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.1.log", Time: Sat Sep 4 11:54:59 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"


root@slitaz:~# ps ax | grep -B 1 -A 5 Xorg

 2636 ?        Ss     0:00 /usr/bin/slim -d
 2642 tty7     Ssl+   1:09 /usr/libexec/Xorg -auth /var/run/slim.auth vt07
 2657 ?        Sl     0:04 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX
 2695 ?        S      0:00 dbus-launch --sh-syntax --exit-with-session openbox-session
 2696 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 8 --session
 2709 ?        Sl     0:00 /usr/libexec/gvfsd
 2714 ?        Sl     0:00 /usr/libexec/gvfsd-fuse /home/tux/.gvfs -f -o big_writes
--
 4364 pts/0    S      0:00 xinit -- :1
 4366 tty8     S<sl+   0:00 /usr/libexec/Xorg :1
 4380 pts/0    S      0:00 xterm -geometry +1+1 -n login
 4381 pts/1    Ss     0:00 sh
 4383 ?        I      0:00 [kworker/3:2-events]
 4384 pts/1    S+     0:01 ssh -Y tux@192.168.0.192 openbox-session
 4389 ?        I      0:00 [kworker/4:0-events]
 4396 pts/0    R+     0:00 ps ax
 4398 pts/0    S+     0:00 grep -B 1 -A 5 Xorg
root@slitaz:~# 




virtual terminal 8 - vt8

login - xterm
root@slitaz:~# DISPLAY=:1 ssh -Y tux@192.168.0.192 openbox-session

Secure login on SliTaz GNU/Linux powered by Dropbear SSH server.
tux@192.168.0.192's password:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Obt-Message: Failed to open an Input Method
DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-AbPhdIjHlc,guid=b322887fba9877e40478d99861333d77';
export DBUS_SESSION_BUS_ADDRESS;
DBUS_SESSION_BUS_PID=6567;
DBUS_SESSION_BUS_WINDOWID=8388609;

(pcmanfm:6548): GLib-CRITICAL **: g_file_test: assertion 'filename != NULL' failed

(pcmanfm:6548): GLib-CRITICAL **: g_file_test: assertion 'filename != NULL' failed

(pcmanfm:6548): GLib-CRITICAL **: g_file_test: assertion 'filename != NULL' failed

SliTaz x86_64 - sakura
~ $ lxpanel -p slitaz &

~ $
(lxpanel:6669): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

(lxpanel:6669): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE

~ $ echo $DISPLAY
localhost:10.0

~ $ env | egrep 'SSH|DIS'
SSH_CLIENT=192.168.0.191 59020 22
DISPLAY=localhost:10.0
SSH_CONNECTION=192.168.0.191 59020 192.168.0.192 22
~ $




https://forum.slitaz.org/topic/slitaz-x86_64-asus-m3400qa/page/2#post-50274


2021-09-11

slitaz -adb


slitaz -adb

slitaz-4.0.iso 34.7M

http://research.cs.wisc.edu/wings/projects/wisense/downloads/adb_tools_linux.tar.gz

check-list:
1.
tux@slitaz:~$ uname -a
Linux slitaz 2.6.37-slitaz #2 SMP Wed Mar 7 10:36:39 CET 2012 i686 GNU/Linux

2.
tux@slitaz:~$ tar -xzf adb_tools_linux.tar.gz

tux@slitaz:~$ ls -l platform-tools/adb
-rwxrwxr-x 1 tux users 1226659 Jun 14 2013

tux@slitaz:~$ platform-tools/adb version
Android Debug Bridge version 1.0.31

3.
tux@slitaz:~$ ldd platform-tools/adb

platform-tools/adb:
linux-gate.so.1 => (0xffffe000)
librt.so.1 => /lib/librt.so.1 (0xb7734000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7701000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb76e9000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb761d000)
libm.so.6 => /lib/libm.so.6 (0xb75f6000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb75df000)
libc.so.6 => /lib/libc.so.6 (0xb749b000)
libdl.so.2 => /lib/libdl.so.2 (0xb7497000)
/lib/ld-linux.so.2 => /lib/ld-2.13.so (0xb773d000)

4.
tux@slitaz:~$ sudo tazpkg get-install file

tux@slitaz:~$ file platform-tools/adb

platform-tools/adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped 


https://forum.slitaz.org/topic/android-adb-tool-does-not-want-to-work-on-slitaz-40#post-50272