Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!daver!genco!dls From: dls@genco.bungi.com (Dave L. Smith) Newsgroups: comp.os.minix Subject: Re: something's broke -> 1.5 libc.a & ls.c Message-ID: <664@genco.bungi.com> Date: 5 May 91 13:55:51 GMT References: <9943@plains.NoDak.edu> Reply-To: dls@genco.bungi.com (Dave L. Smith) Organization: Gentry & Assoc. Excelsior Springs, MO Lines: 11 I had the same problem, and I'm sure many others have too. The problem (I am told) is a bug in the C compiler. When you have static variables inside a function (they may have to be structs, I'm not sure), you will get _XX multiply defined. The easiest fix is to edit ls.c and move the static declarations out of the functions. I did this and got it to compile, but now I have core dumps whenever I do a 'ls -l'. If you get it to work, I'd like to hear about it. Anyone else got ls to work? Thanks Dave Smith