Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 1996 19:08:34 +0000 ()
From:      David Nugent <davidn@sdev.blaze.net.au>
To:        Greg Lehey <grog@lemis.de>
Cc:        Travis Rein <trrein@UCollege.edu>, FreeBSD Questions <questions@freebsd.org>
Subject:   Re: compile error
Message-ID:  <Pine.BSF.3.95.960919190736.3284B-100000@sdev.blaze.net.au>
In-Reply-To: <199609181447.QAA10169@allegro.lemis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Sep 1996, Greg Lehey wrote:

>> cc -static -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -nostdinc -I. -I../.. -I../../sys -I/usr/include -DCH215 -DI486_CPU -DXSERVER -DPCVT_FREEBSD=210 -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUCONSOLE -DBOUNCE_BUFFERS -DSCSI_DELAY=15 -DCOMPAT_43 -DPROCFS -DCD9660 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 -DTIMEZONE=0 -DDST=0 -DMAXUSERS=10 genassym.o -o genassym
>> ld: /usr/lib/libc.a(_rindex): bad magic
>> *** Error code 1

>This has nothing to do with your config file.  Somehow your libc.a has
>got corrupted.  Have you recompiled the library recently?  This is
>usually bad news, because it will stop you from linking just about
>anything.

Only -static links, otherwise libc.so.[...] is used.


David Nugent, Unique Computing Pty Ltd - Melbourne, Australia
Voice +61-3-791-9547 Data/BBS +61-3-792-3507 3:632/348@fidonet
davidn@blaze.net.au http://www.blaze.net.au/~davidn




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.960919190736.3284B-100000>