阅读:1157回复:1
Warning and error on Solaris 8
Hello, everyone, I got a problem when I want to build a driver on a sparc 64-bit kernel . The OS is Solaris 8.
I got the following message. cc -O -I. -D_KERNEL -xarch=v9 -xregs=no%appl -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 -D__sparcv9cpu -DSYSACCT -DC2_AUDIT -c -o /obj64/driver_lyr.o driver_lyr.c cc -O -I. -D_KERNEL -xarch=v9 -xregs=no%appl -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 -D__sparcv9cpu -DSYSACCT -DC2_AUDIT -c -o /obj64/hsed.o hsed.c ld -r -o /obj64/hsed /obj64/driver_lyr.o /obj64/hsed.o ld: warning: sparc:v9 architecture of input file `/obj64/driver_lyr.o\' is incompatible with sparc output ld: warning: sparc:v9 architecture of input file `/obj64/hsed.o\' is incompatible with sparc output ld: bfd assertion fail elflink.h:2483 ld: final link failed: Bad value make: *** [/obj64/hsed] Error 1 I am just wondering what is the \"sparc:v9 architecture of input file `/obj64/driver_lyr.o\' is incompatible with sparc output\". What is this problem? Why this problem appeared? The cc compiler has compiled the files successfully. Thank you very much. |
|
沙发#
发布于:2002-05-05 21:52
你的SPARC机器上的C编译器和连接器ld是什么类型,什么版本的?
|
|