From: Roberto Newsgroups: comp.os.msdos.djgpp Subject: Re: create library Date: Sat, 23 Jan 1999 19:31:46 +0100 Organization: Centro Servizi Interbusiness Lines: 29 Message-ID: <36AA1592.DC30F7EF@ctonline.it> References: <36A139A0 DOT EAB5F52A AT ctonline DOT it> <77snfv$hrg$1 AT news DOT luth DOT se> <36A24AF1 DOT 53F7F146 AT cartsys DOT com> NNTP-Posting-Host: 194.243.71.77 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [it] (Win98; I) X-Accept-Language: it,en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I tried to run ranlib but the message showed is the same. Please Help Nate Eldredge ha scritto: > > Martin Str|mberg wrote: > > > > Roberto (dante AT ctonline DOT it) wrote: > > : My problem is to compile a .c file with my library through RHIDE. > > : My library is created with a .asm file > > : I typed in this way : > > : nasm -f coff sb.asm > > : ar rvs libsb.a sb.o > > : then i copy the libfile in \DJGPP\LIB > > : when i try to compile with RHIDE the compiler show this error : > > : | /djgpp/lib/libsb.a Could not read symbols: Archive has not > > : index; | run ranlib to add one > > : What's wrong ? > > > > I don't know. But you could run ranlib on libsb.a. ranlib is a program > > that adds some index to a .a file. > > Except that using `s' to `ar' has (should have) the same effect. So > some other problem is at work here. > > -- > > Nate Eldredge > nate AT cartsys DOT com