1. pip-install.org 접속

   - 왼쪽 메뉴의 Installation 클릭

   - 설명된 것처럼 아래와 같이 get-pip.py 다운로드

      curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

    - python 이용하여 install

      python get-pip.py

2. pip 테스트

   -  pip 입력하면 help 메세지가 출력된다.

android에서 MAC 강제 셋팅하는 두가지 방법


ip link show eth0

ip link set eth0 address 11:22:33:44:55:55




ifconfig eth0 down

ifconfig eth0 hw ether 11:22:33:44:55:66

ifconfig eth0 up


** ifconfig 설정이 안먹히는 경우가 있다.

** busybox 가 있다면 ifconfig -> busybox ifconfig 로 사용하길 바란다.




Install kate in Ubuntu 16.04


sudo apt update
sudo apt install kate


  Ubuntu 에서 VMs 설치하기



bumnux@cls5:~/Vmware$ wget https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle
--2018-04-12 16:02:09--  https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle
Resolving download3.vmware.com (download3.vmware.com)... 23.212.12.47, 2600:1417:e:286::2ef, 2600:1417:e:288::2ef
접속 download3.vmware.com (download3.vmware.com)|23.212.12.47|:443... 접속됨.
HTTP request sent, awaiting response... 200 OK
Length: 458534208 (437M) [application/x-octet-stream]
Saving to: ‘VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle’

100%[=============================================================================================================================>] 458,534,208 4.15MB/s   in 97s   

2018-04-12 16:03:46 (4.52 MB/s) - ‘VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle’ saved [458534208/458534208]

bumnux@cls5:~/Vmware$ ls
VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle
bumnux@cls5:~/Vmware$ chmod a+x VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle

bumnux@cls5:~/Vmware$ sudo ./VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle
[sudo] password for bumnux:
Extracting VMware Installer...done.

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: 동적 오브젝트 파일을 열 수 없습니다: 그런 파일이나 디렉터리가 없습니다
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number



이렇게 하면 VMs 설치 화면이 나온다.

VT-x is disabled in the BIOS. (VERR_VMX_MSR_VMXON_DISABLED).


위와 같은 에러가 날 때 Virtualbox > 설정 > 시스템 > 가속 > 하드웨어 가상화 > VT-x 해제 > Virtualbox 종료 > Virtualbox 시작


하면 에러 없이 Virtualbox 를 다시 시작할 수 있다.

gstreamer 이용한 mp3 play


gst-play-1.0 playbin /home/root/wav/rain.mp3


daemon 으로 동작하는 방법은 아직 모르겠다.

/etc/hostname 에 다음을 추가한다.

127.0.0.1  bumnux


// apache restart

# sudo service apache2 restart


그리고나서 web server 에 http로 접속해 보면 접속이 될 것이다.

git 에 변경된 내용 merge 하기


git add <파일 이름>



git commit -m "이번 확정본에 대한 설명"



git push origin master


#sudo apt-get install xinetd
#sudo apt-get install telnetd
#sudo vi /etc/xinetd.conf
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
#sudo /tec/init.d/xinetd restart


bumnux@cls5:/media/bumnux/DATA/Clabsys/SamsungVR/Minnowboard/RTL8812AU_linux_v4.3.20_16317_20160108/driver$ sudo sysv-rc-conf -h
Usage:
    sysv-rc-conf [ *options* ]

    sysv-rc-conf --list [ *service* ]

    sysv-rc-conf [ --level *levels* ] *service* <*on|off*>







external/guava/guava/src/com/google/common/reflect/Types.java:317: error: TypeVariableImpl is not abstract and does not override abstract method getAnnotatedBounds() in TypeVariable private static final class TypeVariableImpl<D extends GenericDeclaration>



index 0f05f78..be358c7 100644



--- a external/guava/guava/src/com/google/common/reflect/Types.java



+++ b external/guava/guava/src/com/google/common/reflect/Types.java



@@ -19,30 +19,36 @@
1919 import static com.google.common.base.Preconditions.checkArgument;

2020 import static com.google.common.base.Preconditions.checkNotNull;

2121 import static com.google.common.collect.Iterables.transform;

2222 

2323 import com.google.common.annotations.VisibleForTesting;

2424 import com.google.common.base.Function;

2525 import com.google.common.base.Joiner;

2626 import com.google.common.base.Objects;

2727 import com.google.common.base.Predicates;

2828 import com.google.common.collect.ImmutableList;


29+import com.google.common.collect.ImmutableMap;

2930 import com.google.common.collect.Iterables;

3031 

3132 import java.io.Serializable;

3233 import java.lang.reflect.Array;

3334 import java.lang.reflect.GenericArrayType;

3435 import java.lang.reflect.GenericDeclaration;


36+import java.lang.reflect.InvocationHandler;


37+import java.lang.reflect.InvocationTargetException;


38+import java.lang.reflect.Method;

3539 import java.lang.reflect.ParameterizedType;


40+import java.lang.reflect.Proxy;

3641 import java.lang.reflect.Type;

3742 import java.lang.reflect.TypeVariable;

3843 import java.lang.reflect.WildcardType;


44+import java.security.AccessControlException;

3945 import java.util.Arrays;

4046 import java.util.Collection;

4147 import java.util.concurrent.atomic.AtomicReference;

4248 

4349 import javax.annotation.Nullable;

4450 

4551 /**

4652  * Utilities for working with {@link Type}.

4753  *

4854  * @author Ben Yu



@@ -139,21 +145,21 @@

139145  throw new AssertionError();

140146  }

141147  }

142148 

143149  /**

144150  * Returns a new {@link TypeVariable} that belongs to {@code declaration} with

145151  * {@code name} and {@code bounds}.

146152  */

147153  static <D extends GenericDeclaration> TypeVariable<D> newArtificialTypeVariable(

148154  D declaration, String name, Type... bounds) {

149
- return new TypeVariableImpl<D>(


155+ return newTypeVariableImpl(

150156  declaration,

151157  name,

152158  (bounds.length == 0)

153159  ? new Type[] { Object.class }

154160  : bounds);

155161  }

156162 

157163  /** Returns a new {@link WildcardType} with {@code upperBound}. */

158164  @VisibleForTesting static WildcardType subtypeOf(Type upperBound) {

159165  return new WildcardTypeImpl(new Type[0], new Type[] { upperBound });



@@ -307,59 +313,135 @@

307313  ParameterizedType that = (ParameterizedType) other;

308314  return getRawType().equals(that.getRawType())

309315  && Objects.equal(getOwnerType(), that.getOwnerType())

310316  && Arrays.equals(

311317  getActualTypeArguments(), that.getActualTypeArguments());

312318  }

313319 

314320  private static final long serialVersionUID = 0;

315321  }

316322 

317
- private static final class TypeVariableImpl<D extends GenericDeclaration>

318
- implements TypeVariable<D> {


323+ private static <D extends GenericDeclaration> TypeVariable<D> newTypeVariableImpl(


324+ D genericDeclaration, String name, Type[] bounds) {


325+ TypeVariableImpl<D> typeVariableImpl =


326+ new TypeVariableImpl<D>(genericDeclaration, name, bounds);


327+ @SuppressWarnings("unchecked")


328+ TypeVariable<D> typeVariable = Reflection.newProxy(


329+ TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl));


330+ return typeVariable;


331+ }


332+


333+ /**


334+ * Invocation handler to work around a compatibility problem between Java 7 and Java 8.


335+ *


336+ * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}


337+ * interface, whose return type {@code AnnotatedType[]} is also new in Java 8. That means that we


338+ * cannot implement that interface in source code in a way that will compile on both Java 7 and


339+ * Java 8. If we include the {@code getAnnotatedBounds()} method then its return type means


340+ * it won't compile on Java 7, while if we don't include the method then the compiler will


341+ * complain that an abstract method is unimplemented. So instead we use a dynamic proxy to


342+ * get an implementation. If the method being called on the {@code TypeVariable} instance has


343+ * the same name as one of the public methods of {@link TypeVariableImpl}, the proxy calls


344+ * the same method on its instance of {@code TypeVariableImpl}. Otherwise it throws {@link


345+ * UnsupportedOperationException}; this should only apply to {@code getAnnotatedBounds()}. This


346+ * does mean that users on Java 8 who obtain an instance of {@code TypeVariable} from {@link


347+ * TypeResolver#resolveType} will not be able to call {@code getAnnotatedBounds()} on it, but that


348+ * should hopefully be rare.


349+ *


350+ * <p>This workaround should be removed at a distant future time when we no longer support Java


351+ * versions earlier than 8.


352+ */


353+ private static final class TypeVariableInvocationHandler implements InvocationHandler {


354+ private static final ImmutableMap<String, Method> typeVariableMethods;


355+ static {


356+ ImmutableMap.Builder<String, Method> builder = ImmutableMap.builder();


357+ for (Method method : TypeVariableImpl.class.getMethods()) {


358+ if (method.getDeclaringClass().equals(TypeVariableImpl.class)) {


359+ try {


360+ method.setAccessible(true);


361+ } catch (AccessControlException e) {


362+ // OK: the method is accessible to us anyway. The setAccessible call is only for


363+ // unusual execution environments where that might not be true.


364+ }


365+ builder.put(method.getName(), method);


366+ }


367+ }


368+ typeVariableMethods = builder.build();


369+ }


370+


371+ private final TypeVariableImpl<?> typeVariableImpl;


372+


373+ TypeVariableInvocationHandler(TypeVariableImpl<?> typeVariableImpl) {


374+ this.typeVariableImpl = typeVariableImpl;


375+ }


376+


377+ @Override public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {


378+ String methodName = method.getName();


379+ Method typeVariableMethod = typeVariableMethods.get(methodName);


380+ if (typeVariableMethod == null) {


381+ throw new UnsupportedOperationException(methodName);


382+ } else {


383+ try {


384+ return typeVariableMethod.invoke(typeVariableImpl, args);


385+ } catch (InvocationTargetException e) {


386+ throw e.getCause();


387+ }


388+ }


389+ }


390+ }


391+


392+ private static final class TypeVariableImpl<D extends GenericDeclaration> {

319393 

320394  private final D genericDeclaration;

321395  private final String name;

322396  private final ImmutableList<Type> bounds;

323397 

324398  TypeVariableImpl(D genericDeclaration, String name, Type[] bounds) {

325399  disallowPrimitiveType(bounds, "bound for type variable");

326400  this.genericDeclaration = checkNotNull(genericDeclaration);

327401  this.name = checkNotNull(name);

328402  this.bounds = ImmutableList.copyOf(bounds);

329403  }

330404 

331
- @Override public Type[] getBounds() {


405+ public Type[] getBounds() {

332406  return toArray(bounds);

333407  }

334408 

335
- @Override public D getGenericDeclaration() {


409+ public D getGenericDeclaration() {

336410  return genericDeclaration;

337411  }

338412 

339
- @Override public String getName() {


413+ public String getName() {


414+ return name;


415+ }


416+


417+ public String getTypeName() {

340418  return name;

341419  }

342420 

343421  @Override public String toString() {

344422  return name;

345423  }

346424 

347425  @Override public int hashCode() {

348426  return genericDeclaration.hashCode() ^ name.hashCode();

349427  }

350428 

351429  @Override public boolean equals(Object obj) {

352430  if (NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY) {

353431  // equal only to our TypeVariable implementation with identical bounds

354
- if (obj instanceof TypeVariableImpl) {

355
- TypeVariableImpl<?> that = (TypeVariableImpl<?>) obj;


432+ if (obj != null


433+ && Proxy.isProxyClass(obj.getClass())


434+ && Proxy.getInvocationHandler(obj) instanceof TypeVariableInvocationHandler) {


435+ TypeVariableInvocationHandler typeVariableInvocationHandler =


436+ (TypeVariableInvocationHandler) Proxy.getInvocationHandler(obj);


437+ TypeVariableImpl<?> that = typeVariableInvocationHandler.typeVariableImpl;

356438  return name.equals(that.getName())

357439  && genericDeclaration.equals(that.getGenericDeclaration())

358440  && bounds.equals(that.bounds);

359441  }

360442  return false;

361443  } else {

362444  // equal to any TypeVariable implementation regardless of bounds

363445  if (obj instanceof TypeVariable) {

364446  TypeVariable<?> that = (TypeVariable<?>) obj;

365447  return name.equals(that.getName())


bumnux@bumnux:~$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
--2016-09-24 23:08:36--  https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Resolving dl.google.com (dl.google.com)... 216.58.221.14, 2404:6800:4004:814::200e
접속 dl.google.com (dl.google.com)|216.58.221.14|:443... 접속됨.
HTTP request sent, awaiting response... 200 OK
Length: 50195550 (48M) [application/x-debian-package]
Saving to: ‘google-chrome-stable_current_amd64.deb’

google-chrome-stable_current_amd64.deb   100%[================================================================================>]  47.87M  50.3KB/s    in 15m 29s

2016-09-24 23:24:06 (52.7 KB/s) - ‘google-chrome-stable_current_amd64.deb’ saved [50195550/50195550]

bumnux@bumnux:~$ sudo apt-get install libxss1 libgconf2-4 libappindicator1 libindicator7
[sudo] password for bumnux:
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다      
상태 정보를 읽는 중입니다... 완료
libxss1 is already the newest version (1:1.2.2-1).
libxss1 패키지는 수동설치로 지정합니다.
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
  a11y-profile-manager account-plugin-aim account-plugin-jabber account-plugin-salut account-plugin-yahoo argyll argyll-ref dconf-editor dleyna-renderer empathy
  empathy-common fonts-cantarell geoclue-2.0 gir1.2-geocodeglib-1.0 gir1.2-gmenu-3.0 gir1.2-grilo-0.2 gir1.2-mediaart-2.0 gir1.2-rest-0.7 gir1.2-totem-1.0
  gir1.2-totem-plparser-1.0 gir1.2-tracker-1.0 gir1.2-zpj-0.0 gnome-accessibility-profiles gnome-color-manager gnome-documents gnome-logs gnome-music
  gnome-online-miners gnome-photos gnome-shell-extensions gnome-themes-standard gnome-tweak-tool gnome-weather gnustep-back-common gnustep-back0.24
  gnustep-back0.24-cairo gnustep-base-common gnustep-base-runtime gnustep-common gnustep-gui-common gnustep-gui-runtime gtk2-engines-pixbuf ibus-pinyin itstool
  kde-l10n-engb libamd2.4.1 libavahi-gobject0 libbabl-0.1-0 libblas-common libblas3 libcamd2.4.1 libccolamd2.9.1 libcholmod3.0.6 libclutter-gst-2.0-0
  libgegl-0.3-0 libgeoclue-2-0 libgfbgraph-0.2-0 libgfortran3 libgif7:i386 libgnustep-base1.24 libgnustep-gui0.24 libgsf-bin liblapack3 libleveldb1v5
  libnss-myhostname libobjc4 libopencc1 libp11-kit-gnome-keyring:i386 libpyzy-1.0-0v5 libqdjango-db0 libqgsttools-p1 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5positioning5-plugins libtelepathy-farstream3 libthumbnailer-qt1.0 libumfpack5.7.1 libunity-api0
  libusermetricsinput1 libzapojit-0.0-0 linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-34 linux-headers-4.4.0-34-generic
  linux-image-4.4.0-31-generic linux-image-4.4.0-34-generic linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-34-generic mcp-account-manager-goa
  mcp-account-manager-uoa mknfonts.tool numix-gtk-theme ppa-purge python-libxml2 python-xdg qml-module-qtmultimedia qml-module-qtpositioning
  qml-module-ubuntu-thumbnailer0.1 qtdeclarative5-ubuntu-thumbnailer0.1 qtdeclarative5-ubuntu-ui-extras0.2 qtdeclarative5-usermetrics0.1
  qtdeclarative5-window-plugin rhythmbox-plugin-magnatune sqlite3 telepathy-gabble telepathy-idle telepathy-logger telepathy-salut thumbnailer-service
  ubuntu-gnome-default-settings ubuntu-gnome-wallpapers ubuntu-gnome-wallpapers-xenial unoconv usermetricsservice wine-gecko2.21 wine-gecko2.21:i386
  wine-mono0.0.8 xserver-xorg-legacy yelp-tools zsync
Use 'sudo apt autoremove' to remove them.
다음 새 패키지를 설치할 것입니다:
  libappindicator1 libgconf2-4 libindicator7
0개 업그레이드, 3개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.
42.8 k바이트 아카이브를 받아야 합니다.
이 작업 후 557 k바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n] y
받기:1 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 libindicator7 amd64 12.10.2+16.04.20151208-0ubuntu1 [21.9 kB]
받기:2 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 libappindicator1 amd64 12.10.1+15.04.20141110-0ubuntu1 [18.8 kB]
받기:3 http://kr.archive.ubuntu.com/ubuntu xenial/universe amd64 libgconf2-4 amd64 3.2.6-3ubuntu6 [2,050 B]
내려받기 42.8 k바이트, 소요시간 1초 (33.9 k바이트/초)
Selecting previously unselected package libindicator7.
(데이터베이스 읽는중 ...현재 349731개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../libindicator7_12.10.2+16.04.20151208-0ubuntu1_amd64.deb ...
Unpacking libindicator7 (12.10.2+16.04.20151208-0ubuntu1) ...
Selecting previously unselected package libappindicator1.
Preparing to unpack .../libappindicator1_12.10.1+15.04.20141110-0ubuntu1_amd64.deb ...
Unpacking libappindicator1 (12.10.1+15.04.20141110-0ubuntu1) ...
Selecting previously unselected package libgconf2-4:amd64.
Preparing to unpack .../libgconf2-4_3.2.6-3ubuntu6_amd64.deb ...
Unpacking libgconf2-4:amd64 (3.2.6-3ubuntu6) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
libindicator7 (12.10.2+16.04.20151208-0ubuntu1) 설정하는 중입니다 ...
libappindicator1 (12.10.1+15.04.20141110-0ubuntu1) 설정하는 중입니다 ...
libgconf2-4:amd64 (3.2.6-3ubuntu6) 설정하는 중입니다 ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
bumnux@bumnux:~$  sudo dpkg -i google-chrome-stable_current_amd64.deb
Selecting previously unselected package google-chrome-stable.
(데이터베이스 읽는중 ...현재 349749개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (53.0.2785.116-1) ...
google-chrome-stable (53.0.2785.116-1) 설정하는 중입니다 ...
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...

git 관련 내용이 아주 잘 정리되어 있는 곳.


https://git-scm.com/book/ko/v2/

sudo add-apt-repository ppa:openjdk-r/ppa  
sudo apt-get update   
sudo apt-get install openjdk-7-jdk  


unsupported reloc 43

prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/bits/basic_string.h:270: error: unsupported reloc 43
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/bits/basic_string.h:270: error: unsupported reloc 43
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/bits/basic_string.h:235: error: unsupported reloc 43
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/bits/basic_string.h:235: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:310: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:311: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:332: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:322: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:338: error: unsupported reloc 43
...
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1 

The older prebuilt toolchain have some problems with newer version of ‘as’ in the native environment.
This error will show up when your environment is Ubuntu 16.04 and AOSP before May 7, 2106.
To solve this problem:

  • Modify build/core/clang/HOST_x86_common.mk
diff --git a/core/clang/HOST_x86_common.mk b/core/clang/HOST_x86_common.mk
index 0241cb6..77547b7 100644
--- a/core/clang/HOST_x86_common.mk
+++ b/core/clang/HOST_x86_common.mk
@@ -8,6 +8,7 @@ ifeq ($(HOST_OS),linux)
 CLANG_CONFIG_x86_LINUX_HOST_EXTRA_ASFLAGS := \
   --gcc-toolchain=$($(clang_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG) \
   --sysroot=$($(clang_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG)/sysroot \
+  -B$($(clang_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG)/x86_64-linux/bin \
   -no-integrated-as
 
 CLANG_CONFIG_x86_LINUX_HOST_EXTRA_CFLAGS := \  


+ Recent posts