What is _sobuf and wher is it defined?
Steve V. Hodsdon
shodsdon at elrond.CalComp.COM
Thu Jul 26 23:11:24 AEST 1990
I am trying to port rcs, version 3, to a Sun SPARCserver. The rdiff
directory is the only one that is giving me problems. All three files
compile with no warnings, but when the loading is done, there is an
undefined symbol: __sobuf.
Loading rdiff ... ld: Undefined symbol
__sobuf
*** Error code 1
This same code will compile on a VAX and a MIPS machine with no
problems. The problem is, I can't find any reference to _sobuf in the
manuals, man pages, or grep.
The code can be found in diff.c:
[outside of main ...]
extern char _sobuf[];
[ inside main ...]
setbuf(stdout, _sobuf);
Other info: SunOS 4.0.3, VAX-Ultrix V2.2, MIPS-UMIPS-BSD V2.1
Thanks for any insight that you can give me.
--
Steve Hodsdon | Stay sane inside insanity.
shodsdon at elrond.CalComp.COM | Don't dream it - Be it.
{decvax|harvard}!elrond!shodsdon |
(603) 885-8324 |
More information about the Comp.lang.c
mailing list