Date: Sun, 23 Jun 1996 10:34:27 +0200 (MET DST) From: grog@lemis.de (Greg Lehey) To: uh@NU.cs.fsu.edu Cc: FreeBSD-current@FreeBSD.ORG (FreeBSD current users) Subject: Re: make fails Message-ID: <199606230834.KAA07187@allegro.lemis.de> In-Reply-To: <199606230423.EAA28687@cs.fsu.edu> from "uh@NU.cs.fsu.edu" at Jun 23, 96 00:23:26 am
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606230834.KAA07187>