-
Notifications
You must be signed in to change notification settings - Fork 480
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
Can't compile droidvncserver #24
Comments
Install cmake, navigate to $AOSP/external/droidvncdaemon/vnc/libvncserver-kanaka You next problem may be I searched for a framebuffer_device_t with a read member and had not much luck. I commented out the references to -> read in gralloc_method and forced it to unsupported. Now it compiles and runs. |
Got the same issue. Will investigate tomorrow. One concern about "cmake .", it selects my x86 native compiler: |
I just used cmake to build required header files, after a top-level make failure. I continued with top-level make once the missing headers were in place, so the cmake toolchain is not invoked. I guess cmake could produce the wrong shaped header when it's confused about the architecture. |
Ok, forget about the toolchain. What I mean is that running "cmake ." without argument leads it to check host libraries insteqad of android libraries. Then at build time, android tries to link with android zlib, libjpeg, ... and found that a lot of routines are missing. Check my cmake output: http://pastebin.com/5GzS7x8c It parses host libraries, that's the root cause of my build issues! Do you know what arguments I should give to cmake to fix this? |
I got things running after a clean, no cmake at all, and some tweaks summed up in this patch : http://pastebin.com/abwR4av4 |
I cannot compile droidvncdaemon.
error message I get is attached at the end of the issue.
I downloaded the origin/master version of the repository.
I am running Ubuntu 10.4 64 bit. I can compile and build the rowboat-android repository for my beagleboard-xm just fine.
Immediately after building android, I copied the droidvncdaemon directory to the external/droidvncdaemon directory of my AOSP tree and then issued the command
mmm external/droidvncdaemon
and then I stopped with the error shown below.
-David Glaser
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.4
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GRJ22
make: Entering directory
/home/dglaser/Android/BeagleBoard/rowboat-android' target thumb C: androidvncserver_froyo <= external/droidvncdaemon/vnc/input.c In file included from external/droidvncdaemon/vnc/libvncserver-kanaka/rfb/rfb.h:40, from external/droidvncdaemon/vnc/common.h:29, from external/droidvncdaemon/vnc/input.h:23, from external/droidvncdaemon/vnc/input.c:20: external/droidvncdaemon/vnc/libvncserver-kanaka/rfb/rfbproto.h:59:23: error: rfbconfig.h: No such file or directory external/droidvncdaemon/vnc/input.c: In function 'keyEvent': external/droidvncdaemon/vnc/input.c:219: warning: suggest braces around empty body in an 'else' statement make: *** [out/target/product/generic/obj/EXECUTABLES/androidvncserver_froyo_intermediates/input.o] Error 1 make: Leaving directory
/home/dglaser/Android/BeagleBoard/rowboat-android'The text was updated successfully, but these errors were encountered: