chenxiaoqun / android-vnc-server

Automatically exported from code.google.com/p/android-vnc-server
0 stars 0 forks source link

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 8 years ago

GoogleCodeExporter commented 8 years ago
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 ron...@gmail.com on 5 Dec 2011 at 1:20

GoogleCodeExporter commented 8 years ago
lulu6y@outlook.com

Original comment by Summain...@gmail.com on 16 Feb 2015 at 12:31

Attachments: