Hello!

 I've tried to build FreeRDP from the git on OS X Lion. Unfortunately it
crashes after the start.

$ cmake --version
cmake version 2.8.5

$ gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with:
/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure
--disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2
--mandir=/share/man --enable-languages=c,objc,c++,obj-c++
--program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin11
--enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local
--program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
--target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)

$ cmake . -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
-- FreeRDP GIT
-- Skipping optional package PulseAudio.
--   Enable this using "-DWITH_PULSEAUDIO=ON".
-- Finding suggested package Cups.
--   Disable this using "-DWITH_CUPS=OFF".
-- Found Cups: /usr/lib/libcups.dylib
-- Finding suggested package FFmpeg.
--   Disable this using "-DWITH_FFMPEG=OFF".
-- checking for module 'libavcodec'
--   package 'libavcodec' not found
-- Skipping optional package CUnit.
--   Enable this using "-DWITH_CUNIT=ON".
-- Finding suggested package X11.
--   Disable this using "-DWITH_X11=OFF".
CMake Warning at client/X11/CMakeLists.txt:54 (message):
  WITH_MANPAGES was set, but xmlto was not found.  man-pages will not be
  installed

-- Finding suggested package Xinerama.
--   Disable this using "-DWITH_XINERAMA=OFF".
-- Finding suggested package Xext.
--   Disable this using "-DWITH_XEXT=OFF".
-- Finding suggested package Xcursor.
--   Disable this using "-DWITH_XCURSOR=OFF".
-- Finding suggested package Xv.
--   Disable this using "-DWITH_XV=OFF".
-- Skipping optional package DirectFB.
--   Enable this using "-DWITH_DIRECTFB=ON".
-- Finding suggested package X11.
--   Disable this using "-DWITH_X11=OFF".
-- Finding suggested package Xext.
--   Disable this using "-DWITH_XEXT=OFF".
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/incubus/Projects/FreeRDP

$ make
$ cd client/X11

$ ./xfreerdp 192.168.1.2:3389
[1]    27980 segmentation fault  ./xfreerdp 192.168.1.2:3389

$ gdb ./xfreerdp
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul  1 10:50:06
UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for
shared libraries .................. done

(gdb) run 192.168.1.2:3389
Starting program: /Users/incubus/Projects/FreeRDP/client/X11/xfreerdp
192.168.1.2:3389
Reading symbols for shared libraries
+++++++++++++++++................................... done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
[Switching to process 27996 thread 0x2e03]
0x0000000100011f51 in xf_GetCurrentDesktop (xfi=0x100838c00) at
xf_window.c:114
114             xfi->current_desktop = (int) *prop;
(gdb)


 Something is wrong with my X11 server configuration?

-- 
Best regards,
Alexander


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to