Hi Roland,

Am 15.08.2013 um 06:08 schrieb [email protected]:
> Any plans for compiling rdesktop 1.8.0 to get NLA support?

Sure, why not?

> I try to compile but I fail with all the dependencies for gss and kerberos 
> support.


Looks like I get into a similar situation as you:
  
http://sourceforge.net/mailarchive/forum.php?set=custom&viewmonth=&viewday=&forum_name=rdesktop-users&style=nested&max_rows=100&submit=Change+View

I packaged up libgssglue
  http://www.opencsw.org/packages/CSWlibgssglue0/
but on integrating it into rdesktop I get

/opt/SUNWspro/bin/cc -xO3 -m32 -xarch=sparc -I/opt/csw/include 
-I/opt/csw/include/gssglue   -I/opt/csw/include   -I/opt/csw/include    
-I/usr/openwin/include -DPACKAGE_NAME=\"rdesktop\" 
-DPACKAGE_TARNAME=\"rdesktop\" -DPACKAGE_VERSION=\"1.8.0\" 
-DPACKAGE_STRING=\"rdesktop\ 1.8.0\" -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 -DB_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=\"/opt/csw\" -DWITH_CREDSSP=1 
-DNEED_ALIGN=1 -DEGD_SOCKET=\"/var/run/egd-pool\" -DHAVE_LIBSAMPLERATE=1 
-DWITH_RDPSND=1 -DRDPSND_SUN=1 -DRDPSND_LIBAO=1 -DHAVE_DIRENT_H=1 
-DHAVE_DECL_DIRFD=0 -DDIR_FD_MEMBER_NAME=dd_fd -DHAVE_ICONV_H=1 
-DHAVE_SYS_VFS_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 
-DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_STRUCT_STATVFS_F_NAMEMAX=1 
-D_FILE_OFFSET_BITS=64 -DKEYMAP_PATH=\"/opt/csw/share/rdesktop/keymaps/\" -o 
rdesktop rdesktop.o xwin.o xkeymap.o ewmhints.o xclip.o cliprdr.o ctrl.o 
rdpsnd.o rdpsnd_dsp.o rdpsnd_sun.o rdpsnd_libao.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  cssp.o -m32 -xarch=sparc -L/opt/csw/lib 
-R/opt/csw/lib -L/opt/csw/lib -L/opt/csw/lib64 -lssl -lcrypto -lresolv -lsocket 
 -lgssglue -L/opt/csw/lib -lsamplerate   -L/opt/csw/lib -lao     
-L/usr/openwin/lib -R/usr/openwin/lib -lsocket  -lnsl -lX11
Undefined                       first referenced
 symbol                             in file
krb5_gss_initialize                 /opt/csw/lib/libgssglue.so
ld: fatal: symbol referencing errors. No output written to rdesktop
gmake: *** [rdesktop] Error 1

The definitions are all external, so it is probably ok that it is not defined:

dam@unstable10s 
[unstable10s]:/home/dam/mgar/pkg/libgssglue/trunk/work/solaris10-sparc/build-isa-sparcv8plus/libgssglue-0.4
 > find . | xargs grep krb5_gss_initialize
./src/g_initialize.c:extern gss_mechanism krb5_gss_initialize();
./src/g_initialize.c:   mech = (gss_mechanism)krb5_gss_initialize();
./src/g_initialize.c:extern gss_mechanism internal_krb5_gss_initialize(void 
*dl);
./src/g_initialize.c:       mech = internal_krb5_gss_initialize(dl);
./src/g_mit_krb5_mech.c: * The MIT and Heimdal libraries do not support the 
krb5_gss_initialize
./src/g_mit_krb5_mech.c:internal_krb5_gss_initialize(void *dl)

I think this should be done in doc/gssapi_mech.conf, but as dlopen is issued in 
runtime
the symbol is obviously not defined. The documentation on libgssglue is a bit… 
short.

Could you please continue to talk to upstream and research further?
I'll happily package it up afterwards.


Best regards

  -- Dago


-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/users

Reply via email to