Re: [android-building] Re: Repo Tool Error

2017-01-13 Thread 'Dan Willemsen' via Android Building
The instructions on how to download repo are in the link in Glenn's
message: http://source.android.com/source/downloading.html#installing-repo

- Dan

On Fri, Jan 13, 2017 at 11:29 AM Jamie Jackson 
wrote:

> Where do I get a fresh copy of the repo? I def found the error message you
> speak of
>
> On Friday, December 20, 2013 at 5:22:28 PM UTC-5, Glenn Kasten wrote:
>
> Your copy of 'repo' tool in /home/here/bin is corrupt.  Probably the
> download failed and was replaced by an error message in HTML.
> Get a fresh copy of repo, look at it to make sure it's a valid script.
> It should start with something like this:
>   #!/usr/bin/env python
>   ## repo default configuration
> Then mark it executable with chmod +x.
> See http://source.android.com/source/downloading.html for how to download
> repo.
>
> On Friday, December 20, 2013 12:35:10 PM UTC-8, azpacif...@gmail.com
> wrote:
>
>  I have never had this happen. I cannot get repo to initialize. I keep
> getting this:
> Code:
>
> here@here:~$ cd mydroid/Freescale/droid
> here@here:~/mydroid/Freescale/droid$ PATH=~/bin:$PATH
> here@here:~/mydroid/Freescale/droid$ repo init -u 
> https://android.googlesource.com/platform/manifest -b android-4.3_r2.1
> /home/here/bin/repo: line 1: syntax error near unexpected token `newline'
> /home/here/bin/repo: line 1: `'
> here@here:~/mydroid/Freescale/droid$
>
> I uninstalled it, re-downloaded, and re-installed it. Still I get this. I
> have search all over and can't find anything on this. I do know the problem
> seems to be within repo, but I don't know how to fix it.Any and all help is
> greatly appreciated.
> Thanks,
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-building] How to fix this building Error?out/host/linux-x86/obj/EXECUTABLES/triangleCM_intermediates/triangleC

2017-01-13 Thread Albert lu

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=ITL41D

JarJar: 
out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes-jarjar.jar
Copying: 
out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes-jarjar.jar
Copying: 
out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes-jarjar.jar
target Strip: libstdc++ (out/target/product/generic/obj/lib/libstdc++.so)
target Strip: libm (out/target/product/generic/obj/lib/libm.so)
target Strip: libgabi++ (out/target/product/generic/obj/lib/libgabi++.so)
host Executable: triangleCM 
(out/host/linux-x86/obj/EXECUTABLES/triangleCM_intermediates/triangleCM)
Install: out/host/linux-x86/lib/libGLES_CM_translator.so
Install: out/host/linux-x86/lib/libEGL_translator.so
Install: out/host/linux-x86/lib/libGLES_V2_translator.so
host Executable: triangleV2 
(out/host/linux-x86/obj/EXECUTABLES/triangleV2_intermediates/triangleV2)
Install: out/host/linux-x86/framework/hosttestlib.jar
Install: out/host/linux-x86/framework/ddmuilib.jar
/usr/bin/ld: warning: libglapi.so.0, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libXext.so.6, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libXdamage.so.1, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libXfixes.so.3, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libX11-xcb.so.1, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libxcb-glx.so.0, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libXxf86vm.so.1, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libdrm.so.2, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: 
out/host/linux-x86/obj/EXECUTABLES/triangleCM_intermediates/triangleCM: 
hidden symbol `XextCreateExtension' in 
out/host/linux-x86/obj/STATIC_LIBRARIES/libSDL_intermediates/libSDL.a(SDL_x11dyn.o)
 
is referenced by DSO
/usr/bin/ld: 最后的链结失败: 错误的值
collect2: error: ld returned 1 exit status
make: *** 
[out/host/linux-x86/obj/EXECUTABLES/triangleCM_intermediates/triangleCM] 错误 
1
make: *** 正在等待未完成的任务
/usr/bin/ld: warning: libglapi.so.0, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libXext.so.6, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libXdamage.so.1, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libXfixes.so.3, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libX11-xcb.so.1, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libxcb-glx.so.0, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libXxf86vm.so.1, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: warning: libdrm.so.2, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../libGL.so, not found (try using 
-rpath or -rpath-link)
/usr/bin/ld: 
out/host/linux-x86/obj/EXECUTABLES/triangleV2_intermediates/triangleV2: 
hidden symbol `XextCreateExtension' in 
out/host/linux-x86/obj/STATIC_LIBRARIES/libSDL_intermediates/libSDL.a(SDL_x11dyn.o)
 
is referenced by DSO
/usr/bin/ld: 最后的链结失败: 错误的值
collect2: error: ld returned 1 exit status
make: *** 
[out/host/linux-x86/obj/EXECUTABLES/triangleV2_intermediates/triangleV2] 错误 
1

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send 

Re: [android-building] Re: Disable JackServer in Android N

2017-01-13 Thread John Kelley
'm' is a command that becomes available to you once you source 
build/envsetup.sh in your shell and lunch has been run to specify your 
target. Additional commands are show by running the 'hmm' command

On Thursday, January 12, 2017 at 7:39:23 AM UTC-8, 李大明 wrote:
>
> Hi, 
>
>I am not sure how to use 'm -j java-check'. Could you specify more 
> details?
>
> Dan Willemsen於 2017年1月7日星期六 UTC+8上午2時43分12秒寫道:
>>
>> Jack is required in N. You can *also* build most modules with javac using 
>> the 'm -j javac-check' command (or javac-check-$(LOCAL_MODULE)), but that 
>> is just for analyzer usage, not for installation onto the device.
>>
>> - Dan
>>
>> On Fri, Jan 6, 2017 at 9:13 AM Pankaj Kumar  wrote:
>>
>>> Hi,
>>>
>>> Did you get any solution to disable the jack ?
>>>
>>>
>>> On Wednesday, January 4, 2017 at 10:36:04 AM UTC+5:30, 李大明 wrote:


 Is it possible to disable JackServer in Android N? I have tried 
 several ways but still have no luck.

 We want to use static source analyzer to analyze several modules we 
 created, it need "javac" in its build log so we just want to disable 
 JackServer.

 In Android.mk, specify LOCAL_JACK_ENABLED := disabled and mm this 
 module cause build fail. 
 Put DEFAULT_JACK_ENABLED:= false in BoardConfig.mk also build fails.

 Is this any way to disable Jack-server in Android N?

 -- 
>>> -- 
>>> You received this message because you are subscribed to the "Android 
>>> Building" mailing list.
>>> To post to this group, send email to android-...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-buildi...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-building?hl=en
>>>
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Android Building" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to android-buildi...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.