From owner-freebsd-current Sun Jun 23 02:50:45 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA15736 for current-outgoing; Sun, 23 Jun 1996 02:50:45 -0700 (PDT) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id CAA15727 for ; Sun, 23 Jun 1996 02:50:42 -0700 (PDT) Received: from allegro.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0uXloG-000QavC; Sun, 23 Jun 96 11:50 MET DST From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id KAA07187; Sun, 23 Jun 1996 10:34:27 +0200 Message-Id: <199606230834.KAA07187@allegro.lemis.de> Subject: Re: make fails To: uh@NU.cs.fsu.edu Date: Sun, 23 Jun 1996 10:34:27 +0200 (MET DST) Cc: FreeBSD-current@FreeBSD.ORG (FreeBSD current users) In-Reply-To: <199606230423.EAA28687@cs.fsu.edu> from "uh@NU.cs.fsu.edu" at Jun 23, 96 00:23:26 am X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk uh@NU.cs.fsu.edu writes: > > Hi, > > I have sup the current src about 3 days ago. I got following make error:- > Would you give me any clue on this error? > Thanks. > > Regards, > Gang-Ryung Uh (uh@cs.fsu.edu) > > ====================================== > > ===> lib > cc -O -c /usr/src/usr.bin/lex/lib/libmain.c -o libmain.o > ld: invalid command option `-O' > *** Error code 1 Fascinating. For some non-evident reason, cc has decided to invoke the loader instead of the compiler. I can't see any good reason for that, but why not expiriment: change to directory lib, and issue the command manually. In particular, I'd like to see the output of: cc -v -O -c /usr/src/usr.bin/lex/lib/libmain.c -o libmain.o and cc -v -O -c /usr/src/usr.bin/lex/lib/libmain.c The -v option prints out exact information about the passes that cc starts, and the -o libmain.o is superfluous (though I suspect it has something to do with this problem). Greg