This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]