Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Requests   » rdesktop

UBBFriend: Email this page to someone!    
Author Topic: rdesktop
willy wonka
Member
Member # 32

posted April 17, 2002 12:21 PM      Profile for willy wonka   Author's Homepage        Edit/Delete Post  Reply With Quote 
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


Posts: 92 | Registered: Aug 2001  |  IP: Logged
apex
Administrator
Member # 1

posted April 20, 2002 11:26 AM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
Add
code:
-no-cpp-precomp

to CFLAGS in Makefile.

code:

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 $



Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
apex
Administrator
Member # 1

posted April 20, 2002 11:28 AM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
rdesktop-1.1.0 requires the same change.
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2