Problem in mozilla libraries

Dear all,

My question is slightly irrelevant since it includes mozilla development rather than usage.

I just build firefox on a linux machine, now i have switched to solaris. the problems that i am having is that archive libraries having the extensions *.a are not being built. examples of such libraries are

libnspr4.a

libxpt.a

libplc4.a , etc

can anyone have any idea what can i do?there is no clue for such files in the code, can anyone explain what is an archive librar? or can i find such pre compiled libraries so i can just copy them.

regards

Kimi

[609 byte] By [Kimi_Rex] at [2007-11-26 5:56:00]
# 1

did you got .so libraries instead? By default Solaris tries to build all libraries as shared ones, with the extention .so, rather than the non-shared archive files (the .a ones).

The .a files can't be linked in dynamicly at run time, instead they have to be compiled into the executable, and Solaris prefers to have the libraries dynamicly linkable..

//Magnus

mAbrante at 2007-7-6 13:11:14 > top of Java-index,Desktop,Mozilla Browser For Solaris...
# 2

Well Magnus,

i am going for a shared build, rather than a static build, the .so files are created but yet .a files are also needed. any idea how they are created. i am using gmake and gcc for the build, do i lack any utility that enables the creation of these libraries?. I hope you can discuss more on it. still thanks.

Kimi

Kimi_Rex at 2007-7-6 13:11:14 > top of Java-index,Desktop,Mozilla Browser For Solaris...
# 3

Just to tell that my problem is solved:)

the problem was due to the absence of the assembler (as) and the archiver(ar) which are used to compile the archive libraries. they used to exist in my solaris system and i just added the path to the PATH environment variable

reagards

Kimi

Kimi_Rex at 2007-7-6 13:11:14 > top of Java-index,Desktop,Mozilla Browser For Solaris...
# 4
Hello,I read your problem on compiling firefox on Solaris and I was wondering if you could provide me more information on the assembler and archiver piece? As you guessed I am trying tto compile firefox on Solaris-9 and have run into the exact same problem.thanksDan
sanvilled at 2007-7-6 13:11:14 > top of Java-index,Desktop,Mozilla Browser For Solaris...