natraj@hi3.aca.mcc.com.UUCP (Natraj Arni) (07/16/88)
Hi, I have some problems in getting CLX started. First I compiled the files as defined in the defsystem.lisp. Then loaded the tcp.lisp file. Then performed a (load-clx). So far so good. All the .o files defined in defsystem.lisp got loaded. Then I tried to load the following file called "tem" : ;; ********************************************** ;; This is the file "tem" . (in-package 'xlib) (setq *reply-timeout* 10) (setq *debug* t) (use-fast-links nil) (setq *display* (open-display "shireen.aca.mcc.com" :protocol :tcp)) (load "demos/menu.lisp") ;;;*************************************************************** It goes into the debugger giving the following message : ;;;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >(load "tem") Loading tem Error: "shireen.aca.mcc.com" is wrong type for host (should be string). Error signalled by TCP:OPEN-TCP-STREAM. Broken at TCP:OPEN-TCP-STREAM. Type :H for Help. XLIB>> ;;;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ I am using KCL on a SUN 3/160 and shireen is the machine name and is being entered as a string. What could be the problem ? Any help would be appreciated. -- natraj The following is the script of the session : ;;;------------------------------------------------------------------- AKCL (Austin Kyoto Common Lisp) Version(1.54) Wed Jul 6 13:47:32 CDT 1988 Contains Enhancements by W. Schelter >(load "tcp.lisp") Loading tcp.lisp start address -T 1c5000 Finished loading tcp.lisp T (load "defsystem.lisp") >Loading defsystem.lisp Finished loading defsystem.lisp T (load-clx) >Loading depdefs.o start address -T 1c8800 Finished loading depdefs.o Loading clx.o start address -T 1cc800 Finished loading clx.o Loading dependent.o start address -T 1f9800 Finished loading dependent.o Loading buffer.o start address -T 201000 Finished loading buffer.o Loading display.o start address -T 210800 Finished loading display.o Loading gcontext.o start address -T 217800 Finished loading gcontext.o Loading requests.o start address -T 225000 Finished loading requests.o Loading input.o start address -T 25f000 Finished loading input.o Loading fonts.o start address -T 287000 Finished loading fonts.o Loading graphics.o start address -T 28e800 Finished loading graphics.o Loading text.o start address -T 299800 Finished loading text.o Loading attributes.o start address -T 2a8800 Finished loading attributes.o 24720 >(load "tem") Loading tem Error: "shireen.aca.mcc.com" is wrong type for host (should be string). Error signalled by TCP:OPEN-TCP-STREAM. Broken at TCP:OPEN-TCP-STREAM. Type :H for Help. XLIB>> ;;;---------------------------------------------------------------- Following is the tcp.lisp file : ;; -*- Mode: LISP; Syntax: Common-lisp; Package: TCP; Base: 10; Lowercase: Yes -*-;; ;; (in-package "TCP" :use '("LISP")) ;; (si:faslink "kclx.o" "kcltcp.o socket.o -lc") ;;;---------------------------------------------------------------- -- -Natraj Arni ARPA: natraj@mcc.com UUCP: {ihnp4,seismo,ctvax}!ut-sally!im4u!milano!hi3.aca.mcc.com!natraj