delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/05/23:38:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <39B5BC25.5BD82636@cmu.edu>
Date: Tue, 05 Sep 2000 23:38:13 -0400
From: Jayen Ashar <Jayen AT cmu DOT edu>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: tcsh 6.08: solutions & problems

Hello, all!  I have been trying to get tcsh as my login shell and have
run into many problems.
I got binaries off ftp.astron.com and installed them.  I changed
cygwin.bat to use "tcsh -l" instead of "bash --login -i".  It looked
okay, except it wouldn't load my .tcshrc.  So I "ported" /etc/profile to
/etc/csh.cshrc.  It still didn't load, and it turned out that tcsh
thought / was C:\, even though mount reported / was C:\cygwin.
So I figured tcsh needed to be compiled under cygwin in order for tcsh
to detect the right mount points.  So I got tcsh 6.08 src from astron
and
ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Vinschen_Corinna/B20/tcsh-6.08.00.x.tar.gz. 
I followed the directions in the readme and still had problems.  The
configure script didn't detect my system.  I had to change it so that it
would assume cygwin32 when it couldn't detect it.  And then, while it
was compiling, gcc complained about "\" in sh.exec.c.  So, I ran "sed
s/\\\\/\n/g sh.exec.c > sh.exec.c"
I still had one last problem, that I couldn't solve.   While linking the
.o files together into tcsh, ld can't find a bunch of references which
are in the header files:

gcc  -o tcsh  -I. -I. -g -O2 -UWINNT              sh.o sh.dir.o sh.dol.o
sh.err.
o sh.exec.o sh.char.o sh.exp.o sh.func.o sh.glob.o sh.hist.o sh.init.o
sh.lex.o
sh.misc.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o sh.time.o
glob.o mi.
termios.o ma.setp.o vms.termcap.o tw.help.o tw.init.o tw.parse.o
tw.spell.o tw.c
omp.o tw.color.o ed.chared.o ed.refresh.o ed.screen.o ed.init.o
ed.inputl.o ed.d
efns.o ed.xmap.o ed.term.o tc.alloc.o tc.bind.o tc.const.o tc.defs.o
tc.disc.o t
c.func.o tc.os.o tc.printf.o tc.prompt.o tc.sched.o tc.sig.o tc.str.o
tc.vers.o
tc.who.o  -lncurses -lcrypt
.......
tc.os.o: In function `xstrerror':
/home/jashar/tcsh-6.08.00/tc.os.c:982: undefined reference to `sys_nerr'
/home/jashar/tcsh-6.08.00/tc.os.c:983: undefined reference to
`sys_errlist'
collect2: ld returned 1 exit status
make: *** [tcsh] Error 1

There are more references, I'm just showing the tail of them.

If anyone could help with the mount problem, or the linking problem,
that would be cool.

Thanks,
Jayen

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019