Re: Compile Error OSX 10.9.4

Henrik Andersson <[email protected]> Fri, 15 Aug 2014 13:45:26 +0200
Newsgroups gmane.network.rdesktop.user
Organization Cendio AB
Message-ID <[email protected]>
> Can someone tell me what I'm missing.  Below is the output from
> make.  I've used ./configure -disable-credssp 
> 
> 
> gcc -g -O2 -Wall -I/usr/include    -I/usr/X11/include
> -DPACKAGE_NAME=\"rdesktop\" -DPACKAGE_TARNAME=\"rdesktop\"
> -DPACKAGE_VERSION=\"1.8.2\" -DPACKAGE_STRING=\"rdesktop\ 1.8.2\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DL_ENDIAN=1
> -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_LOCALE_H=1
> -DHAVE_LANGINFO_H=1 -DHAVE_SYSEXITS_H=1 -Dssldir=\"/usr\"
> -DWITH_SCARD=1 -DEGD_SOCKET=\"/var/run/egd-pool\" -DWITH_RDPSND=1
> -DHAVE_DIRENT_H=1 -DHAVE_DIRFD=1 -DHAVE_DECL_DIRFD=1 -DHAVE_ICONV_H=1
> -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_SYS_STATVFS_H=1
> -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DSTAT_STATVFS=1
> -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1
> -DKEYMAP_PATH=\"/usr/local/share/rdesktop/keymaps/\" -o rdesktop
> rdesktop.o xwin.o xkeymap.o ewmhints.o xclip.o cliprdr.o ctrl.o
> rdpsnd.o rdpsnd_dsp.o tcp.o asn.o iso.o mcs.o secure.o licence.o
> rdp.o orders.o bitmap.o cache.o rdp5.o channels.o rdpdr.o serial.o
> printer.o disk.o parallel.o printercache.o mppc.o pstcache.o lspci.o
> seamless.o ssl.o utils.o scard.o  -L/usr/lib -L/usr/lib64 -lssl
> -lcrypto  -framework PCSC  -liconv  -L/usr/X11/lib  -lX11 ld:
> warning: directory not found for option '-L/usr/lib64' Undefined
> symbols for architecture x86_64: "_SCARD_CTL_CODE", referenced from:
> _scard_device_control in scard.o ld: symbol(s) not found for
> architecture x86_64 clang: error: linker command failed with exit
> code 1 (use -v to see invocation) make: *** [rdesktop] Error 1
> 
> 

There are some comparability issues with OsX smart card framework, the
short way to get around this is to disable build of smartcard support.

Regards,

Henrik Andersson

------------------------------------------------------------------------------