From owner-freebsd-questions Thu May 24 16:43:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id 281F937B423 for ; Thu, 24 May 2001 16:43:43 -0700 (PDT) (envelope-from rabat@web.de) Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.22 #1) id 1534la-0003DY-00 for freebsd-questions@freebsd.org; Fri, 25 May 2001 01:43:42 +0200 Received: from a07ac.pppool.de ([213.6.7.172] helo=spotteswoode.yi.org) by mx0.freenet.de with asmtp (ID inode@freenet.de) (Exim 3.22 #1) id 1534lZ-0002Fx-00 for freebsd-questions@freebsd.org; Fri, 25 May 2001 01:43:41 +0200 Received: (qmail 17815 invoked by uid 0); 24 May 2001 23:44:01 -0000 Date: Fri, 25 May 2001 01:44:01 +0200 From: clemensF To: freebsd-questions Subject: assembler error on kernel build Message-ID: <20010525014400.J841@spotteswoode.yi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: private X-PGP-ID: 0x214190AF X-Stamper-To: post@stamper.itconsult.co.uk Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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