Re: Compiling rdesktop 1.8 on Solaris

Roland Soderstrom <[email protected]> Wed, 14 Aug 2013 05:07:11 +0000
Newsgroups gmane.network.rdesktop.user
Message-ID <281A66F6E46847489D285FE6CE8147E303FCE24E70@CSS0031.logicaltech.local>
Hi,

I managed to get further by compiling libgssglue.
But now I fail here:
gcc -O2 -Wall -I/usr/local/ssl/include  -I/usr/X11/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 -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/local/ssl\" -DWITH_CREDSSP=1 -DHAVE_XRANDR=1 -DNEED_ALIGN=1 -DEGD_SOCKET=\"/var/run/egd-pool\" -DWITH_RDPSND=1 -DRDPSND_SUN=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=\"/usr/local/share/rdesktop/keymaps/\" -o cssp.o -c cssp.c
cssp.c: In function `cssp_gss_wrap':
cssp.c:187: warning: passing arg 2 of `gss_wrap' from incompatible pointer type
cssp.c: In function `cssp_gss_unwrap':
cssp.c:225: warning: passing arg 2 of `gss_unwrap' from incompatible pointer type
cssp.c: In function `cssp_connect':
cssp.c:874: warning: passing arg 1 of `cssp_gss_wrap' from incompatible pointer type
cssp.c:892: warning: passing arg 1 of `cssp_gss_unwrap' from incompatible pointer type
cssp.c:908: warning: passing arg 1 of `cssp_gss_wrap' from incompatible pointer type
gcc -O2 -Wall -I/usr/local/ssl/include  -I/usr/X11/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 -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/local/ssl\" -DWITH_CREDSSP=1 -DHAVE_XRANDR=1 -DNEED_ALIGN=1 -DEGD_SOCKET=\"/var/run/egd-pool\" -DWITH_RDPSND=1 -DRDPSND_SUN=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=\"/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 rdpsnd_sun.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 -R/usr/local/ssl/lib -L/usr/local/ssl/lib -L/usr/local/ssl/lib64 -lssl -lcrypto -lresolv -lsocket  -lgssglue -R/usr/X11/lib -L/usr/X11/lib -lXrandr      -lsocket  -lnsl -lX11
/usr/local/lib/libgssglue.so: undefined reference to `krb5_gss_initialize'
collect2: ld returned 1 exit status
gmake: *** [rdesktop] Error 1


-          Roland

From: Roland Soderstrom [mailto:[email protected]]
Sent: Wednesday, 14 August 2013 10:40 AM
To: '[email protected]'
Subject: [rdesktop-users] Compiling rdesktop 1.8 on Solaris

Hi

I need 1,8 to get NLA support. (connecting to W2012)
When I try to configure it complains about .

checking for GSSGLUE... no

CredSPP support requires libgssglue, install the dependency
or disable the feature using --disable-credssp.

I have installed all gss, ssp type packages I can find on OpenCSW
# find /opt/csw/ -name \*gss\*
/opt/csw/lib/libgssapi_krb5.so.2.2
/opt/csw/lib/libgssapi_krb5.so.2
/opt/csw/lib/libgss.so.3.0.2
/opt/csw/lib/sasl2/libgssapiv2.so.2.0.25
/opt/csw/lib/sasl2/libgssapiv2.so
/opt/csw/lib/sasl2/libgssapiv2.so.2
/opt/csw/lib/libgss.so.3
/opt/csw/lib/amd64/sasl2/libgssapiv2.so
/opt/csw/lib/amd64/sasl2/libgssapiv2.so.2.0.25
/opt/csw/lib/amd64/sasl2/libgssapiv2.so.2
/opt/csw/lib/amd64/libgssapi_krb5.so.2.2
/opt/csw/lib/amd64/libgss.so.3
/opt/csw/lib/amd64/libgssapi_krb5.so.2
/opt/csw/lib/amd64/libgss.so.3.0.2
/opt/csw/share/info/gss.info
/opt/csw/share/locale/sv/LC_MESSAGES/gss.mo
/opt/csw/share/locale/fi/LC_MESSAGES/gss.mo
/opt/csw/share/locale/zh_CN/LC_MESSAGES/gss.mo
/opt/csw/share/locale/id/LC_MESSAGES/gss.mo
/opt/csw/share/locale/vi/LC_MESSAGES/gss.mo
/opt/csw/share/locale/sk/LC_MESSAGES/gss.mo
/opt/csw/share/locale/ro/LC_MESSAGES/gss.mo
/opt/csw/share/locale/it/LC_MESSAGES/gss.mo
/opt/csw/share/locale/eo/LC_MESSAGES/gss.mo
/opt/csw/share/locale/pl/LC_MESSAGES/gss.mo
/opt/csw/share/locale/ga/LC_MESSAGES/gss.mo
/opt/csw/share/locale/en@boldquot/LC_MESSAGES/gss.mo<mailto:/opt/csw/share/locale/en@boldquot/LC_MESSAGES/gss.mo>
/opt/csw/share/locale/en@quot/LC_MESSAGES/gss.mo<mailto:/opt/csw/share/locale/en@quot/LC_MESSAGES/gss.mo>
/opt/csw/share/locale/fr/LC_MESSAGES/gss.mo
/opt/csw/share/doc/sasl_gssapi
/opt/csw/share/doc/pm_gssapi
/opt/csw/share/doc/sasl/gssapi.html
/opt/csw/share/doc/sasl/draft-ietf-sasl-gssapi-xx.txt
/opt/csw/share/doc/pm_gssapi_stub
/opt/csw/share/doc/libgssapi_krb5_2
/opt/csw/share/doc/libgss3
/opt/csw/share/doc/gss
/opt/csw/share/man/man1/gss.1
/opt/csw/bin/gss
# find /opt/csw/ -name \*ssp\*
/opt/csw/lib/libssp.so.0.0.0
/opt/csw/lib/libssp.so.0
/opt/csw/lib/amd64/libssp.so.0.0.0
/opt/csw/lib/amd64/libssp.so.0
/opt/csw/share/doc/libssp0

# pkgutil -l gss
CSWgss
CSWlibgss3
CSWlibgssapi-krb5-2
CSWpm-gssapi
CSWpmgssapi
CSWsaslgssapi

# pkgutil -l ssp
CSWlibssp0

Any ideas on how to configure on Solaris 10?

If I use -disable-credssp it configures and compile fine.
But it is useless as I need the NLA support, which I think is this gss stuff.



-      Roland

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

_______________________________________________
rdesktop-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdesktop-users