Thread View: news.software.nn
3 messages
3 total messages
Started by Erik M. Bataller
Fri, 02 Jul 1993 00:59
compiling errors: term.c
Author: Erik M. Bataller
Date: Fri, 02 Jul 1993 00:59
Date: Fri, 02 Jul 1993 00:59
14 lines
1283 bytes
1283 bytes
Hello All, My compilation has not gone well, I am on a Sun running SunOS 4.1.3 and every time I compile, with either gcc/gcc -traditional/cc it fails and the main place it always chokes is on the term.c file. Any help would be greatly appreciated. Thanks. Erik -- !! Erik M. Bataller | Phone: (414) 424-0347 | Univ. of Wi., Oshkosh !! Academic Computing Services | 800 Algoma Blvd., 307 Dempsey, !! Oshkosh, Wi. 54901-8602 | Internet: Bataller@sol.acs.uwosh.edu !! Bitnet: Bataller@oshkoshw.bitnet
Re: compiling errors: term.c
Author: Peter L. Hurd
Date: Mon, 05 Jul 1993 00:09
Date: Mon, 05 Jul 1993 00:09
27 lines
1875 bytes
1875 bytes
bataller@afya.acs.uwosh.edu (Erik M. Bataller) writes:
>Hello All,
> My compilation has not gone well, I am on a Sun running SunOS 4.1.3 and every time I compile, with either gcc/gcc -traditional/cc it fails and the main place it always chokes is on the term.c file.
Hi,
Let me guess, it can't find term.h, despite the fact that term.h is sitting
right there in the directory with the rest of the source code? Happened to
me about an hour ago, must happen all the time. I noticed that the include
is #include <term.h> which to my new-to-unix brain means something other that
#include "term.h" so I went and put a path in CFLAGS to -Ipathtosystemsterm.h
but it reallyseems to want the "term.h" from the distribution, should I go
and -I the cwd?
> Any help would be greatly appreciated.
Me too
> Thanks.
>
Cheers,
-P.
--
Pete Hurd, hurd@sfu.ca | "If you are working against lowering the birth rate, |
Behav. Ecol. Res. Grp. | then you are automatically working for raising the |
Biology SFU Canada | death rate." Dr. P. Ehrlich, Newsweek 25/05/92 |
"..& function, function is the key!" Ian Mackaye, Guy Picotto &al |
Re: compiling errors: term.c
Author: Peter Wemm
Date: Tue, 06 Jul 1993 09:29
Date: Tue, 06 Jul 1993 09:29
39 lines
2326 bytes
2326 bytes
hurd@fraser.sfu.ca (Peter L. Hurd) writes: >bataller@afya.acs.uwosh.edu (Erik M. Bataller) writes: >>Hello All, >> My compilation has not gone well, I am on a Sun running SunOS 4.1.3 and every time I compile, with either gcc/gcc -traditional/cc it fails and the main place it always chokes is on the term.c file. >Hi, > Let me guess, it can't find term.h, despite the fact that term.h is sitting >right there in the directory with the rest of the source code? Happened to >me about an hour ago, must happen all the time. I noticed that the include >is #include <term.h> which to my new-to-unix brain means something other that >#include "term.h" so I went and put a path in CFLAGS to -Ipathtosystemsterm.h >but it reallyseems to want the "term.h" from the distribution, should I go >and -I the cwd? > >> Any help would be greatly appreciated. >Me too Basically, term.c does two includes: #include "term.h" [ from ./term.h ] ...and later.... #ifdef USE_TERMINFO #include <term.h> [ from /usr/include/term.h ] #endif Now, on SunOS 4.1.x, if you use s-sunos-v.h, then it expects you to use /usr/5bin/cc to automatically include /usr/5lib and /usr/5include. If you use /bin/cc, you'll get compile errors. >> Thanks. >> >Cheers, >-P. -- Peter Wemm : peter@zeus.dialix.oz.au If it's broke, fix it (The MS-DOS way) Work phone: +61-9-479-1855 If it aint broke, don't touch it (The Unix way) Fax: +61-9-479-1134 If we can't fix it, it ain't broke (Maintainer's Motto)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads