From: ams AT ludd DOT luth DOT se (Martin Str|mberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: create library Date: 17 Jan 1999 13:10:23 GMT Organization: University of Lulea, Sweden Lines: 19 Message-ID: <77snfv$hrg$1@news.luth.se> References: <36A139A0 DOT EAB5F52A AT ctonline DOT it> NNTP-Posting-Host: queeg.ludd.luth.se X-Newsreader: TIN [UNIX 1.3 950824BETA PL0] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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. Osibisa, Uhuru, MartinS