- 论坛徽章:
- 0
|
大家好!\r\n 最近要用到libjs*的库,准备在solaris10 x86下编译JS\r\n 结果,在solaris10 x86下编译的时候,运行make -f Makefile.ref 发现它的src/config下面没有针对solaris10 x86的*.mk,因为我的系统下按装的编译器为gcc,所以就cp Linux_all.mk SunOS5.10_i86pc 然后再来编译,结果在as lock_SunOS.o……的时候出现错误\r\n 之后,又把config里面的SunOS5.9 cp 了一份命名为SunOS5.10_i86pc 进行编译 还是在\r\n as lock_SunOS.o……的时候出现错误\r\n\r\n如果大家有编译JS的经历,请提示我一些解决方法!非常感谢你的阅读和回帖!! \r\n\r\n贴出error提示:\r\nusr/ccs/bin/as -o SunOS5.8_i86pc_DBG.OBJ/lock_SunOS.o -P -L -K PIC -D_ASM -D__STDC__=0 lock_SunOS.s \r\nAssembler: \r\n\"lock_SunOS.s\", line 1 : Syntax error \r\n\"lock_SunOS.s\", line 2 : Syntax error \r\n\"lock_SunOS.s\", line 2 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 2 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 2 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 2 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 2 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 2 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 2 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 2 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 2 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 2 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 2 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 3 : Syntax error \r\n\"lock_SunOS.s\", line 3 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 3 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 3 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 3 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 3 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 3 : Syntax error \r\n\"lock_SunOS.s\", line 3 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 4 : Syntax error \r\n\"lock_SunOS.s\", line 4 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 5 : Syntax error \r\n\"lock_SunOS.s\", line 5 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 5 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 5 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 6 : Syntax error \r\n\"lock_SunOS.s\", line 7 : Syntax error \r\n\"lock_SunOS.s\", line 7 : Illegal mnemonic \r\n\"lock_SunOS.s\", line 7 : Illegal mnemonic \r\nToo many errors - Goodbye \r\nmake[1]: *** [SunOS5.10_i86pc_DBG.OBJ/lock_SunOS.o] Error 127 \r\nmake[1]: Leaving directory `/export/home/tools/js/src/\' \r\nmake: *** [all] Error 2\n\n[ 本帖最后由 lssapple 于 2006-11-22 13:46 编辑 ] |
|