[comp.unix.xenix] Xenix 2.3.2; what's wrong with /usr/lib/term/mkterm.o ???

jpr@dasys1.uucp (Jean-Pierre Radley) (05/26/90)

In article <539@srwic.UUCP> sralston@srwic.UUCP (Steve Ralston) writes:
>I am trying to build a new /usr/lib/term file for use with nroff/troff.
>As root, I cd to /usr/lib/term and run make with the following results:
>
>|	make -b TAB=tabuser mkterm
>|	cc -O -c tabuser.c
>|tabuser.c
>|	cc -o mkterm mkterm.o tabuser.o
>|mkterm.o(mkterm.c) : fatal error: mkterm.o : segment defined both 16- & 32-bit
>|
>| pos: 79 Record type: 98
>|*** Error code 2
>|
>|Stop.
>
>Since the mkterm.o file is supplied with SCO Xenix (without source) there's
>not much I can do about it.  Anybody else ever run into this or have any
>clues as to what the problem and/or solution is?

Yup. I've seen it too, and got pretty frustrated.

I was going to try to contact SCO about it, but I think I moved on to
other things and forgot about it.

If you have a good dealer who can present the problem to SCO, then
please go ahead, and let me know what you learn.

If you'd rather, write me back, and I'll throw it at my dealer, who
seems to know how to get good answers out of SCO.
-- 
Jean-Pierre Radley					      jpr@jpradley.uucp
New York, NY					      72160.1341@compuserve.com

steve@robobar.co.uk (Steve Bleazard) (06/01/90)

In article <1990May25.174300.3092@dasys1.uucp> jpr@dasys1.UUCP (Jean-Pierre Radley) writes:
>In article <539@srwic.UUCP> sralston@srwic.UUCP (Steve Ralston) writes:
>>I am trying to build a new /usr/lib/term file for use with nroff/troff.
>>As root, I cd to /usr/lib/term and run make with the following results:
>>
>>|	make -b TAB=tabuser mkterm
>>|	cc -O -c tabuser.c
>>|tabuser.c
>>|	cc -o mkterm mkterm.o tabuser.o
>>|mkterm.o(mkterm.c) : fatal error: mkterm.o : segment defined both 16- & 32-bit
>>|
>>| pos: 79 Record type: 98
>>|*** Error code 2
>>|
>>|Stop.
>>
>>Since the mkterm.o file is supplied with SCO Xenix (without source) there's
>>not much I can do about it.  Anybody else ever run into this or have any
>>clues as to what the problem and/or solution is?
>
>Yup. I've seen it too, and got pretty frustrated.
>
>I was going to try to contact SCO about it, but I think I moved on to
>other things and forgot about it.
>
If you add the line

CFLAGS	= -M0e

To the makefile in the /usr/lib/term directory everything will work fine.

Steve
-- 
Steve.Bleazard@RoboBar.Co.Uk        | Phone:  +44 81 991 1142 x153
Snr Software Engineer, Robobar Ltd. | Fax:    +44 81 998 8343 (G3)
22 Wadsworth Road, Perivale.        |
Middx., UB6 7JD ENGLAND.            | ...!ukc!robobar!steve