From owner-freebsd-current Fri Sep 25 15:58:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA01132 for freebsd-current-outgoing; Fri, 25 Sep 1998 15:58:34 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA01124 for ; Fri, 25 Sep 1998 15:58:25 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id PAA08715; Fri, 25 Sep 1998 15:58:18 -0700 (PDT) (envelope-from jdp) Message-Id: <199809252258.PAA08715@austin.polstra.com> To: shimon@simon-shapiro.org Subject: Re: ELF Build Problem? In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Cc: current@FreeBSD.ORG Date: Fri, 25 Sep 1998 15:58:17 -0700 From: John Polstra Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Simon Shapiro wrote: > In the last couple of days: > > cc -O -pipe -DLKM -DCOMPAT_LINUX -DKERNEL -DACTUALLY_LKM_NOT_KERNEL > -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wuninitialized -Wformat -fformat-extensions -ansi -nostdinc -I- > -I/usr/obj/elf/usr/src/3.0/src/lkm/linux > -I/usr/obj/elf/usr/src/3.0/src/lkm/linux/@ > -I/usr/obj/elf/usr/src/3.0/src/tmp/usr/include -aout -aout -static -o > linux_genassym linux_genassym.o > /usr/obj/elf/usr/src/3.0/src/tmp/usr/libexec/aout/ld: > /usr/obj/elf/usr/src/3.0/src/tmp/usr/lib/libc.a(): bad magic > *** Error code 1 > > What am I doing wrong? Nothing, I think. It's really broken. I suspect it's caused by this: sos 1998/09/25 01:58:50 PDT Modified files: . Makefile.inc1 Log: Build the LKM's both on aout & ELF systems. Reviewed by: jkh Revision Changes Path 1.21 +3 -3 src/Makefile.inc1 I've reported it to sos and jkh. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message