rdesktop

Ask us to port a specific application.

rdesktop

Postby orange1 » Thu Apr 18, 2002 7:21 am

http://www.rdesktop.org/

too bad apple's remote desktop doesn't actually use the remote desktop protocol. doesn't seem to, anyway.

upon `make` i get a whole lot of:
rdesktop.c:26: bad macro argument list

confusing part is, line 26 is:
#include <sys/time.h> /* gettimeofday */

i'm pretty sure i've got some x windows stuff installed on this box [after 3 os x machines, i get confused which had what, and i don't use x], so i don't think that's the problem [yet]. certainly not in time.h, anyway.
--
-willy
Freedom will henceforth be compulsory. -Random Party Manifesto
orange1
 
Posts: 92
Joined: Tue Aug 21, 2001 7:00 pm

Re: rdesktop

Postby apex » Sat Apr 20, 2002 6:26 pm

Add <blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>-no-cpp-precomp</pre>[/quote] to CFLAGS in Makefile.

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
localhost rdesktop-1.0.0 $ pico Makefile

UW PICO(tm) 2.3 File: Makefile Modified

##############################################
# rdesktop: A Remote Desktop Protocol client #
# Basic Makefile #
# Copyright (C) Matthew Chapman 1999-2000 #
##############################################

# Uncomment to enable debugging
# DEBUG = -g -DRDP_DEBUG

CC = gcc
CFLAGS = -O2 -Wall $(DEBUG) -I/usr/X11R6/include -no-cpp-precomp
LIBS = -L/usr/X11R6/lib -lX11

RDPOBJ = rdesktop.o tcp.o iso.o mcs.o secure.o licence.o rdp.o orders.o bitmap.$
CRYPTOBJ = crypto/rc4_enc.o crypto/rc4_skey.o crypto/md5_dgst.o crypto/sha1dgst$

rdesktop: $(RDPOBJ) $(CRYPTOBJ)
$(CC) $(CFLAGS) -o rdesktop $(LIBS) $(RDPOBJ) $(CRYPTOBJ)

[ Wrote 30 lines ]

localhost rdesktop-1.0.0 $ make
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o rdesktop.o -c rdesktop.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o tcp.o -c tcp.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o iso.o -c iso.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o mcs.o -c mcs.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o secure.o -c secure.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o licence.o -c licence.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o rdp.o -c rdp.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o orders.o -c orders.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o bitmap.o -c bitmap.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o cache.o -c cache.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o xwin.o -c xwin.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o crypto/rc4_enc.o -c crypto/rc4_enc.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o crypto/rc4_skey.o -c crypto/rc4_skey.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o crypto/md5_dgst.o -c crypto/md5_dgst.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o crypto/sha1dgst.o -c crypto/sha1dgst.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o crypto/arith.o -c crypto/arith.c
gcc -O2 -Wall -I/usr/X11R6/include -no-cpp-precomp -o rdesktop -L/usr/X11R6/lib -lX11 rdesktop.o tcp.o iso.o mcs.o secure.o licence.o rdp.o orders.o bitmap.o cache.o xwin.o crypto/rc4_enc.o crypto/rc4_skey.o crypto/md5_dgst.o crypto/sha1dgst.o crypto/arith.o
localhost rdesktop-1.0.0 $ ls
COPYING cache.o licence.c orders.h rdesktop.c secure.c xwin.c
Makefile constants.h licence.o orders.o rdesktop.h secure.o xwin.o
bitmap.c crypto mcs.c parse.h rdesktop.o tcp.c
bitmap.o iso.c mcs.o proto.h rdp.c tcp.o
cache.c iso.o orders.c rdesktop rdp.o types.h
localhost rdesktop-1.0.0 $ ./rdesktop
rdesktop: A Remote Desktop Protocol client.
Version 1.0.0. Copyright (C) 1999-2000 Matt Chapman.
See http://www.rdesktop.org/ for more information.

Usage: ./rdesktop [options] server
-u: user name
-d: domain
-s: shell
-c: working directory
-p: password (autologon)
-n: client hostname
-w: desktop width
-h: desktop height
-k: keyboard layout (hex)
-b: force bitmap updates
-m: do not send motion events
-l: do not request licence

localhost rdesktop-1.0.0 $
</pre>[/quote]
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm

Re: rdesktop

Postby apex » Sat Apr 20, 2002 6:28 pm

rdesktop-1.1.0 requires the same change.
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm


Return to Requests

Who is online

Users browsing this forum: No registered users and 38 guests

cron