LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-06-2019, 12:36 AM   #1
mrapathy
Member
 
Registered: Nov 2005
Distribution: slackware
Posts: 237

Rep: Reputation: 48
[solved]slackbuild error android tools


trying to build android tools from slackbuilds.org

its pre requisites are gtest, pcre2, ninja
all installed fine except for the android tools

Code:
-- Build files have been written to: /tmp/SBo/android-tools/boringssl/build
[456/456] Linking CXX executable ssl/ssl_test
[46/143] clang++ -std=gnu++14   -D_GNU_SOUR...inux.cpp -o core/adb/client/usb_linux.cpp.o
FAILED: core/adb/client/usb_linux.cpp.o 
clang++ -std=gnu++14   -D_GNU_SOURCE -DADB_HOST=1 -Icore/include -Icore/base/include -Icore/adb -c core/adb/client/usb_linux.cpp -o core/adb/client/usb_linux.cpp.o
core/adb/client/usb_linux.cpp:274:38: error: use of undeclared identifier 'major'
                                     major(st.st_rdev), minor(st.st_rdev));
                                     ^
core/adb/client/usb_linux.cpp:274:57: error: use of undeclared identifier 'minor'
                                     major(st.st_rdev), minor(st.st_rdev));
                                                        ^
2 errors generated.
[55/143] clang++ -std=gnu++14   -D_GNU_SOUR...usb.cpp -o core/adb/client/usb_libusb.cpp.o
ninja: build stopped: subcommand failed.
I am using slackware current from 3/5/19 which has run fine since I installed it.

system is also multilib from alien bobs current

Last edited by mrapathy; 07-14-2019 at 04:04 AM. Reason: solution found
 
Old 07-06-2019, 06:24 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,983

Rep: Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234Reputation: 1234
You are using 2 settings that are not officially supported by SBo
1. Current
2. Multilib

I would suggest to write a report in this thread.
 
Old 07-06-2019, 06:52 AM   #3
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,840

Rep: Reputation: Disabled
...and before reporting on the topic Willy linked, read carefully the first post of that thread.
 
Old 07-14-2019, 04:03 AM   #4
mrapathy
Member
 
Registered: Nov 2005
Distribution: slackware
Posts: 237

Original Poster
Rep: Reputation: 48
For anyone with multi lib and current who wants android tools installed
Ponce and Philip van der Hoeven helped me find these files which will build android tools package in current

Heres the source files
http://ponce.cc/slackware/sources/re...ols/9.0.0_r18/

heres the SBo that will build them.

https://github.com/Ponce/slackbuilds.../android-tools

these will not build on 14.2 so consider yourself warned.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sbopkg installs "original" SlackBuild to /usr/doc/<pkg>/ instead of "local" SlackBuild drumz Slackware 29 01-20-2018 12:12 AM
[Patch and SlackBuild] Grub-2.02~beta2 SlackBuild and Patch. ReaperX7 Slackware 3 01-28-2015 09:30 AM
LXer: The Android SDK: Top tools for effective Android app development LXer Syndicated Linux News 0 10-30-2012 12:01 AM
LXer: The Android SDK: Top tools for effective Android app development LXer Syndicated Linux News 0 10-29-2012 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration