Not sure if you have Mac testers, but these are some issues I've had and 
preventing me from finishing cmake/make. Don't have additional machines to 
validate if it's me or the code. I'm also not a build expert so maybe it's my 
process for building. Thanks all, looking forward to official 1.0!

Using today's sync of github, trying to run:
cmake .
make

OS X 10.7.1, Xcode 4.1, GCC 4.2.1, MacPorts cmake 2.8.5

cmake initially fails until I remove "-Wno-unused-but-set-variable" from 
CMakeLists.txt line 56. CMakeError.log was generating lots of 
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable" 
for 6 or more file builds. Found a few posts suggesting newer versions of GCC 
error out with this option while older ones ignore (don't know if that's true). 
I seem to be using gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) 
(LLVM build 2335.15.00)



| ~/Documents/github/FreeRDP-1.0 @ air (bret) 
| => cmake .
-- The C compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- FreeRDP GIT
-- Looking for include files HAVE_SYS_PARAM_H
-- Looking for include files HAVE_SYS_PARAM_H - not found.
-- Looking for include files HAVE_SYS_SOCKET_H
-- Looking for include files HAVE_SYS_SOCKET_H - not found.
-- Looking for include files HAVE_NETDB_H
-- Looking for include files HAVE_NETDB_H - not found.
-- Looking for include files HAVE_FCNTL_H
-- Looking for include files HAVE_FCNTL_H - not found.
-- Looking for include files HAVE_UNISTD_H
-- Looking for include files HAVE_UNISTD_H - not found.
-- checking for module 'openssl'
-- found openssl, version 1.0.0d
-- Found OpenSSL: /opt/local/lib/libssl.dylib;/opt/local/lib/libcrypto.dylib 
(found version "1..")
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
-- Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR) 
-- checking for module 'libpulse'
-- package 'libpulse' not found
-- Looking for ippDeleteAttribute in cups
-- Looking for ippDeleteAttribute in cups - not found
-- Found Cups: /usr/lib/libcups.dylib
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - not found
-- Check size of unsigned short
-- Check size of unsigned short - failed
-- Check size of unsigned int
-- Check size of unsigned int - failed
-- Check size of unsigned long
-- Check size of unsigned long - failed
CMake Error at /opt/local/share/cmake-2.8/Modules/TestBigEndian.cmake:44 
(MESSAGE):
no suitable type found
Call Stack (most recent call first):
CMakeLists.txt:92 (test_big_endian)
-- Configuring incomplete, errors occurred!



After fixing CMakeLists.txt above, getting this error on running make


Linking C shared library libfreerdp-kbd.dylib
Undefined symbols for architecture x86_64:
"_XkbQueryExtension", referenced from:
_init_xkb in layouts_xkb.c.o
"_XkbGetMap", referenced from:
_init_keycodes_from_xkb in layouts_xkb.c.o
"_XkbGetNames", referenced from:
_init_keycodes_from_xkb in layouts_xkb.c.o
"_XkbFreeKeyboard", referenced from:
_init_keycodes_from_xkb in layouts_xkb.c.o
"_XGetKeyboardControl", referenced from:
_detect_keyboard_layout_from_xkb in layouts_xkb.c.o
"_XkbGetState", referenced from:
_detect_keyboard_layout_from_xkb in layouts_xkb.c.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [libfreerdp-kbd/libfreerdp-kbd.0.0.0.dylib] Error 1
make[1]: *** [libfreerdp-kbd/CMakeFiles/freerdp-kbd.dir/all] Error 2
make: *** [all] Error 2


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to