🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Igor Tsives Fri, 17 Oct 1997 00:00
Compilation Error for INN 1.7 on Solaris 2.5.1
#22467
Author: Igor Tsives
Date: Fri, 17 Oct 1997 00:00
28 lines
1446 bytes
I get the folowing compilation error on Solaris 2.5.1.
I am compiling with Sun C compiler.

Can anybody help me resolve this problem?

---------------------------------------------------
cd lib ; make  install ; cd ..
make[1]: Entering directory `/users/igor/dnld/inn-1.7/lib'
ar r libinn.a  checkart.o cleanfrom.o clientactive.o clientlib.o
closeonexec.o dbz.o defdist.o findheader.o genid.o getconfig.o getdtab.o
getfqdn.o getmodaddr.o gettime.o inndcomm.o innvers.o localopen.o
lockfile.o nonblocking.o parsedate.o perl.o qio.o radix32.o readin.o
remopen.o resource.o sendarticle.o sendpass.o tempname.o waitnb.o
wildmat.o xfopena.o xmalloc.o xmemerr.o xrealloc.o xwrite.o xwritev.o
ar: libinn.a not in archive format
make[1]: *** [libinn.a] Error 1
make[1]: Leaving directory `/users/igor/dnld/inn-1.7/lib'
make: *** [all] Error 1
[surya] 2:49pm [264]:inn-1.7> 


-- 
Igor Tsives
415.508.5490
igor@ncube.com

Re: Compilation Error for INN 1.7 on Solaris 2.5.1
#22488
Author: Andrew
Date: Sat, 18 Oct 1997 00:00
18 lines
1156 bytes
Igor Tsives <igor@ncube.com> wrote:
> ar: libinn.a not in archive format
> make[1]: *** [libinn.a] Error 1

Looks like you to run run ranlib on the library before linking with it.
Find these lines in your config.data:
  #### =()<RANLIB                 @<RANLIB>@>()=  
  RANLIB                  echo

Change echo to ranlib and give it a shot.

-- 
Andrew O. Smith - aos@insync.net    | "Reality is that which, when you stop
Sysadmin, Insync Internet Services  |  believing in it, doesn't go away."
BOFH, Wielder of the sacred LART    |           -- Philip K. Dick

Re: Compilation Error for INN 1.7 on Solaris 2.5.1
#22496
Author: Per Hedeland
Date: Sun, 19 Oct 1997 00:00
28 lines
1567 bytes
In article <628v9i$6r4$1@synthemesc.insync.net> Andrew <aos@insync.net> writes:
>Igor Tsives <igor@ncube.com> wrote:
>> ar: libinn.a not in archive format
>> make[1]: *** [libinn.a] Error 1
>
>Looks like you to run run ranlib on the library before linking with it.
>Find these lines in your config.data:
>  #### =()<RANLIB                 @<RANLIB>@>()=  
>  RANLIB                  echo
>
>Change echo to ranlib and give it a shot.

Interesting suggestion, given that a) the error is not produced when
linking but when *building* the library with ar (not much point doing
ranlib before that), and b) ranlib on Solaris 2.5.1 is a shell script
with the single executable line:

exit 0

I don't know what the problem is, but my guess would be some garbage
libinn.a left over e.g. from a previous build on another system - try a
'make clean'...

--Per Hedeland
per@erix.ericsson.se

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads