public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jayen Ashar <Jayen@cmu.edu>
To: cygwin@sourceware.cygnus.com
Subject: tcsh 6.08: solutions & problems
Date: Tue, 05 Sep 2000 20:38:00 -0000	[thread overview]
Message-ID: <39B5BC25.5BD82636@cmu.edu> (raw)

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@sourceware.cygnus.com

             reply	other threads:[~2000-09-05 20:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-05 20:38 Jayen Ashar [this message]
2000-09-06  5:20 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39B5BC25.5BD82636@cmu.edu \
    --to=jayen@cmu.edu \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).