Re: [Nautilus-list] Re : problem linking mozilla component



On Mon, 6 Nov 2000, Ramiro Estrugo wrote:

>Both mozilla and nautilus need to be built with the exact same c++
>compiler and the exact same DEBUG flags.
>
>Either both get -DDEBUG or both dont.
>
>I added some voodoo to configure.in to detect that your mozilla was
>build with -DDEBUG and adjust the mozilla component flags accordingly.
>I dunno why that isnt working for you.
>
>-re


mozilla was compiled with :

--enable-optimize, --disable-debug, --enable-strip-libs and
--with-extensions

while nautilus was confgured with '--disable-static'.

Next time I will try different options for mozilla

j.

>Junichi Saito wrote:
>>
>> I recently tried again to build nautilus with mozilla component. This
>> time, instead of using the binary packages of mozilla, I built and
>> installed mozilla M18 from source. Unfortunately, the build of nautilus
>> aborted again at the same place with the same error. The sources are from
>> CVS.
>>
>> Any ideas as to why ?
>>
>> The tools used are gcc 2.95.2 and binutils 2.10 with glibc 2.1.3.
>>
>>  j.
>>
>> The original message follows:
>>
>> Junichi Saito j saito wanadoo fr
>> Sat, 14 Oct 2000 13:37:02 +0200 (CEST)
>>
>>      _________________________________________________________________
>>
>> Hello,
>>
>> I'm having problem building nautilus with mozilla component enabled. The
>> build dies while linking with:
>>
>> e/lib -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lm
>> -L/usr/lib/mozilla -lgtkembedmoz -lgtksuperwin -lxpcom -lnspr4 -lplc4
>> -lplds4 -Wl,--rpath -Wl,/opt/gnome/lib
>>  mozilla-events.o: In function
>> `basic_nsLiteralChar<unsigned short>::Length(void) const':
>> /usr/include/mozilla/nsAReadableString.h(.rodata+0x414): undefined
>> reference to `nsAutoString type_info node'
>> /usr/include/mozilla/nsAReadableString.h(.rodata+0x44c): undefined
>> reference to `nsString type_info
>> node'
>> /usr/include/mozilla/nsAReadableString.h(.rodata+0x4f0): undefined
>> reference to `nsCAutoString type_info node'
>> /usr/include/mozilla/nsAReadableString.h(.rodata+0x510): undefined
>> reference to `nsCString type_info node'
>> collect2: ld returned 1 exit status
>> make[3]: *** [nautilus-mozilla-content-view] Error 1
>>
>> I tried to build nautilus from cvs sources, following the instructions
>> given in nautilus/README.
>>
>> Why dose the build fail ?
>>
>> j.
>>
>> _______________________________________________
>> Nautilus-list mailing list
>> Nautilus-list lists eazel com
>> http://www.eazel.com/mailman/listinfo/nautilus-list
>







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]