Thread View: news.software.readers
5 messages
5 total messages
Started by Jeff Ross
Wed, 01 Jan 1992 18:46
trn and SCO?
Author: Jeff Ross
Date: Wed, 01 Jan 1992 18:46
Date: Wed, 01 Jan 1992 18:46
28 lines
1503 bytes
1503 bytes
I have been trying to get TRN 2.0 patchlevel 2.2 to compile under SCO. when I used "cc" makedepend keeps giving me fatal errors, "/usr/include/errno.h(36) : fatal error C1020: unexpected '#endif'" when I use rcc makedepend runs without any warnings at all... when I use gcc again there are no problems at all when I do a make, if I use rcc or gcc (I use the -traditional flag with gcc) everything compiles with no problems however when I attempt to run trn I get the welcome screen from trn, but then I get "Caught a SIGBUS -- .newsrc restored" and "trn: IOT trap" I have tried running makedepend with "rcc -E" and "gcc-cpp" and having make use rcc,gcc, and cc with no luck, I always get the same problem. anybody have any suggestions?? any compiler flags I should use?? oh, -O is turned off Jeff -- .Sig??? you want a stinkin' .Sig??? Jeff Ross 201-299-1819 (home) jeff@wisdom.bubble.org
Re: trn and SCO?
Author: Sean Eric Fagan
Date: Wed, 01 Jan 1992 21:24
Date: Wed, 01 Jan 1992 21:24
14 lines
1251 bytes
1251 bytes
In article <1992Jan01.184627.7716@wisdom.bubble.org> jeff@wisdom.bubble.org (Jeff Ross) writes: >anybody have any suggestions?? any compiler flags I should use?? I've been running trn on an SCO system since it was first posted to the net, and have used all three compilers (gcc, cc, and rcc) to compile it, although I only use gcc these days. I tend to ignore any errors from makedepend. -- Sean Eric Fagan | "One form to rule them all, one form to find them, one sef@kithrup.COM | form to bring them all and in the darkness rewrite the -----------------+ hell out of them" -- sendmail ruleset 3 comment from DEC. Any opinions expressed are my own, and generally unpopular with others.
Re: trn and SCO?
Author: Ronald S H Khoo
Date: Thu, 02 Jan 1992 08:20
Date: Thu, 02 Jan 1992 08:20
10 lines
1043 bytes
1043 bytes
jeff@wisdom.bubble.org (Jeff Ross) writes: > I get the welcome screen from trn, but then I get > "Caught a SIGBUS -- .newsrc restored" and "trn: IOT trap" I have had similar problems with cc when -lc_s is used. The problems went away when I used gcc, though. This was with rn, but applies also to trn since most of the code is common to both. -- Ronald Khoo <ronald@robobar.co.uk> +44 81 991 1142 (O) +44 71 229 7741 (H)
Re: trn and SCO?
Author: Sean Eric Fagan
Date: Thu, 02 Jan 1992 19:42
Date: Thu, 02 Jan 1992 19:42
21 lines
1739 bytes
1739 bytes
In article <1992Jan02.082022.24708@robobar.co.uk> ronald@robobar.co.uk (Ronald S H Khoo) writes: >I have had similar problems with cc when -lc_s is used. The problems >went away when I used gcc, though. This was with rn, but applies >also to trn since most of the code is common to both. I just grabbed trn from the c.s.u posting, and built it using /bin/cc. I didn't use -lc_s, as I found problems with it recently (it's lacking some symbols, you see, and if something goes through the library to determine what functions your system has, and misses some, it can be really wrong -- perl, I think, was the one that did this). I ran into only one problem: strftime *is* defined on the system, but, for some reason, it wasn't found by Configure. It seemed to work just fine when I tried it, although I did not do so extensively. -- Sean Eric Fagan | "One form to rule them all, one form to find them, one sef@kithrup.COM | form to bring them all and in the darkness rewrite the -----------------+ hell out of them" -- sendmail ruleset 3 comment from DEC. Any opinions expressed are my own, and generally unpopular with others.
Re: trn and SCO?
Author: Marc Unangst
Date: Sat, 04 Jan 1992 21:30
Date: Sat, 04 Jan 1992 21:30
26 lines
2005 bytes
2005 bytes
In article <1992Jan02.194218.6638@kithrup.COM> sef@kithrup.COM (Sean Eric Fagan) writes: >perl, I think, was the one that did this). I ran into only one problem: >strftime *is* defined on the system, but, for some reason, it wasn't found >by Configure. This is because strftime is not in libc.a, but in libintl.a. The Microsoft compiler automatically links in libintl.a before libc.a, unless you give it the -nointl flag. So, under normal conditions, strftime will be available to programs, despite not being present in libc.a. A better (albeit slower) strategy for Configure would be the one that the GNU "configure" script uses. Instead of rummaging through libc.a, and assuming that what's there is the only stuff that will be used by the C compiler during the link phase, try linking a program that calls the routine in question. If the link fails, the routine does not exist; if the link succeeds, then the routine is there in some form. Followups to comp.unix.sysv386, since this discussion seems to be diverging from the topic of newsreaders. -- Marc Unangst | "Push to test." mju@mudos.ann-arbor.mi.us | <click> ...!sharkey!mudos!mju | "Release to detonate."
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