Subject: Re: Compile prob
To: Jasper Wallace <jasper@ivision.co.uk>
From: Patrick Welche <prlw1@cus.cam.ac.uk>
List: port-arm32
Date: 12/17/1996 18:09:07
> On Tue, 17 Dec 1996, Patrick Welche wrote:
> 
> > I tried the following (no errors at the gcc -c -O stage)
> > 
> > ld -e start -dc -dp /usr/lib/crt0.o -L/usr/libexec abc.o def.o ghi.o klm.o nop.o q.o rs.o tuv.o -lf2c -lm -o gulp
> > collect2: ld returned 1 exit status
> > def.o: could not read symbols: Bad value
> > *** Error code 1
> > 
> > Stop.
> 
> does the def.o file exist?

YES!!! It took ages - first had to do some unlimiting and increasing
of in memory processes. At one stage had a very odd 'run out of
virtual memory' error in /tmp/blabla.s, but it did finally compile
with no errors. (I have 40Mb ram, 30Mb swap...)

> > and I can't find the man page for ld either... How can I fix symbols
> > and where can I find the ld gcc ps make man pages?
> 
> Whats your MANPATH set to? mine is:
> /usr/share/man:/usr/local/man:/usr/X11R6.1/man

I will check, though /etc/man.conf looked reasonable.

> As it comes RiscBSD has incomplete whatis.db files (as used for apropos
> serches, and whatis)... as root do /usr/libexec/makewhatis <pathname to man
> directory> for each man directory e.g.
> 
> /usr/libexec/makewhatis /usr/X11R6.1/man
> 
> This will take a LONG TIME and be fairly processor intensive - however
> whatis and apropos will work properly now.
> 
> the actuall man pages are at:

Thank you - I will look (though find / -name 'make*' -print should
have found /usr/local/man/cat1/gmake.0)

> ps - /usr/share/man/cat1/ps.0
> ld - /usr/share/man/cat1/ld.0
> gcc - /usr/share/man/cat1/gcc.0
> make - /usr/share/man/cat1/make.0
> (gmake - /usr/local/man/cat1/gmake.0)


> will let you read them directly - have a look at /etc/man.conf too (This
> will probably need changing for X)

right...

Did you have RiscBSD 1.1 first and then upgrade to 1.2? I did, but I
deleted everything first - maybe something is missing?

Thanks for the pointers,

 Patrick

(Any other ideas on broken symbols gratefully received!!)