[SunRescue] problem compiling ncurses on SunOS 4.1.1/sun3

Alexander Bochmann ab at infra.de
Wed May 3 09:27:51 CDT 2000


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 

Any ideas?

The same assembler error pops up, when I try to compile the Amanda 
network backup system, by the way...


More information about the rescue mailing list