Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing defines in the SVN project: build is broken at keysym2scancode (can't find KEY_SOFT1, KEY_SOFT2, KEY_CENTER etc.) #30

Open
GoogleCodeExporter opened this issue Apr 14, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. copy the checked out version of the project to  <android build root 
dir>/external
2.  mmm external/android-vnc-server-read-only
3.

What is the expected output? What do you see instead?
I expect it to build


What version of the product are you using? On what operating system?
Host: Ubuntu 11.10 x64
Target: ICS emulator (Master branch)



Please provide any additional information below.
There are two issues:
The first one is negligible, and is an easy warning resolved by adding
 LOCAL_MODULE_TAGS := optional  to the Android.mk file.

The second one, is that some defines are missing, and I don't know what to add 
to the make file in order to resolve them. I believe it is an easy issue:


~/Android/ICS_Master$ mmm external/android-vnc-server-read-only

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.1
TARGET_PRODUCT=generic
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=ICS_MR0
============================================


make: Entering directory `/home/ronm/Android/ICS_Master'
target thumb C: androidvncserver <= 
external/android-vnc-server-read-only/fbvncserver.c
external/android-vnc-server-read-only/fbvncserver.c: In function 
'keysym2scancode':
external/android-vnc-server-read-only/fbvncserver.c:246: error: 'KEY_SOFT1' 
undeclared (first use in this function)
external/android-vnc-server-read-only/fbvncserver.c:246: error: (Each 
undeclared identifier is reported only once
external/android-vnc-server-read-only/fbvncserver.c:246: error: for each 
function it appears in.)
external/android-vnc-server-read-only/fbvncserver.c:246: error: 'KEY_SOFT2' 
undeclared (first use in this function)
external/android-vnc-server-read-only/fbvncserver.c:267: error: 'KEY_CENTER' 
undeclared (first use in this function)
external/android-vnc-server-read-only/fbvncserver.c:267: warning: assignment 
makes integer from pointer without a cast
external/android-vnc-server-read-only/fbvncserver.c:269: error: 'KEY_SHARP' 
undeclared (first use in this function)
external/android-vnc-server-read-only/fbvncserver.c:269: warning: assignment 
makes integer from pointer without a cast
external/android-vnc-server-read-only/fbvncserver.c:270: warning: assignment 
makes integer from pointer without a cast
external/android-vnc-server-read-only/fbvncserver.c:283: error: 'KEY_STAR' 
undeclared (first use in this function)
external/android-vnc-server-read-only/fbvncserver.c:283: warning: assignment 
makes integer from pointer without a cast
external/android-vnc-server-read-only/fbvncserver.c: In function 
'update_screen':
external/android-vnc-server-read-only/fbvncserver.c:393: warning: comparison 
between signed and unsigned integer expressions
external/android-vnc-server-read-only/fbvncserver.c:397: warning: comparison 
between signed and unsigned integer expressions
external/android-vnc-server-read-only/fbvncserver.c: In function 'print_usage':
external/android-vnc-server-read-only/fbvncserver.c:458: warning: too few 
arguments for format
external/android-vnc-server-read-only/fbvncserver.c: In function 'main':
external/android-vnc-server-read-only/fbvncserver.c:516: warning: implicit 
declaration of function 'cleanup_kdb'
make: *** 
[out/target/product/generic/obj/EXECUTABLES/androidvncserver_intermediates/fbvnc
server.o] Error 1



Original issue reported on code.google.com by [email protected] on 5 Dec 2011 at 1:20

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 16 Feb 2015 at 12:31

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant