Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3JHU8X18167 for linux-xfs-outgoing; Thu, 19 Apr 2001 10:30:08 -0700 Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3JHU7M18164 for ; Thu, 19 Apr 2001 10:30:07 -0700 Received: from ledzep.americas.sgi.com (ledzep.americas.sgi.com [137.38.226.97]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id KAA18281 for ; Thu, 19 Apr 2001 10:28:48 -0700 (PDT) mail_from (cattelan@thebarn.com) Received: from gibble.americas.sgi.com (gibble.americas.sgi.com [128.162.195.80]) by ledzep.americas.sgi.com (SGI-SGI-8.9.3/americas-smart-nospam1.1) with ESMTP id MAA61237; Thu, 19 Apr 2001 12:28:49 -0500 (CDT) Received: from thebarn.com (localhost [127.0.0.1]) by gibble.americas.sgi.com (8.11.2/8.11.2) with ESMTP id f3JHRnZ17793; Thu, 19 Apr 2001 13:27:49 -0400 Message-ID: <3ADF2013.AD316E75@thebarn.com> Date: Thu, 19 Apr 2001 13:27:47 -0400 From: Russell Cattelan X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.3-XFS i686) X-Accept-Language: en MIME-Version: 1.0 To: "Brian C. Huffman" CC: linux-xfs@oss.sgi.com Subject: Re: [linux-xfs] Problems compiling 2.4.3-xfs References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk "Brian C. Huffman" wrote: > All, > Hmm I don't think the gcc -V egcs-2.91.66 line works on right RH systems. Try editing the Makefile to use kgcc instead. > > I have successfully installed the Redhat 7.1 w/ XFS and everything > works fine (except for the ide-cd thing that's been mentioned before). > However I would like to recompile (b/c some things that I need are missing > in stock). I went out to get the 2.4.3 and have not been able to get it > to compile no matter what I do. Here are my first set of errors: > > ld -m elf_i386 -Ttext 0x0 -s --oformat binary bbootsect.o -o bbootsect > gcc -V egcs-2.91.66 -E -D__KERNEL__ -I/root/linux-2.4-xfs/linux/include > -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA setup.S -o bsetup.s > as -o bsetup.o bsetup.s > bsetup.s: Assembler messages: > bsetup.s:1306: Warning: indirect lcall without `*' > bsetup.s:2113: Error: undefined symbol VIDEO_FIRST_V7 in operation > bsetup.s:2138: Error: undefined symbol VIDEO_RECALC in operation > bsetup.s:2141: Error: undefined symbol VIDEO_FIRST_RESOLUTION in operation > bsetup.s:2144: Error: undefined symbol VIDEO_FIRST_SPECIAL in operation > bsetup.s:2147: Error: undefined symbol VIDEO_FIRST_V7 in operation > bsetup.s:2150: Error: undefined symbol VIDEO_FIRST_VESA in operation > bsetup.s:2165: Error: undefined symbol VIDEO_FIRST_VESA in operation > bsetup.s:2226: Error: undefined symbol VIDEO_FIRST_VESA in operation > bsetup.s:2230: Error: undefined symbol VIDEO_FIRST_VESA in operation > bsetup.s:2244: Error: undefined symbol VIDEO_FIRST_VESA in operation > bsetup.s:2262: Error: undefined symbol VIDEO_RECALC in operation > bsetup.s:2722: Error: undefined symbol VIDEO_FIRST_VESA in operation > bsetup.s:2128: Error: Value of -3840 too large for field of 1 bytes at > 3021 > bsetup.s:2188: Error: Value of -3840 too large for field of 1 bytes at > 3111 > make[1]: *** [bsetup.o] Error 1 > make[1]: Leaving directory `/root/linux-2.4-xfs/linux/arch/i386/boot' > make: *** [bzImage] Error 2 > > then I did 'make mrproper', reconfiged (removing frame buffer support) and > tried again. Now I still get this! > > ld -m elf_i386 -Ttext 0x0 -s --oformat binary bbootsect.o -o bbootsect > gcc -V egcs-2.91.66 -E -D__KERNEL__ -I/root/linux-2.4-xfs/linux/include > -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA setup.S -o bsetup.s > as -o bsetup.o bsetup.s > bsetup.s: Assembler messages: > bsetup.s:1280: Warning: indirect lcall without `*' > ld -m elf_i386 -Ttext 0x0 -s --oformat binary -e begtext -o bsetup > bsetup.o > bsetup.o: In function `start_of_setup': > bsetup.o(.text+0x43e): undefined reference to `SIG1' > bsetup.o(.text+0x446): undefined reference to `SIG2' > bsetup.o: In function `bad_sig': > bsetup.o(.text+0x4c6): undefined reference to `SIG1' > bsetup.o(.text+0x4ce): undefined reference to `SIG2' > bsetup.o: In function `meme820': > bsetup.o(.text+0x528): undefined reference to `E820MAP' > bsetup.o: In function `jmpe820': > bsetup.o(.text+0x532): undefined reference to `SMAP' > bsetup.o(.text+0x544): undefined reference to `SMAP' > bsetup.o: In function `good820': > bsetup.o(.text+0x54e): undefined reference to `E820MAX' > make[1]: *** [bsetup] Error 1 > make[1]: Leaving directory `/root/linux-2.4-xfs/linux/arch/i386/boot' > make: *** [bzImage] Error 2 > > What can I do? > > Thanks in advance, > Brian -- Russell Cattelan -- Digital Elves inc. -- Currently on loan to SGI Linux XFS core developer.