Date: Fri, 25 May 2001 01:44:01 +0200 From: clemensF <rabat@web.de> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: assembler error on kernel build Message-ID: <20010525014400.J841@spotteswoode.yi.org>
next in thread | raw e-mail | index | archive | help
DSLMFS $ #make -m /usr/src/share/mk depend && make . . cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../dev -I../../../include -I../../contrib/dev/acpica/Subsystem/Include -D_KERNEL -include opt_global.h -elf -fno-builtin -mpreferred-stack-boundary=2 ../../i386/i386/bioscall.s {standard input}: Assembler messages: {standard input}:435: Error: operands given don't match any known 386 instruction {standard input}:503: Error: operands given don't match any known 386 instruction *** Error code 1 i checked the source: it's got to do with something in the included headers, which fail to define some operand correctly. more precisely, the two instructions causing the hickup are these: 453: lcall *bioscall_vector 503: lcallw *bioscall_vector the source itself tells us this: #ifdef __AOUT__ lcall bioscall_vector /* Stupid a.out gas! */ #else lcall *bioscall_vector #endif ..respectively.. #ifdef __AOUT__ lcallw bioscall_vector /* Stupid a.out gas! */ #else lcallw *bioscall_vector /* 16-bit call */ #endif i'm no assembler guru: does the star mean some kind of indirection, so that i cannot just delete it to get the kernel going, or what? clemens fischer ps: please Cc: me, as i'm not on freebsd-questions. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010525014400.J841>