[SunRescue] problem compiling ncurses on SunOS 4.1.1/sun3

Sam Creasey sammy at oh.verio.com
Wed May 3 12:51:56 CDT 2000


On Wed, 3 May 2000, Alexander Bochmann wrote:

> Hi,
> 
> for quite a time, I have now been trying to compile the GNU 
> ncurses on a sun3 running SunOS 4.1.1_U1...
> 
> I have been trying with various configurations; different gcc 
> versions (2.8.1 and 2.95.2), different binutils (2.8.1 and 
> 2.9.1), and different versions of the ncurses lib (1.9.9g, 
> 4.0 and 5.0), and it always breaks with a similar message:
> 
> cd ../obj_s; gcc -I../ncurses -I.  -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -DHAVE_CONFIG_H -DTERMINFO=\"/usr/local/share/terminfo\" -O2  -D_REENTRANT -fpic -c ../ncurses/./tinfo/comp_scan.c
> /usr/tmp/cci4Rul2.s: Assembler messages:
> /usr/tmp/cci4Rul2.s:584: Error: operands mismatch -- statement `jbsr __nc_get_token,a1' ignored
> make[1]: *** [../obj_s/comp_scan.o] Error 1
> 
> Does gcc create incorrect assembler code here or do I have another 
> problem?
> 
> Any ideas?

Personally, I do all my builds with gcc 2.7.2.3 on my sun3...  And I know
for a fact that it generates proper code for GNU ncurses (though that was
a linux-sun3 target).

-- Sam

"UN-altered REPRODUCTION and DISSEMINATION of this IMPORTANT
Information is ENCOURAGED, ESPECIALLY to COMPUTER BULLETIN BOARDS."
	-- Robert E. McElwaine









More information about the rescue mailing list